1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/x11-fonts/bitmap-fonts/Makefile
Eric Anholt 4eb209da7d - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
2004-07-23 19:10:32 +00:00

60 lines
1.4 KiB
Makefile

# New ports collection makefile for: bitmap-fonts
# Date created: 23 September 1998
# Whom: Shigeyuki FUKUSHIMA <shige@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= bitmap-fonts
PORTVERSION= ${BITMAP_FONTS_VER}
CATEGORIES= x11-fonts elisp
MASTER_SITES= ftp://ftp.jpl.org/pub/elisp/bitmap/ \
ftp://ftp.jpl.org/pub/elisp/bitmap/snapshots/
DISTNAME= ${PORTNAME}-${BITMAP_FONTS_VER}
MAINTAINER= shige@FreeBSD.org
COMMENT= Bitmap font, (6x12, 7x14, 8x16, 12x24) dots bitmap font
BUILD_DEPENDS= bdftopcf:${X_CLIENTS_PORT}
# distfile version
BITMAP_FONTS_VER= 1.0
BITMAP_FONTS_SIZE= 12 14 16 20 24
FONTSDIR= lib/X11/fonts/local
PKGINSTALL= ${WRKDIR}/INSTALL
PKGDEINSTALL= ${WRKDIR}/DEINSTALL
WRKSRC= ${WRKDIR}
USE_X_PREFIX= yes
PLIST_SUB= FONTSDIR=${FONTSDIR}
do-build:
@(cd ${WRKSRC}; \
for i in ${BITMAP_FONTS_SIZE} ; do \
bdftopcf bitmap$${i}.bdf > bitmap$${i}.pcf ; \
${GZIP_CMD} bitmap$${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=${X11BASE} \
${SH} ${PKGREQ} ${PKGNAME} INSTALL
do-install:
@(cd ${WRKSRC}; \
for i in ${BITMAP_FONTS_SIZE} ; do \
${INSTALL_DATA} bitmap$${i}.pcf.gz ${X11BASE}/${FONTSDIR} ; \
done ; \
)
post-install:
@${SETENV} PKG_PREFIX=${X11BASE} \
${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>