1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/x11-fonts/XFree86-4-font75dpi/Makefile
Satoshi Asami 3103ffad6e Split up XFree86-4 into several pieces. Pretty green, please test with care.
Submitted by:			taguchi@tohoku.iij.ad.jp
Approved (in spirit) by:	jmz (XFree86 port maintainer)
2000-06-08 10:42:32 +00:00

53 lines
1.4 KiB
Makefile

# New ports collection makefile for: XFree86Xfont75dpi-4.0
# Date created: 10 Oct 1999
# Whom: taguchi@tohoku.iij.ad.jp
#
# $FreeBSD$
#
PORTNAME= font75dpi
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/75dpi
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 \
-DTOPDIR=../../.. -DCURDIR=.; \
${MAKE} Makefiles ; \
${MAKE} includes ; \
${MAKE} depend)
pre-build:
(cd ${WRKDIR}/xc/fonts/encodings && \
${MAKE} all)
post-install:
@echo "DEBUG: PREFIX=${PREFIX}"
.include <bsd.port.mk>