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-ipa-uigothic | |
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-ipa-uigothic')
-rw-r--r-- | japanese/font-ipa-uigothic/Makefile | 8 | ||||
-rw-r--r-- | japanese/font-ipa-uigothic/pkg-plist | 6 |
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 |