diff options
author | steve <steve@FreeBSD.org> | 2000-01-30 05:58:54 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-01-30 05:58:54 +0800 |
commit | f0073881db41b8828f0a003ace96e92cc38acc0c (patch) | |
tree | a01bbe19b41eaa636b772f8c8d089a59c3331b07 /korean/baekmukfonts-bdf/Makefile | |
parent | aa479aefb8006e432aefe0c20db97428d1789aa1 (diff) | |
download | freebsd-ports-gnome-f0073881db41b8828f0a003ace96e92cc38acc0c.tar.gz freebsd-ports-gnome-f0073881db41b8828f0a003ace96e92cc38acc0c.tar.zst freebsd-ports-gnome-f0073881db41b8828f0a003ace96e92cc38acc0c.zip |
Update to version 2.0.
PR: 16366
Submitted by: maintainer
Diffstat (limited to 'korean/baekmukfonts-bdf/Makefile')
-rw-r--r-- | korean/baekmukfonts-bdf/Makefile | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/korean/baekmukfonts-bdf/Makefile b/korean/baekmukfonts-bdf/Makefile index 253363e50c28..6e022da154cf 100644 --- a/korean/baekmukfonts-bdf/Makefile +++ b/korean/baekmukfonts-bdf/Makefile @@ -6,16 +6,15 @@ # $FreeBSD$ # -DISTNAME= baekmuk-1.1 -PKGNAME= ko-baekmukfonts-bdf-1.1 +DISTNAME= baekmuk-2.0 +PKGNAME= ko-baekmukfonts-bdf-2.0 CATEGORIES= korean x11-fonts -MASTER_SITES= ftp://ftp.mizi.co.kr/pub/baekmuk/ \ - http://www.FreeBSD.org/~sada/distfiles/ -DISTFILES= baekmuk-1.1.tar.gz gulim12-19990903.bdf.gz -EXTRACT_ONLY= baekmuk-1.1.tar.gz +MASTER_SITES= ftp://ftp.mizi.co.kr/pub/baekmuk/ MAINTAINER= cjh@kr.freebsd.org +BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11/XFree86 + USE_X_PREFIX= yes FONTLIST= batang10 batang10b batang12 batang12b batang14 batang14b \ @@ -28,25 +27,25 @@ FONTLIST= batang10 batang10b batang12 batang12b batang14 batang14b \ 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} +# change charset to ksc5601.1987... do-build: - ${GUNZIP_CMD} -c ${_DISTDIR}/gulim12-19990903.bdf.gz \ - > ${WRKDIR}/gulim12.bdf .for FONTNAME in ${FONTLIST} + perl -pi -e ${CHARSETSUB} ${WRKDIR}/${FONTNAME}.bdf ${BDFTOPCF} ${WRKDIR}/${FONTNAME}.bdf | ${GZIP_CMD} -c \ > ${WRKDIR}/${FONTNAME}.pcf.gz .endfor do-install: - -mkdir -p ${PREFIX}/lib/X11/fonts/baekmuk + -mkdir -p ${PREFIX}/${FONTSDIR} .for FONTNAME in ${FONTLIST} ${INSTALL_DATA} ${WRKDIR}/${FONTNAME}.pcf.gz \ - ${PREFIX}/lib/X11/fonts/baekmuk + ${PREFIX}/${FONTSDIR} .endfor - ${INSTALL_DATA} ${WRKDIR}/fonts.alias ${PREFIX}/lib/X11/fonts/baekmuk - ${MKFONTDIR} ${PREFIX}/lib/X11/fonts/baekmuk - -post-install: - @${SH} ${PKGDIR}/REQ ${PKGNAME} INSTALL + @(cd ${PREFIX}/${FONTSDIR} && mkfontdir .) .include <bsd.port.mk> |