diff options
author | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
commit | bce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch) | |
tree | f5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /japanese/font-sazanami | |
parent | 2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff) | |
download | freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.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)
Diffstat (limited to 'japanese/font-sazanami')
-rw-r--r-- | japanese/font-sazanami/Makefile | 2 | ||||
-rw-r--r-- | japanese/font-sazanami/pkg-plist | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/japanese/font-sazanami/Makefile b/japanese/font-sazanami/Makefile index 988c0e1ae20e..32b801b0f3d3 100644 --- a/japanese/font-sazanami/Makefile +++ b/japanese/font-sazanami/Makefile @@ -69,7 +69,7 @@ do-install: .endif post-install: - ${X11BASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR} + ${LOCALBASE}/bin/fc-cache -f -v ${PREFIX}/${FONTSDIR} ${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL .include <bsd.port.mk> diff --git a/japanese/font-sazanami/pkg-plist b/japanese/font-sazanami/pkg-plist index e5f4c296e857..cd108e774532 100644 --- a/japanese/font-sazanami/pkg-plist +++ b/japanese/font-sazanami/pkg-plist @@ -18,7 +18,7 @@ etc/fonts/conf.d/3.sazanami-ttf.conf %%PORTDOCS%%@dirrm %%DOCSDIR%%/ayu %%PORTDOCS%%@dirrm %%DOCSDIR%%/kappa %%PORTDOCS%%@dirrm %%DOCSDIR%% -@exec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true +@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true @exec mkdir -p %%LOCALFONTSDIR%%/TrueType @exec ln -s -f %D/%%FONTSDIR%%/sazanami-mincho.ttf %%LOCALFONTSDIR%%/TrueType/sazanami-mincho.ttf @exec ln -s -f %D/%%FONTSDIR%%/sazanami-gothic.ttf %%LOCALFONTSDIR%%/TrueType/sazanami-gothic.ttf @@ -26,5 +26,5 @@ etc/fonts/conf.d/3.sazanami-ttf.conf @unexec rm -f %%LOCALFONTSDIR%%/TrueType/sazanami-gothic.ttf @unexec /bin/rmdir %%LOCALFONTSDIR%%/TrueType 2> /dev/null || true @unexec /bin/rmdir %%LOCALFONTSDIR%% 2> /dev/null || true -@unexec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true +@unexec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true @unexec if [ -s %D/%%FONTSDIR%%/fonts.cache-1 ]; then rm -f %D/%%FONTSDIR%%/fonts.cache-1; fi |