aboutsummaryrefslogtreecommitdiff
path: root/korean/baekmukfonts-bdf/Makefile
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-21 23:05:19 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-21 23:05:19 +0000
commita5da770e67afce95b829c38c5d5330fe69f7822c (patch)
treeb9556c9042a9d20d7c71f49869f39f95afc00052 /korean/baekmukfonts-bdf/Makefile
parent51da733b698e7bbedaac4743f457352334401249 (diff)
downloadports-a5da770e67afce95b829c38c5d5330fe69f7822c.tar.gz
ports-a5da770e67afce95b829c38c5d5330fe69f7822c.zip
Notes
Diffstat (limited to 'korean/baekmukfonts-bdf/Makefile')
-rw-r--r--korean/baekmukfonts-bdf/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/korean/baekmukfonts-bdf/Makefile b/korean/baekmukfonts-bdf/Makefile
index b564bc239d86..46421b2e6439 100644
--- a/korean/baekmukfonts-bdf/Makefile
+++ b/korean/baekmukfonts-bdf/Makefile
@@ -3,7 +3,7 @@
PORTNAME= baekmukfonts
PORTVERSION= 2.0
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= korean x11-fonts
MASTER_SITES= ftp://ftp.mizi.com/pub/baekmuk/obsoletes/ \
ftp://ftp.kr.FreeBSD.org/pub/FreeBSD-kr/distfiles/
@@ -32,12 +32,9 @@ FONTLIST= batang10 batang10b batang12 batang12b batang14 batang14b \
FONTLIST_MANUAL= batang10 batang10b gulim10 gulim10b
BDFTOPCF= ${PREFIX}/bin/bdftopcf
-MKFONTDIR= ${PREFIX}/bin/mkfontdir
CHARSETSUB= s/ksx1001.1997/ksc5601.1987/g
-FONTSDIR= lib/X11/fonts/local
-MAKE_ENV= FONTSDIR=${FONTSDIR}
-PLIST_SUB= FONTSDIR=${FONTSDIR}
-USES= perl5
+MAKE_ENV= FONTSDIR=${FONTSDIR:S,${PREFIX},,}
+USES= fonts perl5
USE_PERL5= build
# manually install hinted fonts
@@ -56,10 +53,10 @@ do-build:
.endfor
do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/${FONTSDIR}
+ @${MKDIR} ${STAGEDIR}${FONTSDIR}
.for FONTNAME in ${FONTLIST}
${INSTALL_DATA} ${WRKDIR}/${FONTNAME}.pcf.gz \
- ${STAGEDIR}${PREFIX}/${FONTSDIR}
+ ${STAGEDIR}${FONTSDIR}
.endfor
.include <bsd.port.mk>