1995-04-12 20:26:23 +00:00
|
|
|
# New ports collection makefile for: XFree86
|
|
|
|
# Date created: 5 January 1995
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1999-08-31 02:51:23 +00:00
|
|
|
# $FreeBSD$
|
1995-04-12 20:26:23 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 19:19:05 +00:00
|
|
|
PORTNAME= XFree86
|
|
|
|
PORTVERSION= 3.3.6
|
2000-12-12 22:38:58 +00:00
|
|
|
PORTREVISION= 6
|
1996-11-09 02:08:56 +00:00
|
|
|
CATEGORIES= x11
|
2000-09-21 08:36:28 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XFREE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTVERSION}
|
2000-01-12 03:44:15 +00:00
|
|
|
DISTFILES= X336src-1.tgz X336src-2.tgz
|
1998-05-05 21:47:31 +00:00
|
|
|
|
2000-02-10 15:51:05 +00:00
|
|
|
PATCH_SITES= ftp://ftp.xfree.org/pub/XFree86/3.3.6/fixes/ \
|
2000-03-13 08:29:51 +00:00
|
|
|
ftp://ftp.freesoftware.com/pub/XFree86/3.3.6/fixes/ \
|
2000-02-10 15:51:05 +00:00
|
|
|
ftp://ftp.lip6.fr/pub/X11/XFree86/XFree86-3.3.6/fixes/ \
|
|
|
|
ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/3.3.6/fixes/ \
|
|
|
|
ftp://sunsite.doc.ic.ac.uk/packages/XFree86/3.3.6/fixes/
|
2000-10-10 10:40:08 +00:00
|
|
|
PATCHFILES= fix-01-r128 fix-04-s3trio3d2x fix-05-s3trio3d fix-06-s3trio3d2x\
|
|
|
|
fix-07-s3trio64v2gx+netfinity fix-08-s3savage_ix+mx
|
2000-02-10 15:51:05 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= jmz@FreeBSD.org
|
1995-01-05 03:51:15 +00:00
|
|
|
|
2000-04-16 03:30:37 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DIST_SUBDIR}
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
1999-11-12 22:09:06 +00:00
|
|
|
.if (${MACHINE} != "alpha")
|
1999-12-24 16:42:18 +00:00
|
|
|
#NO_PACKAGE= package available from XFree86
|
1999-11-12 22:09:06 +00:00
|
|
|
.endif
|
1996-11-09 02:08:56 +00:00
|
|
|
ALL_TARGET= World
|
|
|
|
INSTALL_TARGET= install install.man
|
|
|
|
DIST_SUBDIR= xc
|
2000-10-10 10:40:08 +00:00
|
|
|
PATCH_DIST_ARGS=-p2 -E -d ${WRKDIR}/xc/programs --quiet
|
1999-07-20 23:42:31 +00:00
|
|
|
SCRIPTS_ENV= OSVERSION=${OSVERSION}
|
1998-08-05 09:31:52 +00:00
|
|
|
# can't use USE_X_PREFIX here -- it will cause a circular dependency
|
|
|
|
PREFIX= ${X11BASE}
|
|
|
|
MTREE_FILE= /etc/mtree/BSD.x11.dist
|
1998-10-27 04:12:44 +00:00
|
|
|
.if (${MACHINE} == "pc98")
|
|
|
|
SCRIPTS_ENV+= MACHINE=pc98
|
2000-10-08 06:35:13 +00:00
|
|
|
PLIST= ${PKGDIR}/pkg-plist.pc98
|
1998-10-27 04:12:44 +00:00
|
|
|
.endif
|
1999-07-27 14:27:34 +00:00
|
|
|
.if (${MACHINE} == "alpha")
|
|
|
|
SCRIPTS_ENV+= MACHINE=alpha
|
2000-10-08 06:35:13 +00:00
|
|
|
PLIST= ${PKGDIR}/pkg-plist.alpha
|
1999-07-27 14:27:34 +00:00
|
|
|
.endif
|
1995-01-05 03:51:15 +00:00
|
|
|
|
1998-03-19 14:57:20 +00:00
|
|
|
.if defined(XDM_DES) && (${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO)
|
|
|
|
pre-fetch:
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} You must set variable USA_RESIDENT to YES or NO.
|
1999-08-23 04:23:59 +00:00
|
|
|
@${FALSE}
|
1998-03-19 14:57:20 +00:00
|
|
|
.elif defined(USA_RESIDENT)
|
|
|
|
.if ${USA_RESIDENT} == NO
|
|
|
|
pre-fetch:
|
|
|
|
MASTER_SITES+= ftp://psych.psy.uq.oz.au/pub/X11R5/ \
|
|
|
|
ftp://ftp.internat.freebsd.org/pub/FreeBSD/X11-Crypto/ \
|
|
|
|
ftp://ftp3.za.freebsd.org/pub/FreeBSD/X11-Crypto/
|
2000-01-12 03:44:15 +00:00
|
|
|
EXTRACT_ONLY= X336src-1.tgz X336src-2.tgz
|
1998-03-19 14:57:20 +00:00
|
|
|
DISTFILES+= Wraphelp.c
|
|
|
|
IGNOREFILES= Wraphelp.c
|
|
|
|
.endif
|
|
|
|
.if ${USA_RESIDENT} == YES
|
|
|
|
pre-fetch:
|
|
|
|
@${ECHO}
|
|
|
|
@${ECHO} Assuming that you have fetched a USA-Legal Wraphelp.c.
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2000-06-09 06:25:17 +00:00
|
|
|
post-extract:
|
|
|
|
@${MV} ${WRKSRC}/programs/Xserver/hw/xfree86/vga256/drivers/i810/os-support/linux/agpgart.h ${WRKSRC}/programs/Xserver/hw/xfree86/vga256/drivers/i810/
|
2000-07-31 12:30:45 +00:00
|
|
|
@if [ -r ${FILESDIR}/config ]; then \
|
|
|
|
${ECHO} Using your existing ${FILESDIR}/config ; \
|
|
|
|
${CP} ${FILESDIR}/config ${WRKDIR}/config ; \
|
|
|
|
fi
|
2000-06-09 06:25:17 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2000-07-31 12:30:45 +00:00
|
|
|
.if !exists(${FILESDIR}/config)
|
|
|
|
IS_INTERACTIVE= yes # configure script asks questions
|
|
|
|
.endif
|
|
|
|
|
1997-08-23 16:35:32 +00:00
|
|
|
pre-install:
|
1998-11-14 09:43:39 +00:00
|
|
|
${MKDIR} ${X11BASE}
|
|
|
|
|
1995-06-24 11:42:32 +00:00
|
|
|
post-install:
|
1998-11-14 09:43:39 +00:00
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
2000-01-13 14:14:25 +00:00
|
|
|
.for lib in PEX5 SM XIE Xi Xmu Xt oldX XThrStub
|
1998-11-14 09:43:39 +00:00
|
|
|
${LN} -sf lib${lib}.so.6.0 ${PREFIX}/lib/lib${lib}.so
|
|
|
|
.endfor
|
|
|
|
.for lib in X11 Xaw Xtst
|
|
|
|
${LN} -sf lib${lib}.so.6.1 ${PREFIX}/lib/lib${lib}.so
|
|
|
|
.endfor
|
|
|
|
.for lib in Xp
|
|
|
|
${LN} -sf lib${lib}.so.6.2 ${PREFIX}/lib/lib${lib}.so
|
|
|
|
.endfor
|
|
|
|
.for lib in ICE Xext
|
|
|
|
${LN} -sf lib${lib}.so.6.3 ${PREFIX}/lib/lib${lib}.so
|
|
|
|
.endfor
|
|
|
|
.endif
|
1995-06-24 11:42:32 +00:00
|
|
|
|
1998-11-14 09:43:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|