aboutsummaryrefslogblamecommitdiff
path: root/x11/XFree86-4-documents/Makefile
blob: e70fa16fb0cc8f4388088fd1bf1d8394f4594f05 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                         






                                                
                     
                 
                   
                                    
                                      
                        

                                                  
 
                               
                                       
 


                                               
                                              

             
                         




                                                                      
                                                                             
                                            



                              

                                     


                                                                           

                           
# New ports collection makefile for:	XFree86-documents
# Date created:		10 Oct 1999
# Whom:			taguchi@tohoku.iij.ad.jp
#
# $FreeBSD$
#

PORTNAME=	documents
PORTVERSION=	4.5.0
PORTREVISION=	1
CATEGORIES=	x11
MASTER_SITES=	${MASTER_SITE_XFREE}
MASTER_SITE_SUBDIR=	${PORTVERSION}
PKGNAMEPREFIX=	XFree86-
DISTFILES=	XFree86-${PORTVERSION}-src-1.tgz \
		XFree86-${PORTVERSION}-src-6.tgz

MAINTAINER=	x11@FreeBSD.org
COMMENT=	XFree86-4 documentation

USE_IMAKE=		YES
PROJECTROOT=		-DProjectRoot=${PREFIX}
DIST_SUBDIR=		xc
WRKSRC=			${WRKDIR}/xc/doc/specs

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.pre.mk>
.if ${X_WINDOW_SYSTEM:L} != xfree86-4
IGNORE=	is part of XFree86 and you have ${X_WINDOW_SYSTEM} set for X11\
	distribution. See The X Window System and Virtual Consoles chapter\
	of FAQ for more information
.endif
.include <bsd.port.post.mk>