1999-08-18 14:00:03 +00:00
|
|
|
# New ports collection makefile for: bitmap-font
|
|
|
|
# Version required: 7.18
|
|
|
|
# Date created: 23 September 1998
|
|
|
|
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
|
|
|
|
#
|
1999-08-19 12:28:51 +00:00
|
|
|
# $Id: Makefile,v 1.1.1.1 1999/08/18 14:00:03 shige Exp $
|
1999-08-18 14:00:03 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= bitmap-mule-${BITMAP_VER}
|
|
|
|
PKGNAME= bitmap-font-${BITMAP_VER}
|
|
|
|
CATEGORIES= x11-fonts elisp
|
|
|
|
MASTER_SITES= ftp://ftp.jaist.ac.jp/pub/GNU/elisp/bitmap-mule/
|
|
|
|
|
|
|
|
MAINTAINER= shige@FreeBSD.org
|
|
|
|
|
|
|
|
# distfile version
|
|
|
|
BITMAP_VER= 7.18
|
|
|
|
BITMAP_FONT= etl8x16-bitmap
|
|
|
|
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
|
|
|
|
|
|
|
|
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 ; \
|
|
|
|
)
|
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:
|
|
|
|
@(cd ${WRKSRC}; \
|
|
|
|
${INSTALL_DATA} ${BITMAP_FONT}.pcf.gz ${PREFIX}/${FONTSDIR} ; \
|
|
|
|
)
|
|
|
|
|
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>
|