diff options
author | hrs <hrs@FreeBSD.org> | 2008-05-12 02:17:06 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2008-05-12 02:17:06 +0800 |
commit | a8500e015282a4363eff78bb1b3ff4be92159553 (patch) | |
tree | df89c12870cbeb139c6669dd4ced23d138421e00 /japanese/font-mplus-ipa | |
parent | 2169c8c1f3a0b4eff0a3f157a2b6b8b488cdae92 (diff) | |
download | freebsd-ports-gnome-a8500e015282a4363eff78bb1b3ff4be92159553.tar.gz freebsd-ports-gnome-a8500e015282a4363eff78bb1b3ff4be92159553.tar.zst freebsd-ports-gnome-a8500e015282a4363eff78bb1b3ff4be92159553.zip |
Use conf.avail/ directory and install symlinks into conf.d/ directory.
Diffstat (limited to 'japanese/font-mplus-ipa')
-rw-r--r-- | japanese/font-mplus-ipa/Makefile | 8 | ||||
-rw-r--r-- | japanese/font-mplus-ipa/pkg-plist | 8 |
2 files changed, 12 insertions, 4 deletions
diff --git a/japanese/font-mplus-ipa/Makefile b/japanese/font-mplus-ipa/Makefile index 2617ef488a75..7de7e150539d 100644 --- a/japanese/font-mplus-ipa/Makefile +++ b/japanese/font-mplus-ipa/Makefile @@ -7,6 +7,7 @@ PORTNAME= ipa-ttfonts PORTVERSION= 1.0.20060520.p1 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= japanese x11-fonts MASTER_SITES= ${MASTER_SITE_LOCAL} @@ -47,10 +48,13 @@ do-install: ${LN} -s -f \ ${DATADIR}/fonts/ipa*.ttf ${DATADIR}/fonts/M+*.ttf \ ${LOCALBASE}/${X_FONTSDIR}/TrueType/ - ${MKDIR} ${PREFIX}/etc/fonts/conf.d ${INSTALL_DATA} ${FILESDIR}/20-unhint-ipattfonts.conf \ ${FILESDIR}/62-fonts-ipattfonts.conf \ - ${PREFIX}/etc/fonts/conf.d + ${PREFIX}/etc/fonts/conf.avail + ${LN} -s -f ../conf.avail/20-unhint-ipattfonts.conf \ + ${PREFIX}/etc/fonts/conf.d/20-unhint-ipattfonts.conf + ${LN} -s -f ../conf.avail/62-fonts-ipattfonts.conf \ + ${PREFIX}/etc/fonts/conf.d/62-fonts-ipattfonts.conf .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} diff --git a/japanese/font-mplus-ipa/pkg-plist b/japanese/font-mplus-ipa/pkg-plist index ec83895db07b..c759c2934668 100644 --- a/japanese/font-mplus-ipa/pkg-plist +++ b/japanese/font-mplus-ipa/pkg-plist @@ -81,8 +81,12 @@ %%LOCAL_FONTSDIR%%/TrueType/M+1P+IPAG-circle.ttf @dirrmtry %%LOCAL_FONTSDIR%%/TrueType @dirrmtry %%LOCAL_FONTSDIR%% -etc/fonts/conf.d/20-unhint-ipattfonts.conf -etc/fonts/conf.d/62-fonts-ipattfonts.conf +etc/fonts/conf.avail/20-unhint-ipattfonts.conf +etc/fonts/conf.avail/62-fonts-ipattfonts.conf +@exec ln -s -f ../conf.avail/20-unhint-ipattfonts.conf %D/etc/fonts/conf.d/20-unhint-ipattfonts.conf +@exec ln -s -f ../conf.avail/62-fonts-ipattfonts.conf %D/etc/fonts/conf.d/62-fonts-ipattfonts.conf +@unexec rm -f %D/etc/fonts/conf.d/20-unhint-ipattfonts.conf +@unexec rm -f %D/etc/fonts/conf.d/62-fonts-ipattfonts.conf %%X_FONTSDIR%%/TrueType/ipag.ttf %%X_FONTSDIR%%/TrueType/ipagp.ttf %%X_FONTSDIR%%/TrueType/ipagui.ttf |