1999-08-18 14:00:03 +00:00
|
|
|
# New ports collection makefile for: bitmap-font
|
2000-02-08 04:33:50 +00:00
|
|
|
# Version required: 8.2
|
1999-08-18 14:00:03 +00:00
|
|
|
# Date created: 23 September 1998
|
|
|
|
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
|
|
|
|
#
|
1999-08-31 03:04:38 +00:00
|
|
|
# $FreeBSD$
|
1999-08-18 14:00:03 +00:00
|
|
|
#
|
|
|
|
|
1999-11-05 16:27:54 +00:00
|
|
|
DISTNAME= bitmap-mule-${BITMAP_VER}
|
|
|
|
PKGNAME= bitmap-font-${BITMAP_VER}
|
1999-08-18 14:00:03 +00:00
|
|
|
CATEGORIES= x11-fonts elisp
|
1999-11-05 16:27:54 +00:00
|
|
|
MASTER_SITES= ftp://ftp.jpl.org/pub/elisp/bitmap/
|
1999-08-18 14:00:03 +00:00
|
|
|
|
|
|
|
MAINTAINER= shige@FreeBSD.org
|
|
|
|
|
2000-03-21 09:01:42 +00:00
|
|
|
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86
|
|
|
|
|
1999-08-18 14:00:03 +00:00
|
|
|
# distfile version
|
2000-02-08 04:33:50 +00:00
|
|
|
BITMAP_VER= 8.2
|
1999-12-24 14:20:56 +00:00
|
|
|
BITMAP_FONT= etl6x12-bitmap etl7x14-bitmap etl8x16-bitmap etl12x24-bitmap
|
1999-08-18 14:00:03 +00:00
|
|
|
FONTSDIR= lib/X11/fonts/local
|
1999-08-19 12:28:51 +00:00
|
|
|
PKGINSTALL= ${WRKDIR}/INSTALL
|
|
|
|
PKGDEINSTALL= ${WRKDIR}/DEINSTALL
|
1999-08-18 14:00:03 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
|
1999-12-24 14:20:56 +00:00
|
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
1999-08-18 14:00:03 +00:00
|
|
|
|
|
|
|
do-build:
|
1999-12-24 14:20:56 +00:00
|
|
|
@(cd ${WRKSRC}/font; \
|
|
|
|
for i in ${BITMAP_FONT} ; do \
|
|
|
|
bdftopcf $${i}.bdf > $${i}.pcf ; \
|
|
|
|
${GZIP_CMD} $${i}.pcf ; \
|
|
|
|
done ; \
|
1999-08-18 14:00:03 +00:00
|
|
|
)
|
1999-08-19 12:28:51 +00:00
|
|
|
@for file in INSTALL DEINSTALL; do \
|
|
|
|
${SED} -e 's,%%FONTSDIR%%,${FONTSDIR},g' \
|
|
|
|
< ${FILESDIR}/$${file}.tmpl > ${WRKDIR}/$${file}; \
|
|
|
|
done
|
|
|
|
|
1999-08-18 14:00:03 +00:00
|
|
|
pre-install:
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} \
|
|
|
|
${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
|
|
|
|
|
|
|
|
do-install:
|
1999-12-24 14:20:56 +00:00
|
|
|
@(cd ${WRKSRC}/font; \
|
|
|
|
for i in ${BITMAP_FONT} ; do \
|
|
|
|
${INSTALL_DATA} $${i}.pcf.gz ${PREFIX}/${FONTSDIR} ; \
|
|
|
|
done ; \
|
1999-08-18 14:00:03 +00:00
|
|
|
)
|
|
|
|
|
1999-08-19 12:28:51 +00:00
|
|
|
post-install:
|
|
|
|
@${SETENV} PKG_PREFIX=${PREFIX} \
|
|
|
|
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
|
1999-08-18 14:00:03 +00:00
|
|
|
.include <bsd.port.mk>
|