1995-04-12 20:26:23 +00:00
|
|
|
# New ports collection makefile for: XFree86
|
1995-09-16 01:32:53 +00:00
|
|
|
# Version required: 3.1.2
|
1995-04-12 20:26:23 +00:00
|
|
|
# Date created: 5 January 1995
|
|
|
|
# Whom: jmz
|
|
|
|
#
|
1996-01-16 14:08:19 +00:00
|
|
|
# $Id: Makefile,v 1.15 1995/10/06 22:11:25 asami Exp $
|
1995-04-12 20:26:23 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
#######################################################################
|
|
|
|
# #
|
|
|
|
# Configurable Section #
|
|
|
|
# #
|
|
|
|
#######################################################################
|
|
|
|
#
|
1995-05-17 13:07:28 +00:00
|
|
|
# uncomment one of the 2 lines below!
|
1995-03-23 21:20:44 +00:00
|
|
|
#(X-Consortium CDROM, O'Reilly 'X-Companion' CDROM, or X by FTP (_*BIG*_)
|
1995-05-17 13:07:28 +00:00
|
|
|
#X11_ON_CDROM = yes
|
1995-03-23 21:20:44 +00:00
|
|
|
#X11_VIA_FTP = yes
|
1995-01-05 03:51:15 +00:00
|
|
|
|
1995-02-17 01:23:44 +00:00
|
|
|
#if you are compiling from a cdrom, set the directory where the
|
|
|
|
# the patch files are
|
1996-01-16 14:08:19 +00:00
|
|
|
X11FIXES = ${DISTDIR}/xc
|
1995-02-17 01:23:44 +00:00
|
|
|
|
1995-01-05 03:51:15 +00:00
|
|
|
#define this if you are short of space - save ~28 Mbytes
|
|
|
|
#REMOVE_NOT_ESSENTIAL = yes
|
|
|
|
|
1995-05-13 05:42:15 +00:00
|
|
|
# Define FORCE_PACKAGE from the command line if you want to override
|
|
|
|
# this and build a package
|
|
|
|
NO_PACKAGE = yes
|
1995-02-17 01:23:44 +00:00
|
|
|
#######################################################################
|
|
|
|
DISTNAME = xc
|
1995-09-16 01:32:53 +00:00
|
|
|
PKGNAME = XFree86-3.1.2
|
1995-10-06 22:11:25 +00:00
|
|
|
CATEGORIES = x11
|
1995-02-17 01:23:44 +00:00
|
|
|
IS_INTERACTIVE= yes
|
1995-04-22 22:39:30 +00:00
|
|
|
|
1995-04-13 15:22:11 +00:00
|
|
|
MAINTAINER= jmz@FreeBSD.ORG
|
1995-01-05 03:51:15 +00:00
|
|
|
|
|
|
|
.if defined(X11_ON_CDROM) || defined(X11_VIA_FTP)
|
1995-02-17 01:23:44 +00:00
|
|
|
|
1995-06-17 01:29:06 +00:00
|
|
|
DISTFILES= # to prevent checksum
|
1995-04-22 22:39:30 +00:00
|
|
|
do-build:
|
1995-01-05 03:51:15 +00:00
|
|
|
.if defined(REMOVE_NOT_ESSENTIAL)
|
|
|
|
@rm -rf ${WRKSRC}/test ${WRKSRC}/doc/hardcopy ${WRKSRC}/doc/specs
|
|
|
|
@find ${WRKSRC}/ -name '*.orig' -exec rm -f {} ';'
|
|
|
|
.endif
|
|
|
|
@(cd ${WRKSRC}; echo Good night...; make World)
|
|
|
|
@touch ${WRKDIR}/.build_done
|
|
|
|
|
1995-04-26 14:45:15 +00:00
|
|
|
do-install:
|
1995-01-05 03:51:15 +00:00
|
|
|
@(cd ${WRKSRC}; make install; make install.man)
|
|
|
|
@touch ${WRKDIR}/.install_done
|
1995-02-17 01:23:44 +00:00
|
|
|
.if defined(X11_ON_CDROM)
|
|
|
|
@find /usr/X11R6/ -name 00_TRANS.TBL -exec rm -f {} ';'
|
|
|
|
.endif
|
1995-01-05 03:51:15 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(X11_ON_CDROM)
|
1995-02-17 01:23:44 +00:00
|
|
|
.if !defined (X11FIXES)
|
1995-04-22 22:39:30 +00:00
|
|
|
do-configure:
|
1995-02-17 01:23:44 +00:00
|
|
|
@echo Edit the makefile and set X11FIXES !!!!
|
|
|
|
@exit 1;
|
|
|
|
.endif
|
1995-04-22 22:39:30 +00:00
|
|
|
do-fetch:
|
1995-02-17 01:23:44 +00:00
|
|
|
@echo -n
|
1995-04-22 22:39:30 +00:00
|
|
|
do-extract:
|
1995-02-17 01:23:44 +00:00
|
|
|
@rm -rf ${WRKDIR}
|
|
|
|
@mkdir -p ${WRKDIR}
|
|
|
|
@echo ${X11FIXES} > ${WRKDIR}/.cdrom
|
|
|
|
@${TOUCH} ${TOUCH_FLAGS} ${EXTRACT_COOKIE}
|
|
|
|
|
1995-01-05 03:51:15 +00:00
|
|
|
.elif defined(X11_VIA_FTP)
|
|
|
|
.include "Makefile.ftp"
|
|
|
|
.else
|
1995-04-22 22:39:30 +00:00
|
|
|
do-fetch:
|
1995-05-17 13:07:28 +00:00
|
|
|
@echo Please set one of the 2 variables X11_ON_CDROM or X11_VIA_FTP
|
1995-04-26 14:45:15 +00:00
|
|
|
@echo before building ${PKGNAME}
|
|
|
|
@false
|
1995-04-22 22:39:30 +00:00
|
|
|
do-extract:
|
1995-01-05 03:51:15 +00:00
|
|
|
@echo -n
|
1995-04-22 22:39:30 +00:00
|
|
|
do-configure:
|
1995-01-05 03:51:15 +00:00
|
|
|
@echo -n
|
1995-04-22 22:39:30 +00:00
|
|
|
do-build:
|
1995-05-17 13:07:28 +00:00
|
|
|
@echo Please set one of the 2 variables X11_ON_X_CDROM or X11_VIA_FTP
|
1995-04-26 14:45:15 +00:00
|
|
|
@echo before building ${PKGNAME}
|
|
|
|
@false
|
1995-04-22 22:39:30 +00:00
|
|
|
do-install:
|
1995-01-05 03:51:15 +00:00
|
|
|
@echo -n
|
|
|
|
.endif
|
|
|
|
|
1995-06-24 11:42:32 +00:00
|
|
|
post-install:
|
|
|
|
ldconfig -m ${PREFIX}/lib
|
|
|
|
|
1995-02-17 01:23:44 +00:00
|
|
|
.include <bsd.port.mk>
|
1995-09-16 01:32:53 +00:00
|
|
|
|