aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-ipa-uigothic
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-ipa-uigothic
parent933717f6b8016e9addd9d2c98e4f081c58e550dd (diff)
downloadports-81cd33b2839a329ac06b3639c7726351b0030d72.tar.gz
ports-81cd33b2839a329ac06b3639c7726351b0030d72.zip
Notes
Diffstat (limited to 'japanese/font-ipa-uigothic')
-rw-r--r--japanese/font-ipa-uigothic/Makefile8
-rw-r--r--japanese/font-ipa-uigothic/pkg-plist6
2 files changed, 6 insertions, 8 deletions
diff --git a/japanese/font-ipa-uigothic/Makefile b/japanese/font-ipa-uigothic/Makefile
index 08fd0395f379..3baa699636d8 100644
--- a/japanese/font-ipa-uigothic/Makefile
+++ b/japanese/font-ipa-uigothic/Makefile
@@ -39,11 +39,11 @@ do-install:
${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/TTF
${LN} -s -f \
${DATADIR}/ipagui.ttf \
- ${LOCALBASE}/${LOCAL_FONTSDIR}/TTF/
- ${MKDIR} ${LOCALBASE}/${X_FONTSDIR}/TTF
+ ${PREFIX}/${LOCAL_FONTSDIR}/TTF/
+ ${MKDIR} ${PREFIX}/${X_FONTSDIR}/TTF
${LN} -s -f \
${DATADIR}/ipagui.ttf \
- ${LOCALBASE}/${X_FONTSDIR}/TTF/
+ ${PREFIX}/${X_FONTSDIR}/TTF/
${INSTALL_DATA} ${FILESDIR}/20-unhint-ipa-uigothic.conf \
${FILESDIR}/62-fonts-ipa-uigothic.conf \
${PREFIX}/etc/fonts/conf.avail
@@ -57,7 +57,7 @@ do-install:
.endif
post-install:
- ${LOCALBASE}/bin/fc-cache -f -v ${LOCALBASE}/${X_FONTSDIR}/TTF
+ ${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${X_FONTSDIR}/TTF
${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
diff --git a/japanese/font-ipa-uigothic/pkg-plist b/japanese/font-ipa-uigothic/pkg-plist
index a037b97a398d..9269df2f11d4 100644
--- a/japanese/font-ipa-uigothic/pkg-plist
+++ b/japanese/font-ipa-uigothic/pkg-plist
@@ -6,10 +6,8 @@
@dirrmtry %%LOCAL_FONTSDIR%%
etc/fonts/conf.avail/20-unhint-ipa-uigothic.conf
etc/fonts/conf.avail/62-fonts-ipa-uigothic.conf
-@exec ln -s -f ../conf.avail/20-unhint-ipa-uigothic.conf %D/etc/fonts/conf.d/20-unhint-ipa-uigothic.conf
-@exec ln -s -f ../conf.avail/62-fonts-ipa-uigothic.conf %D/etc/fonts/conf.d/62-fonts-ipa-uigothic.conf
-@unexec rm -f %D/etc/fonts/conf.d/20-unhint-ipa-uigothic.conf
-@unexec rm -f %D/etc/fonts/conf.d/62-fonts-ipa-uigothic.conf
+etc/fonts/conf.d/20-unhint-ipa-uigothic.conf
+etc/fonts/conf.d/62-fonts-ipa-uigothic.conf
%%X_FONTSDIR%%/TTF/ipagui.ttf
@exec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true
@unexec %%LOCALBASE%%/bin/fc-cache -s -f -v %D/%%X_FONTSDIR%%/TTF || true