d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
65 lines
1.8 KiB
Makefile
65 lines
1.8 KiB
Makefile
# New ports collection makefile for: XFree86-fontDefaultBitmap
|
|
# Date created: 10 Oct 1999
|
|
# Whom: taguchi@tohoku.iij.ad.jp
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fontDefaultBitmaps
|
|
PORTVERSION= 4.5.0
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11-fonts
|
|
MASTER_SITES= ${MASTER_SITE_XFREE}
|
|
MASTER_SITE_SUBDIR= ${PORTVERSION}
|
|
PKGNAMEPREFIX= XFree86-
|
|
DISTFILES= XFree86-${PORTVERSION}-src-1.tgz \
|
|
XFree86-${PORTVERSION}-src-4.tgz
|
|
EXTRACT_ONLY= XFree86-${PORTVERSION}-src-4.tgz
|
|
|
|
MAINTAINER= x11@FreeBSD.org
|
|
COMMENT= XFree86-4 default bitmap fonts
|
|
|
|
BUILD_DEPENDS= ucs2any:${PORTSDIR}/x11/XFree86-4-clients
|
|
RUN_DEPENDS= ${X11BASE}/lib/X11/fonts/encodings/encodings.dir:${PORTSDIR}/x11-fonts/XFree86-4-fontEncodings
|
|
|
|
CONFLICTS= xorg-fonts-miscbitmaps-*
|
|
|
|
USE_IMAKE= YES
|
|
PROJECTROOT= -DProjectRoot=${PREFIX}
|
|
DIST_SUBDIR= xc
|
|
WRKSRC= ${WRKDIR}/xc/fonts/bdf/misc
|
|
|
|
post-extract:
|
|
(cd ${WRKDIR} && \
|
|
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} \
|
|
${DISTDIR}/${DIST_SUBDIR}/XFree86-${PORTVERSION}-src-1.tgz \
|
|
| ${TAR} -xf - xc/extras/fonts)
|
|
|
|
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:
|
|
@command fc-cache -v ${PREFIX}/lib/X11/fonts/cyrillic || true
|
|
|
|
.include <bsd.port.pre.mk>
|
|
.if ${X_WINDOW_SYSTEM:L} != xfree86-4
|
|
IGNORE= is part of XFree86 and you have ${X_WINDOW_SYSTEM} set for X11\
|
|
distribution. See The X Window System and Virtual Consoles chapter\
|
|
of FAQ for more information
|
|
.endif
|
|
.include <bsd.port.post.mk>
|