mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
10427f3863
o unbreak -clients when USA_RESIDENT does not set. Submitted by: Mori Kouji <mori@tri.asanuma.co.jp>
83 lines
2.2 KiB
Makefile
83 lines
2.2 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.3
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= ${MASTER_SITE_XFREE}
|
|
MASTER_SITE_SUBDIR= 4.0.2
|
|
PKGNAMEPREFIX= XFree86-
|
|
DISTFILES= X402src-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
|
|
|
|
# XFree86 User Config:
|
|
# ---
|
|
# Name Default Meaning
|
|
# ----------------------------------------------------------------------------
|
|
# BuildSpeedoFonts YES build/install Speedo fonts
|
|
# BuildType1Fonts YES build/install Type1 fonts
|
|
# BuildCIDFonts YES build/install CID fonts
|
|
BuildSpeedoFonts?= DEFAULT
|
|
BuildType1Fonts?= DEFAULT
|
|
BuildCIDFonts?= DEFAULT
|
|
|
|
.if ${BuildSpeedoFonts} == DEFAULT || ${BuildSpeedoFonts} == YES
|
|
PLIST_SUB+= SPEEDO:=""
|
|
SPEEDO:= -DBuildSpeedoFonts=YES
|
|
.elif ${BuildSpeedoFonts} == NO
|
|
PLIST_SUB+= SPEEDO:="@comment "
|
|
SPEEDO:= -DBuildSpeedoFonts=NO
|
|
.endif
|
|
.if ${BuildType1Fonts} == DEFAULT || ${BuildType1Fonts} == YES
|
|
PLIST_SUB+= TYPE1:=""
|
|
TYPE1:= -DBuildType1Fonts=YES
|
|
.elif ${BuildType1Fonts} == NO
|
|
PLIST_SUB+= TYPE1:="@comment "
|
|
TYPE1:= -DBuildType1Fonts=NO
|
|
.endif
|
|
.if ${BuildCIDFonts} == DEFAULT || ${BuildCIDFonts} == YES
|
|
PLIST_SUB+= CID:=""
|
|
CID:= -DBuildCIDFonts=YES
|
|
.elif ${BuildCIDFonts} == NO
|
|
PLIST_SUB+= CID:="@comment "
|
|
CID:= -DBuildCIDFonts=NO
|
|
.endif
|
|
|
|
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 \
|
|
${SPEEDO} ${TYPE1} ${CID} \
|
|
-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>
|