1995-01-04 22:51:15 -05:00
|
|
|
# uncomment one of the 2 lines below!
|
|
|
|
#X11_ON_CDROM = yes
|
1995-02-09 19:17:49 -05:00
|
|
|
X11_VIA_FTP = yes
|
1995-01-04 22:51:15 -05:00
|
|
|
|
1995-02-16 20:23:44 -05:00
|
|
|
#if you are compiling from a cdrom, set the directory where the
|
|
|
|
# the patch files are
|
|
|
|
#X11FIXES = /home/X11R6
|
|
|
|
|
1995-01-04 22:51:15 -05:00
|
|
|
#define this if you are short of space - save ~28 Mbytes
|
|
|
|
#REMOVE_NOT_ESSENTIAL = yes
|
|
|
|
|
1995-02-16 20:23:44 -05:00
|
|
|
#######################################################################
|
|
|
|
DISTNAME = xc
|
|
|
|
PKGNAME = XFree86-3.1.1
|
|
|
|
WRKDIR?= ${.CURDIR}/work
|
|
|
|
BUILD_COOKIE?= ${WRKDIR}/.build_done
|
|
|
|
EXTRACT_COOKIE?= ${WRKDIR}/.extract_done
|
|
|
|
IS_INTERACTIVE= yes
|
1995-01-04 22:51:15 -05:00
|
|
|
|
|
|
|
.if defined(X11_ON_CDROM) || defined(X11_VIA_FTP)
|
1995-02-16 20:23:44 -05:00
|
|
|
|
1995-02-09 19:17:49 -05:00
|
|
|
build: configure ${BUILD_COOKIE}
|
|
|
|
|
|
|
|
${BUILD_COOKIE}:
|
|
|
|
@echo "===> Building for ${DISTNAME}"
|
1995-01-04 22:51:15 -05: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
|
|
|
|
|
|
|
|
install:
|
|
|
|
@(cd ${WRKSRC}; make install; make install.man)
|
|
|
|
@touch ${WRKDIR}/.install_done
|
1995-02-16 20:23:44 -05:00
|
|
|
.if defined(X11_ON_CDROM)
|
|
|
|
@find /usr/X11R6/ -name 00_TRANS.TBL -exec rm -f {} ';'
|
|
|
|
.endif
|
1995-01-04 22:51:15 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(X11_ON_CDROM)
|
1995-02-16 20:23:44 -05:00
|
|
|
.if !defined (X11FIXES)
|
|
|
|
configure:
|
|
|
|
@echo Edit the makefile and set X11FIXES !!!!
|
|
|
|
@exit 1;
|
|
|
|
.endif
|
|
|
|
fetch:
|
|
|
|
@echo -n
|
|
|
|
${EXTRACT_COOKIE}:
|
|
|
|
@rm -rf ${WRKDIR}
|
|
|
|
@mkdir -p ${WRKDIR}
|
|
|
|
@echo ${X11FIXES} > ${WRKDIR}/.cdrom
|
|
|
|
@${TOUCH} ${TOUCH_FLAGS} ${EXTRACT_COOKIE}
|
|
|
|
|
1995-01-04 22:51:15 -05:00
|
|
|
.elif defined(X11_VIA_FTP)
|
|
|
|
.include "Makefile.ftp"
|
|
|
|
.else
|
|
|
|
all:
|
|
|
|
@echo -n
|
|
|
|
fetch:
|
|
|
|
@echo -n
|
|
|
|
extract:
|
|
|
|
@echo -n
|
|
|
|
configure:
|
|
|
|
@echo -n
|
|
|
|
build:
|
|
|
|
@echo -n
|
|
|
|
install:
|
|
|
|
@echo -n
|
|
|
|
.endif
|
|
|
|
|
1995-02-16 20:23:44 -05:00
|
|
|
.include <bsd.port.mk>
|