1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/x11-fonts/XFree86-4-fontScalable/Makefile
Satoshi Asami 036dd8c105 Update to 4.0.1. Remove libraries from -clients. Try to extract
only what each port needs.  Other miscellaneous bug fixes.

Submitted by:	maintainer
2000-08-25 10:35:22 +00:00

62 lines
1.8 KiB
Makefile

# New ports collection makefile for: XFree86-4-fontScalable
# Date created: 10 Oct 1999
# Whom: taguchi@tohoku.iij.ad.jp
#
# $FreeBSD$
#
PORTNAME= fontScalable
PORTVERSION= 4.0.1
CATEGORIES= x11-fonts
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-2.tgz
MAINTAINER= taguchi@tohoku.iij.ad.jp
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fonts/XFree86-4-fontEncodings
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
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=${BuildSpeedoFonts} \
-DBuildType1Fonts=${BuildType1Fonts} \
-DBuildCIDFonts=${BuildCIDFonts} \
-DBuildTTFonts=${BuildTTFonts} \
-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>