# New ports collection makefile for:	XDarwin
# Date created:							17 mar 2003
# Whom:									yves@gnu-darwin.org
#

PORTNAME=		XDarwin
PORTVERSION=	4.3.0
CATEGORIES=		x11

DISTFILES=		X${PORTVERSION:S/.//g}.tar.bz2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=gnu-darwin/}
USE_BZIP2=		yes

MAINTAINER=		yves@gnu-darwin.org

HOMEPAGE=		http://www.xfree86.org/
COMMENT=		XFree86 complete implementation of X11R6.6

DIST_SUBDIR=	xc
WRKSRC=			${WRKDIR}/xc

XFREE86_VERSION=	4
USE_X_PREFIX=		yes
NO_CONFIGURE=		yes
ALL_TARGET=			World
INSTALLS_SHLIB=		yes
INSTALL_TARGET=		install install.man

post-patch:
	mv ${WRKSRC}/programs/Xserver/hw/darwin/darwinClut8.h ${WRKSRC}/programs/Xserver/hw/darwin/darwinClut8.h.orig
	cp -f ${FILESDIR}/darwinClut8.h ${WRKSRC}/programs/Xserver/hw/darwin

.include "${FILESDIR}/manpages"
.include <bsd.port.mk>
