diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2013-04-30 23:55:58 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2013-04-30 23:55:58 +0000 |
commit | 055d8bf3ff4b98a50dc0edb16887162f67fffec6 (patch) | |
tree | 61084997fb15ccad600240c71257942a57332a16 /japanese/font-ipaex | |
parent | d5e6d0d886b36d0cd24fd8081fa523f4bad0575c (diff) | |
download | ports-055d8bf3ff4b98a50dc0edb16887162f67fffec6.tar.gz ports-055d8bf3ff4b98a50dc0edb16887162f67fffec6.zip |
Notes
Diffstat (limited to 'japanese/font-ipaex')
-rw-r--r-- | japanese/font-ipaex/Makefile | 20 | ||||
-rw-r--r-- | japanese/font-ipaex/pkg-descr | 2 |
2 files changed, 14 insertions, 8 deletions
diff --git a/japanese/font-ipaex/Makefile b/japanese/font-ipaex/Makefile index e95f89a76ba0..643c6a6b4156 100644 --- a/japanese/font-ipaex/Makefile +++ b/japanese/font-ipaex/Makefile @@ -2,6 +2,7 @@ PORTNAME= ipaex PORTVERSION= 00201 +PORTREVISION= 1 CATEGORIES= japanese x11-fonts MASTER_SITES= http://info.openlab.ipa.go.jp/ipafont/fontdata/7bf84182a04a9632268dbcb03f100d05/ PKGNAMEPREFIX= ja-font- @@ -20,12 +21,17 @@ SUB_FILES= pkg-install SUB_LIST= X_FONTSDIR=${PREFIX}/${X_FONTSDIR} PLIST_SUB= X_FONTSDIR=${X_FONTSDIR} \ LOCAL_FONTSDIR=${LOCAL_FONTSDIR} +DATADIR= ${PREFIX}/share/font-${PORTNAME} PORTDOCS= IPA_Font_License_Agreement_v1.0.txt \ Readme_IPAexfont${PORTVERSION}.txt LOCAL_FONTSDIR= share/fonts X_FONTSDIR= lib/X11/fonts +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + post-extract: cd ${WRKSRC} && for F in *.ttf; do ${MV} $${F} $${F%.ttf}.otf; done @@ -40,14 +46,14 @@ do-install: ${LN} -s -f \ ${DATADIR}/ipaex*.otf \ ${PREFIX}/${X_FONTSDIR}/OTF/ - ${INSTALL_DATA} ${FILESDIR}/20-unhint-ipaex.conf \ - ${FILESDIR}/62-fonts-ipaex.conf \ + ${INSTALL_DATA} ${FILESDIR}/20-unhint-${PORTNAME}.conf \ + ${FILESDIR}/62-fonts-${PORTNAME}.conf \ ${PREFIX}/etc/fonts/conf.avail - ${LN} -s -f ../conf.avail/20-unhint-ipaex.conf \ - ${PREFIX}/etc/fonts/conf.d/20-unhint-ipaex.conf - ${LN} -s -f ../conf.avail/62-fonts-ipaex.conf \ - ${PREFIX}/etc/fonts/conf.d/62-fonts-ipaex.conf -.if !defined(NOPORTDOCS) + ${LN} -s -f ../conf.avail/20-unhint-${PORTNAME}.conf \ + ${PREFIX}/etc/fonts/conf.d/20-unhint-${PORTNAME}.conf + ${LN} -s -f ../conf.avail/62-fonts-${PORTNAME}.conf \ + ${PREFIX}/etc/fonts/conf.d/62-fonts-${PORTNAME}.conf +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif diff --git a/japanese/font-ipaex/pkg-descr b/japanese/font-ipaex/pkg-descr index 0298ce8ca80a..b7c7baebbb1b 100644 --- a/japanese/font-ipaex/pkg-descr +++ b/japanese/font-ipaex/pkg-descr @@ -8,4 +8,4 @@ printing font tradition, namely, Japanese characters (Kanji, Kana and punctuation marks) are full width mono-space pitch, and Western characters are proportional pitch. -WWW: http://ossipedia.ipa.go.jp/ipafont/index.html +WWW: http://ossipedia.ipa.go.jp/ipafont/index.html |