aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-mplus-ipa
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2010-09-30 19:40:16 +0000
committerHiroki Sato <hrs@FreeBSD.org>2010-09-30 19:40:16 +0000
commit81cd33b2839a329ac06b3639c7726351b0030d72 (patch)
tree7637c41a90b27847decf299cb3f87958c6d43fea /japanese/font-mplus-ipa
parent933717f6b8016e9addd9d2c98e4f081c58e550dd (diff)
downloadports-81cd33b2839a329ac06b3639c7726351b0030d72.tar.gz
ports-81cd33b2839a329ac06b3639c7726351b0030d72.zip
Notes
Diffstat (limited to 'japanese/font-mplus-ipa')
-rw-r--r--japanese/font-mplus-ipa/Makefile8
-rw-r--r--japanese/font-mplus-ipa/pkg-plist6
2 files changed, 6 insertions, 8 deletions
diff --git a/japanese/font-mplus-ipa/Makefile b/japanese/font-mplus-ipa/Makefile
index 73b68664d047..385533b3eff7 100644
--- a/japanese/font-mplus-ipa/Makefile
+++ b/japanese/font-mplus-ipa/Makefile
@@ -41,10 +41,10 @@ do-install:
${DATADIR}
${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/TTF
${LN} -s -f ${DATADIR}/fonts/M+*.ttf \
- ${LOCALBASE}/${LOCAL_FONTSDIR}/TTF/
- ${MKDIR} ${LOCALBASE}/${X_FONTSDIR}/TTF
+ ${PREFIX}/${LOCAL_FONTSDIR}/TTF/
+ ${MKDIR} ${PREFIX}/${X_FONTSDIR}/TTF
${LN} -s -f ${DATADIR}/fonts/M+*.ttf \
- ${LOCALBASE}/${X_FONTSDIR}/TTF/
+ ${PREFIX}/${X_FONTSDIR}/TTF/
${INSTALL_DATA} ${FILESDIR}/20-unhint-mplus-ipa.conf \
${FILESDIR}/62-fonts-mplus-ipa.conf \
${PREFIX}/etc/fonts/conf.avail
@@ -58,7 +58,7 @@ do-install:
.endif
post-install:
- ${LOCALBASE}/bin/fc-cache -s -f -v ${LOCALBASE}/${X_FONTSDIR}/TTF
+ ${LOCALBASE}/bin/fc-cache -s -f -v ${PREFIX}/${X_FONTSDIR}/TTF
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
diff --git a/japanese/font-mplus-ipa/pkg-plist b/japanese/font-mplus-ipa/pkg-plist
index 9e960cc0637b..b7d3ed0ed65e 100644
--- a/japanese/font-mplus-ipa/pkg-plist
+++ b/japanese/font-mplus-ipa/pkg-plist
@@ -78,10 +78,8 @@
@dirrmtry %%LOCAL_FONTSDIR%%
etc/fonts/conf.avail/20-unhint-mplus-ipa.conf
etc/fonts/conf.avail/62-fonts-mplus-ipa.conf
-@exec ln -s -f ../conf.avail/20-unhint-mplus-ipa.conf %D/etc/fonts/conf.d/20-unhint-mplus-ipa.conf
-@exec ln -s -f ../conf.avail/62-fonts-mplus-ipa.conf %D/etc/fonts/conf.d/62-fonts-mplus-ipa.conf
-@unexec rm -f %D/etc/fonts/conf.d/20-unhint-mplus-ipa.conf
-@unexec rm -f %D/etc/fonts/conf.d/62-fonts-mplus-ipa.conf
+etc/fonts/conf.d/20-unhint-mplus-ipa.conf
+etc/fonts/conf.d/62-fonts-mplus-ipa.conf
%%X_FONTSDIR%%/TTF/M+2VM+IPAG-circle.ttf
%%X_FONTSDIR%%/TTF/M+2P+IPAG.ttf
%%X_FONTSDIR%%/TTF/M+2P+IPAG-circle.ttf