diff options
author | hrs <hrs@FreeBSD.org> | 2010-10-01 03:40:16 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2010-10-01 03:40:16 +0800 |
commit | 2c70230681aaf34879d460a161bcdd190a3de98e (patch) | |
tree | 34c036c228b9ea6da6cb118caec3b3441adfdff4 /japanese/font-mplus-ipa | |
parent | ee2437cad30643bed1023a3ee474baea422bea73 (diff) | |
download | freebsd-ports-gnome-2c70230681aaf34879d460a161bcdd190a3de98e.tar.gz freebsd-ports-gnome-2c70230681aaf34879d460a161bcdd190a3de98e.tar.zst freebsd-ports-gnome-2c70230681aaf34879d460a161bcdd190a3de98e.zip |
Fix PREFIX/LOCALBASE confusion.
PR: ports/146247
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 | 6 |
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 |