mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
3103ffad6e
Submitted by: taguchi@tohoku.iij.ad.jp Approved (in spirit) by: jmz (XFree86 port maintainer)
56 lines
1.6 KiB
Makefile
56 lines
1.6 KiB
Makefile
# New ports collection makefile for: XFree86XfontLatin2-4.0
|
|
# Date created: 10 Oct 1999
|
|
# Whom: taguchi@tohoku.iij.ad.jp
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fontLatin2
|
|
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/bdf/latin2
|
|
# User Config:
|
|
# If you want to disable 100dpi font, set following variable to "NO"
|
|
Build100DpiFonts?= 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 -DBuild75DpiFonts=YES \
|
|
-DBuild100DpiFonts=${Build100DpiFonts} \
|
|
${PROJECTROOT} \
|
|
-I${PREFIX}/lib/X11/config \
|
|
-DTOPDIR=../../.. -DCURDIR=.; \
|
|
${MAKE} Makefiles ; \
|
|
${MAKE} includes ; \
|
|
${MAKE} depend)
|
|
|
|
pre-build:
|
|
(cd ${WRKDIR}/xc/fonts/encodings && \
|
|
${MAKE} all)
|
|
|
|
.include <bsd.port.mk>
|