freebsd-ports/x11-fonts/XFree86-4-fontLatin2/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

56 lines
1.6 KiB
Makefile

# New ports collection makefile for: XFree86-4-fontLatin2
# Date created: 10 Oct 1999
# Whom: taguchi@tohoku.iij.ad.jp
#
# $FreeBSD$
#
PORTNAME= fontLatin2
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/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>