2000-08-25 10:35:22 +00:00
|
|
|
# New ports collection makefile for: XFree86-4-fontScalable
|
2000-06-08 10:42:32 +00:00
|
|
|
# Date created: 10 Oct 1999
|
|
|
|
# Whom: taguchi@tohoku.iij.ad.jp
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fontScalable
|
2000-08-25 10:35:22 +00:00
|
|
|
PORTVERSION= 4.0.1
|
2000-06-08 10:42:32 +00:00
|
|
|
CATEGORIES= x11-fonts
|
2000-08-25 10:35:22 +00:00
|
|
|
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/
|
2000-06-08 10:42:32 +00:00
|
|
|
PKGNAMEPREFIX= XFree86-
|
2000-08-25 10:35:22 +00:00
|
|
|
DISTFILES= X401src-2.tgz
|
2000-06-08 10:42:32 +00:00
|
|
|
|
|
|
|
MAINTAINER= taguchi@tohoku.iij.ad.jp
|
|
|
|
|
2000-08-25 10:35:22 +00:00
|
|
|
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
|
2000-06-08 10:42:32 +00:00
|
|
|
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fonts/XFree86-4-fontEncodings
|
|
|
|
|
2000-08-25 10:35:22 +00:00
|
|
|
XFREE86_VERSION= 4
|
|
|
|
USE_IMAKE= YES
|
|
|
|
PROJECTROOT= -DProjectRoot=${PREFIX}
|
|
|
|
DIST_SUBDIR= xc
|
|
|
|
EXTRACT_AFTER_ARGS= | ${TAR} -xf - xc/fonts
|
|
|
|
WRKSRC= ${WRKDIR}/xc/fonts
|
|
|
|
# User Config:
|
|
|
|
# To disable following fonts, set variable to "NO"
|
|
|
|
BuildSpeedoFonts?= YES
|
|
|
|
BuildType1Fonts?= YES
|
|
|
|
BuildCIDFonts?= YES
|
|
|
|
BuildTTFonts?= YES
|
2000-06-08 10:42:32 +00:00
|
|
|
|
|
|
|
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 \
|
2000-08-25 10:35:22 +00:00
|
|
|
-DBuildSpeedoFonts=${BuildSpeedoFonts} \
|
|
|
|
-DBuildType1Fonts=${BuildType1Fonts} \
|
|
|
|
-DBuildCIDFonts=${BuildCIDFonts} \
|
|
|
|
-DBuildTTFonts=${BuildTTFonts} \
|
2000-06-08 10:42:32 +00:00
|
|
|
-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>
|