freebsd-ports/x11/XFree86-4-documents/Makefile
Will Andrews 92becb4baf XFree86 4.2.0 Stage 2: XFree86-4-* miniport upgrades
[1] Upgrade to 4.2.0.
	[2] Allow Wraphelp.c to be fetched by default, set HasXdmAuth=YES
	    by default.

Submitted by:	[1] sf, taguchi@tohoku.iij.ad.jp
Approved by:	[2] core
2002-03-16 23:40:19 +00:00

47 lines
1.4 KiB
Makefile

# New ports collection makefile for: XFree86-documents
# Date created: 10 Oct 1999
# Whom: taguchi@tohoku.iij.ad.jp
#
# $FreeBSD$
#
PORTNAME= documents
PORTVERSION= 4.2.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR= ${PORTVERSION}
PKGNAMEPREFIX= XFree86-
DISTFILES= X${PORTVERSION:S/.//g}src-1.tgz X${PORTVERSION:S/.//g}src-2.tgz X${PORTVERSION:S/.//g}src-3.tgz
EXTRACT_ONLY= X${PORTVERSION:S/.//g}src-2.tgz X${PORTVERSION:S/.//g}src-3.tgz
MAINTAINER= taguchi@tohoku.iij.ad.jp
XFREE86_VERSION= 4
USE_IMAKE= YES
PROJECTROOT= -DProjectRoot=${PREFIX}
DIST_SUBDIR= xc
WRKSRC= ${WRKDIR}/xc/doc
DEFFILE= ${PREFIX}/lib/X11/config/FreeBSD.ports.def
INSTALL_TARGET= install install.man
post-extract:
(cd ${WRKDIR} && \
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
${DISTDIR}/${DIST_SUBDIR}/X${PORTVERSION:S/.//g}src-1.tgz \
${EXTRACT_AFTER_ARGS} xc/doc)
do-configure:
(cd ${WRKSRC} ; \
${ECHO_CMD} "#define BuildMiscDocs YES" > host.def ; \
${ECHO_CMD} "#define BuildSpecsDocs YES" >> host.def ; \
${ECHO_CMD} "#define BuildLinuxDocPS NO" >> host.def ; \
${ECHO_CMD} "#define InstallHardcopyDocs YES" >> host.def ; \
${ECHO_CMD} "#define FreeBSDBuildXdoc YES" >> host.def ; \
imake -DUseInstalled ${PROJECTROOT} -I. -I${PREFIX}/lib/X11/config \
-DTOPDIR=.. -DCURDIR=.; \
${MAKE} Makefiles ; \
${MAKE} includes ; \
${MAKE} depend)
.include <bsd.port.mk>