aboutsummaryrefslogtreecommitdiff
path: root/japanese/jisx0213-fonts/Makefile
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2002-01-20 23:14:24 +0000
committerSADA Kenji <sada@FreeBSD.org>2002-01-20 23:14:24 +0000
commite72e92318b22bf31c929c711dec3030c4a112035 (patch)
treea5d4644092babdacd3ec5eecbdc901723f4d3971 /japanese/jisx0213-fonts/Makefile
parent9c7dc35f2c5c67394d66a71fa8c65988b2c375ed (diff)
downloadports-e72e92318b22bf31c929c711dec3030c4a112035.tar.gz
ports-e72e92318b22bf31c929c711dec3030c4a112035.zip
Notes
Diffstat (limited to 'japanese/jisx0213-fonts/Makefile')
-rw-r--r--japanese/jisx0213-fonts/Makefile34
1 files changed, 15 insertions, 19 deletions
diff --git a/japanese/jisx0213-fonts/Makefile b/japanese/jisx0213-fonts/Makefile
index 7a46665b0149..450cd379bc02 100644
--- a/japanese/jisx0213-fonts/Makefile
+++ b/japanese/jisx0213-fonts/Makefile
@@ -7,7 +7,7 @@
PORTNAME= jisx0213-fonts
PORTVERSION= 1.03
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= japanese x11-fonts
MASTER_SITES= http://www.mars.sphere.ne.jp/imamura/
DISTFILES= jiskan16-2000-1.bdf.gz jiskan16-2000-2.bdf.gz \
@@ -15,6 +15,9 @@ DISTFILES= jiskan16-2000-1.bdf.gz jiskan16-2000-2.bdf.gz \
MAINTAINER= yoichi@eken.phys.nagoya-u.ac.jp
+BUILD_DEPENDS= mkbold:${PORTSDIR}/x11-fonts/mkbold \
+ mkitalic:${PORTSDIR}/x11-fonts/mkitalic
+
NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
FONTSDIR= lib/X11/fonts/local
@@ -26,29 +29,22 @@ 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}
+EXTRACT_CMD= ${CP}
+EXTRACT_BEFORE_ARGS= -p
+EXTRACT_AFTER_ARGS= ${WRKDIR}
-do-build:
-.for i in ${FONTNAMES}
- (cd ${WRKSRC} ; \
- ${GZCAT} ${DISTDIR}/${i}.bdf.gz | bdftopcf -o ${i}.pcf ; \
- ${GZIP_CMD} ${i}.pcf)
-.endfor
+MAKE_ENV= FONTSDIR=${FONTSDIR}
+PLIST_SUB= FONTSDIR=${FONTSDIR}
-do-install:
- ${MKDIR} ${PREFIX}/${FONTSDIR}
-.for i in ${FONTNAMES}
- (cd ${WRKSRC} ; ${INSTALL_DATA} ${i}.pcf.gz ${PREFIX}/${FONTSDIR})
-.endfor
- mkfontdir ${PREFIX}/${FONTSDIR}
+post-extract:
+ @${CP} ${FILESDIR}/Makefile.in ${WRKDIR}/Makefile
+ @(cd ${WRKDIR}; ${GUNZIP_CMD} *.gz)
pre-install:
@${SETENV} PKG_PREFIX=${PREFIX} \
${SH} ${PKGREQ} ${PKGNAME} INSTALL
+post-install:
+ @(cd ${PREFIX}/${FONTSDIR}; mkfontdir)
+
.include <bsd.port.post.mk>