diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2008-04-19 17:56:05 +0000 |
commit | 3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch) | |
tree | d573ea09b2bf6be67cb497df199932da9e2707c4 /japanese/ipa-ttfonts | |
parent | 40049f4af2200d0dcf33596508688623fc75f764 (diff) | |
download | ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip |
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
Notes
Notes:
svn path=/head/; revision=211584
Diffstat (limited to 'japanese/ipa-ttfonts')
-rw-r--r-- | japanese/ipa-ttfonts/Makefile | 6 | ||||
-rw-r--r-- | japanese/ipa-ttfonts/pkg-plist | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/japanese/ipa-ttfonts/Makefile b/japanese/ipa-ttfonts/Makefile index 2592d9250c72..2617ef488a75 100644 --- a/japanese/ipa-ttfonts/Makefile +++ b/japanese/ipa-ttfonts/Makefile @@ -43,10 +43,10 @@ do-install: ${LN} -s -f \ ${DATADIR}/fonts/ipa*.ttf ${DATADIR}/fonts/M+*.ttf \ ${LOCALBASE}/${LOCAL_FONTSDIR}/TrueType/ - ${MKDIR} ${X11BASE}/${X_FONTSDIR}/TrueType + ${MKDIR} ${LOCALBASE}/${X_FONTSDIR}/TrueType ${LN} -s -f \ ${DATADIR}/fonts/ipa*.ttf ${DATADIR}/fonts/M+*.ttf \ - ${X11BASE}/${X_FONTSDIR}/TrueType/ + ${LOCALBASE}/${X_FONTSDIR}/TrueType/ ${MKDIR} ${PREFIX}/etc/fonts/conf.d ${INSTALL_DATA} ${FILESDIR}/20-unhint-ipattfonts.conf \ ${FILESDIR}/62-fonts-ipattfonts.conf \ @@ -57,7 +57,7 @@ do-install: .endif post-install: - ${X11BASE}/bin/fc-cache -f -v ${X11BASE}/${X_FONTSDIR}/TrueType + ${LOCALBASE}/bin/fc-cache -f -v ${LOCALBASE}/${X_FONTSDIR}/TrueType ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include <bsd.port.mk> diff --git a/japanese/ipa-ttfonts/pkg-plist b/japanese/ipa-ttfonts/pkg-plist index 24553e9f9d4e..ec83895db07b 100644 --- a/japanese/ipa-ttfonts/pkg-plist +++ b/japanese/ipa-ttfonts/pkg-plist @@ -81,7 +81,6 @@ %%LOCAL_FONTSDIR%%/TrueType/M+1P+IPAG-circle.ttf @dirrmtry %%LOCAL_FONTSDIR%%/TrueType @dirrmtry %%LOCAL_FONTSDIR%% -@cwd %%X11BASE%% etc/fonts/conf.d/20-unhint-ipattfonts.conf etc/fonts/conf.d/62-fonts-ipattfonts.conf %%X_FONTSDIR%%/TrueType/ipag.ttf @@ -95,8 +94,8 @@ etc/fonts/conf.d/62-fonts-ipattfonts.conf %%X_FONTSDIR%%/TrueType/M+1VM+IPAG-circle.ttf %%X_FONTSDIR%%/TrueType/M+1P+IPAG.ttf %%X_FONTSDIR%%/TrueType/M+1P+IPAG-circle.ttf -@exec %%X11BASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true -@unexec %%X11BASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true +@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true +@unexec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true @unexec rm -f %D/%%X_FONTSDIR%%/TrueType/fonts.cache-1 @dirrmtry %%X_FONTSDIR%%/TrueType -@unexec if [ -d %D/%%X_FONTSDIR%%/TrueType ]; then %%X11BASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true; fi +@unexec if [ -d %D/%%X_FONTSDIR%%/TrueType ]; then %%LOCALBASE%%/bin/fc-cache -f -v %D/%%X_FONTSDIR%%/TrueType || true; fi |