aboutsummaryrefslogtreecommitdiffstats
path: root/x11/XFree86-4-documents/Makefile
blob: 4b2aca1f0e3f26a06f1f84beba989675687e9d3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:    XFree86-4-documents-4.0.1
# Date created:     10 Oct 1999
# Whom:         taguchi@tohoku.iij.ad.jp
#
# $FreeBSD$
#

PORTNAME=   documents
PORTVERSION=    4.0.1
CATEGORIES= x11
MASTER_SITES=   ftp://ftp.xfree86.org/pub/XFree86/${PORTVERSION}/source/ \
        ftp://ftp.freesoftware.com/pub/XFree86/${PORTVERSION}/source/ \
        ftp://ftp.lip6.fr/pub/X11/XFree86/XFree86-${PORTVERSION}/source/ \
        ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/${PORTVERSION}/source/ \
        ftp://sunsite.doc.ic.ac.uk/packages/XFree86/${PORTVERSION}/source/
PKGNAMEPREFIX=  XFree86-
DISTFILES=  X401src-1.tgz X401src-2.tgz
EXTRACT_ONLY=   X401src-2.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}/X401src-1.tgz \
        ${EXTRACT_AFTER_ARGS} xc/doc)

do-configure:
    (cd ${WRKSRC} && \
     imake -DUseInstalled ${PROJECTROOT} -I${PREFIX}/lib/X11/config \
        -DBuildMiscDocs=YES -DBuildSpecsDocs=YES \
        -DBuildLinuxDocPS=NO \
        -DFreeBSDBuildXdoc=YES \
        -DTOPDIR=.. -DCURDIR=.; \
     ${MAKE} Makefiles ; \
     ${MAKE} includes ; \
     ${MAKE} depend)

.include <bsd.port.mk>