aboutsummaryrefslogtreecommitdiff
path: root/japanese/font-mona-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-mona-ipa
parent933717f6b8016e9addd9d2c98e4f081c58e550dd (diff)
downloadports-81cd33b2839a329ac06b3639c7726351b0030d72.tar.gz
ports-81cd33b2839a329ac06b3639c7726351b0030d72.zip
Notes
Diffstat (limited to 'japanese/font-mona-ipa')
-rw-r--r--japanese/font-mona-ipa/Makefile8
-rw-r--r--japanese/font-mona-ipa/pkg-plist8
2 files changed, 7 insertions, 9 deletions
diff --git a/japanese/font-mona-ipa/Makefile b/japanese/font-mona-ipa/Makefile
index 300eef0e6657..9abb37180109 100644
--- a/japanese/font-mona-ipa/Makefile
+++ b/japanese/font-mona-ipa/Makefile
@@ -38,11 +38,11 @@ do-install:
${MKDIR} ${PREFIX}/${LOCAL_FONTSDIR}/TTF/
${LN} -s -f \
${DATADIR}/fonts/ipa*-mona.ttf \
- ${LOCALBASE}/${LOCAL_FONTSDIR}/TTF/
- ${MKDIR} ${LOCALBASE}/${X_FONTSDIR}/TTF
+ ${PREFIX}/${LOCAL_FONTSDIR}/TTF/
+ ${MKDIR} ${PREFIX}/${X_FONTSDIR}/TTF
${LN} -s -f \
${DATADIR}/fonts/ipa*-mona.ttf \
- ${LOCALBASE}/${X_FONTSDIR}/TTF/
+ ${PREFIX}/${X_FONTSDIR}/TTF/
${INSTALL_DATA} ${FILESDIR}/20-unhint-mona-ipa.conf \
${FILESDIR}/62-fonts-mona-ipa.conf \
${PREFIX}/etc/fonts/conf.avail
@@ -56,7 +56,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-mona-ipa/pkg-plist b/japanese/font-mona-ipa/pkg-plist
index 815934221b6b..222d661f5756 100644
--- a/japanese/font-mona-ipa/pkg-plist
+++ b/japanese/font-mona-ipa/pkg-plist
@@ -1,4 +1,4 @@
-@comment $FreeBSD: /tmp/pcvs/ports/japanese/font-mona-ipa/pkg-plist,v 1.1 2009-11-29 17:53:18 hrs Exp $
+@comment $FreeBSD: /tmp/pcvs/ports/japanese/font-mona-ipa/pkg-plist,v 1.2 2010-09-30 19:40:16 hrs Exp $
%%DATADIR%%/ppd/OPVP-HP-Color_LaserJet_5500.ppd
%%DATADIR%%/ppd/OPVP-HP-Color_LaserJet_4600.ppd
%%DATADIR%%/ppd/Makefile.in
@@ -95,10 +95,8 @@
@dirrmtry %%LOCAL_FONTSDIR%%
etc/fonts/conf.avail/20-unhint-mona-ipa.conf
etc/fonts/conf.avail/62-fonts-mona-ipa.conf
-@exec ln -s -f ../conf.avail/20-unhint-mona-ipa.conf %D/etc/fonts/conf.d/20-unhint-mona-ipa.conf
-@exec ln -s -f ../conf.avail/62-fonts-mona-ipa.conf %D/etc/fonts/conf.d/62-fonts-mona-ipa.conf
-@unexec rm -f %D/etc/fonts/conf.d/20-unhint-mona-ipa.conf
-@unexec rm -f %D/etc/fonts/conf.d/62-fonts-mona-ipa.conf
+etc/fonts/conf.d/20-unhint-mona-ipa.conf
+etc/fonts/conf.d/62-fonts-mona-ipa.conf
%%X_FONTSDIR%%/TTF/ipag-mona.ttf
%%X_FONTSDIR%%/TTF/ipagp-mona.ttf
%%X_FONTSDIR%%/TTF/ipagui-mona.ttf