diff options
author | sf <sf@FreeBSD.org> | 2001-06-01 22:25:58 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-06-01 22:25:58 +0800 |
commit | 551299e58fb174b5c76a2d98721d14ac714a0b7e (patch) | |
tree | 595256e02e7474e7544e206b6a1b4a7bcabd2a7e /japanese/jisx0213-fonts/Makefile | |
parent | e0737183f83abdb1e632d01ae72606c99e1ba2b8 (diff) | |
download | freebsd-ports-gnome-551299e58fb174b5c76a2d98721d14ac714a0b7e.tar.gz freebsd-ports-gnome-551299e58fb174b5c76a2d98721d14ac714a0b7e.tar.zst freebsd-ports-gnome-551299e58fb174b5c76a2d98721d14ac714a0b7e.zip |
Add jisx0213-fonts 1.03, Japanese jisx0213 fonts.
PR: 27789
Submitted by: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
Diffstat (limited to 'japanese/jisx0213-fonts/Makefile')
-rw-r--r-- | japanese/jisx0213-fonts/Makefile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/japanese/jisx0213-fonts/Makefile b/japanese/jisx0213-fonts/Makefile new file mode 100644 index 000000000000..9f4838361e67 --- /dev/null +++ b/japanese/jisx0213-fonts/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: jisx0213-fonts +# Date created: Jun 1 2001 +# Whom: Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp> +# +# $FreeBSD$ +# + +PORTNAME= jisx0213-fonts +PORTVERSION= 1.03 +CATEGORIES= japanese x11-fonts +MASTER_SITES= http://www.mars.sphere.ne.jp/imamura/ +DISTFILES= jiskan16-2000-1.bdf.gz jiskan16-2000-2.bdf.gz \ + K14-1.bdf.gz K14-2.bdf.gz K12-1.bdf.gz K12-2.bdf.gz + +MAINTAINER= yoichi@eken.phys.nagoya-u.ac.jp + +NO_WRKSUBDIR= yes +USE_X_PREFIX= yes +FONTSDIR= lib/X11/fonts/local + +.include <bsd.port.pre.mk> + +.if ${XFREE86_VERSION} == 4 +BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11/XFree86-4-clients +RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients +.endif + +FONTNAMES= jiskan16-2000-1 jiskan16-2000-2 \ + K14-1 K14-2 K12-1 K12-2 +PLIST_SUB= FONTSDIR=${FONTSDIR} + +do-extract: + @${MKDIR} ${WRKDIR} + +do-build: +.for i in ${FONTNAMES} + (cd ${WRKSRC} ; \ + ${GZCAT} ${DISTDIR}/${i}.bdf.gz | bdftopcf -o ${i}.pcf ; \ + ${GZIP_CMD} ${i}.pcf) +.endfor + +do-install: + ${MKDIR} ${PREFIX}/${FONTSDIR} +.for i in ${FONTNAMES} + (cd ${WRKSRC} ; ${INSTALL_DATA} ${i}.pcf.gz ${PREFIX}/${FONTSDIR}) +.endfor + mkfontdir ${PREFIX}/${FONTSDIR} + +pre-install: + @${SETENV} PKG_PREFIX=${PREFIX} \ + ${SH} ${PKGREQ} ${PKGNAME} INSTALL + +.include <bsd.port.post.mk> |