1995-04-12 16:26:23 -04:00
|
|
|
# New ports collection makefile for: XFree86
|
1998-11-23 16:52:21 -05:00
|
|
|
# Version required: 3.3.3
|
1995-04-12 16:26:23 -04:00
|
|
|
# Date created: 5 January 1995
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1999-03-19 17:35:28 -05:00
|
|
|
# $Id: Makefile,v 1.53 1999/03/08 07:28:35 asami Exp $
|
1995-04-12 16:26:23 -04:00
|
|
|
#
|
|
|
|
|
1996-11-08 21:08:56 -05:00
|
|
|
DISTNAME= xc
|
1999-01-11 14:07:21 -05:00
|
|
|
PKGNAME= XFree86-3.3.3.1
|
1996-11-08 21:08:56 -05:00
|
|
|
CATEGORIES= x11
|
1998-11-23 16:52:21 -05:00
|
|
|
MASTER_SITES= ftp://ftp.xfree86.org/pub/XFree86/3.3.3/source/ \
|
|
|
|
ftp://xfree86.cdrom.com/pub/XFree86/3.3.3/source/ \
|
1999-01-27 13:32:15 -05:00
|
|
|
ftp://ftp.lip6.fr/pub/X11/XFree86/XFree86-3.3.3/source/ \
|
|
|
|
ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/3.3.3/source/ \
|
1998-11-23 16:52:21 -05:00
|
|
|
ftp://sunsite.doc.ic.ac.uk/packages/XFree86/3.3.3/source/
|
|
|
|
DISTFILES= X333src-1.tgz X333src-2.tgz
|
1998-05-05 17:47:31 -04:00
|
|
|
|
1999-01-11 14:07:21 -05:00
|
|
|
PATCH_SITES= ftp://ftp.xfree86.org/pub/XFree86/3.3.3.1/fixes/ \
|
|
|
|
ftp://xfree86.cdrom.com/pub/XFree86/3.3.3.1/fixes/ \
|
1999-01-27 13:32:15 -05:00
|
|
|
ftp://ftp.lip6.fr/pub/X11/XFree86/XFree86-3.3.3.1/fixes/ \
|
|
|
|
ftp://ftp.cs.tu-berlin.de/pub/X11/XFree86/3.3.3.1/fixes/ \
|
1999-01-11 14:07:21 -05:00
|
|
|
ftp://sunsite.doc.ic.ac.uk/packages/XFree86/3.3.3.1/fixes/
|
|
|
|
PATCHFILES= 3.3.3-3.3.3.1.diff.gz
|
|
|
|
|
1996-11-08 21:08:56 -05:00
|
|
|
MAINTAINER= jmz@FreeBSD.ORG
|
1995-01-04 22:51:15 -05:00
|
|
|
|
1996-11-08 21:08:56 -05:00
|
|
|
IS_INTERACTIVE= yes # configure script asks questions
|
1997-12-04 05:52:50 -05:00
|
|
|
NO_PACKAGE= package available from XFree86
|
1996-11-08 21:08:56 -05:00
|
|
|
ALL_TARGET= World
|
|
|
|
INSTALL_TARGET= install install.man
|
|
|
|
DIST_SUBDIR= xc
|
1998-05-05 17:47:31 -04:00
|
|
|
PATCH_DIST_ARGS=-p0 -E -d ${WRKDIR} --quiet
|
1998-08-05 05:31:52 -04: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-26 23:12:44 -05:00
|
|
|
.if (${MACHINE} == "pc98")
|
|
|
|
SCRIPTS_ENV+= MACHINE=pc98
|
|
|
|
PLIST= ${PKGDIR}/PLIST.pc98
|
|
|
|
.endif
|
1995-01-04 22:51:15 -05:00
|
|
|
|
1998-03-19 09:57:20 -05: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.
|
|
|
|
@false
|
|
|
|
.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/
|
1998-11-23 16:52:21 -05:00
|
|
|
EXTRACT_ONLY= X333src-1.tgz X333src-2.tgz
|
1998-03-19 09:57:20 -05: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
|
|
|
|
|
1998-11-14 04:43:39 -05:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
1997-08-23 12:35:32 -04:00
|
|
|
pre-install:
|
1998-11-14 04:43:39 -05:00
|
|
|
${MKDIR} ${X11BASE}
|
|
|
|
|
1995-06-24 07:42:32 -04:00
|
|
|
post-install:
|
1998-11-14 04:43:39 -05:00
|
|
|
.if ${PORTOBJFORMAT} == "aout"
|
1998-11-23 20:21:49 -05:00
|
|
|
.for lib in PEX5 SM XIE Xi Xmu Xt oldX
|
1998-11-14 04:43:39 -05: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
|
1998-09-20 20:04:36 -04:00
|
|
|
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
|
1995-06-24 07:42:32 -04:00
|
|
|
|
1998-11-14 04:43:39 -05:00
|
|
|
.include <bsd.port.post.mk>
|