freebsd-ports/x11-fonts/XFree86-4-fontScalable/Makefile
Satoshi Asami 3103ffad6e Split up XFree86-4 into several pieces. Pretty green, please test with care.
Submitted by:			taguchi@tohoku.iij.ad.jp
Approved (in spirit) by:	jmz (XFree86 port maintainer)
2000-06-08 10:42:32 +00:00

54 lines
1.5 KiB
Makefile

# New ports collection makefile for: XFree86XfontScalable-4.0
# Date created: 10 Oct 1999
# Whom: taguchi@tohoku.iij.ad.jp
#
# $FreeBSD$
#
PORTNAME= fontScalable
PORTVERSION= 4.0
CATEGORIES= x11-fonts
MASTER_SITES= ftp://ftp.xfree86.org/pub/XFree86/4.0/source/ \
ftp://ftp.freesoftware.com/pub/XFree86/4.0/source/ \
ftp://ftp.lip6.fr/pub/X11/XFree86/XFree86-4.0/source/ \
ftp://ftp.cs.tu-berlin.de/pub/X/XFree86/4.0/source/ \
ftp://sunsite.doc.ic.ac.uk/packages/XFree86/4.0/source/
PKGNAMEPREFIX= XFree86-
DISTFILES= X400src-2.tgz
MAINTAINER= taguchi@tohoku.iij.ad.jp
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake-4 \
mkfontdir:${PORTSDIR}/x11/XFree86-4-libraries
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fonts/XFree86-4-fontEncodings
PREFIX?= ${X11BASE}
PROJECTROOT= -DProjectRoot=${PREFIX}
MTREE_FILE= /etc/mtree/BSD.x11.dist
DIST_SUBDIR= xc
WRKSRC= ${WRKDIR}/xc/fonts
do-configure:
(cd ${WRKDIR}/xc/fonts/encodings && \
imake -DUseInstalled ${PROJECTROOT} -I${PREFIX}/lib/X11/config \
-DTOPDIR=../../.. -DCURDIR=.; \
${MAKE} Makefiles ; \
${MAKE} includes ; \
${MAKE} depend)
(cd ${WRKSRC} && \
imake -DUseInstalled ${PROJECTROOT} -I${PREFIX}/lib/X11/config \
-DBuildSpeedoFonts=YES -DBuildType1Fonts=YES \
-DBuildCIDFonts=YES -DBuildTTFonts=YES \
-DMakeLocalFontDir=YES \
-DFreeBSDBuildXscl=YES \
-DTOPDIR=.. -DCURDIR=.; \
${MAKE} Makefiles ; \
${MAKE} includes ; \
${MAKE} depend)
pre-build:
(cd ${WRKDIR}/xc/fonts/encodings && \
${MAKE} all)
.include <bsd.port.mk>