1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/x11-fonts/bitmap-fonts/Makefile

55 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: bitmap-font
1999-10-22 15:24:40 +00:00
# Version required: 7.19.07
# Date created: 23 September 1998
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
1999-08-31 03:04:38 +00:00
# $FreeBSD$
#
1999-10-22 14:58:36 +00:00
DISTNAME= bitmap-mule-kory-${BITMAP_SNAP_VER}
PKGNAME= bitmap-font-${BITMAP_VER}.${BITMAP_SNAP_VER}
CATEGORIES= x11-fonts elisp
1999-10-22 14:58:36 +00:00
MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/yamaoka/bitmap/snapshots/
MAINTAINER= shige@FreeBSD.org
# distfile version
1999-10-22 14:58:36 +00:00
BITMAP_VER= 7.19
1999-10-22 15:24:40 +00:00
BITMAP_SNAP_VER= 07
BITMAP_FONT= etl8x16-bitmap
FONTSDIR= lib/X11/fonts/local
PKGINSTALL= ${WRKDIR}/INSTALL
PKGDEINSTALL= ${WRKDIR}/DEINSTALL
USE_X_PREFIX= yes
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86
PLIST_SUB= FONTSDIR=${FONTSDIR} BITMAP_FONT=${BITMAP_FONT}
do-build:
@(cd ${WRKSRC}; \
bdftopcf ${BITMAP_FONT}.bdf > ${BITMAP_FONT}.pcf ; \
${GZIP_CMD} ${BITMAP_FONT}.pcf ; \
)
@for file in INSTALL DEINSTALL; do \
${SED} -e 's,%%FONTSDIR%%,${FONTSDIR},g' \
< ${FILESDIR}/$${file}.tmpl > ${WRKDIR}/$${file}; \
done
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL
do-install:
@(cd ${WRKSRC}; \
${INSTALL_DATA} ${BITMAP_FONT}.pcf.gz ${PREFIX}/${FONTSDIR} ; \
)
post-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>