mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
59ef70dca5
remove blank line move BUILD_DEPENDS to DEPENDS section
57 lines
1.3 KiB
Makefile
57 lines
1.3 KiB
Makefile
# New ports collection makefile for: bitmap-font
|
|
# Version required: 8.2
|
|
# Date created: 23 September 1998
|
|
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
DISTNAME= bitmap-mule-${BITMAP_VER}
|
|
PKGNAME= bitmap-font-${BITMAP_VER}
|
|
CATEGORIES= x11-fonts elisp
|
|
MASTER_SITES= ftp://ftp.jpl.org/pub/elisp/bitmap/
|
|
|
|
MAINTAINER= shige@FreeBSD.org
|
|
|
|
BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86
|
|
|
|
# distfile version
|
|
BITMAP_VER= 8.2
|
|
BITMAP_FONT= etl6x12-bitmap etl7x14-bitmap etl8x16-bitmap etl12x24-bitmap
|
|
FONTSDIR= lib/X11/fonts/local
|
|
PKGINSTALL= ${WRKDIR}/INSTALL
|
|
PKGDEINSTALL= ${WRKDIR}/DEINSTALL
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
PLIST_SUB= FONTSDIR=${FONTSDIR}
|
|
|
|
do-build:
|
|
@(cd ${WRKSRC}/font; \
|
|
for i in ${BITMAP_FONT} ; do \
|
|
bdftopcf $${i}.bdf > $${i}.pcf ; \
|
|
${GZIP_CMD} $${i}.pcf ; \
|
|
done ; \
|
|
)
|
|
@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}/font; \
|
|
for i in ${BITMAP_FONT} ; do \
|
|
${INSTALL_DATA} $${i}.pcf.gz ${PREFIX}/${FONTSDIR} ; \
|
|
done ; \
|
|
)
|
|
|
|
post-install:
|
|
@${SETENV} PKG_PREFIX=${PREFIX} \
|
|
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
|
|
|
.include <bsd.port.mk>
|