aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/webfonts
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
committermiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
commitbce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch)
treef5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /x11-fonts/webfonts
parent2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff)
downloadfreebsd-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 'x11-fonts/webfonts')
-rw-r--r--x11-fonts/webfonts/Makefile6
-rw-r--r--x11-fonts/webfonts/pkg-plist2
2 files changed, 4 insertions, 4 deletions
diff --git a/x11-fonts/webfonts/Makefile b/x11-fonts/webfonts/Makefile
index e282f302f87b..4789dafa5188 100644
--- a/x11-fonts/webfonts/Makefile
+++ b/x11-fonts/webfonts/Makefile
@@ -43,11 +43,11 @@ EXTRACT_AFTER_ARGS=
#
FONTNAME= ${PORTNAME}
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
-TTFONTSDIR?= ${X11BASE}/lib/X11/fonts/TrueType
+TTFONTSDIR?= ${LOCALBASE}/lib/X11/fonts/TrueType
PLIST_SUB= FONTNAME="${FONTNAME}" \
FONTSDIR="${FONTSDIR:S|${PREFIX}/||}" \
- TTFONTSDIR="${TTFONTSDIR:S|${X11BASE}/||}"
+ TTFONTSDIR="${TTFONTSDIR:S|${LOCALBASE}/||}"
SUB_LIST= FONTSDIR="${FONTSDIR}" DOCSDIR="${DOCSDIR}"
SUB_FILES= pkg-message
@@ -108,7 +108,7 @@ do-install:
#
post-install:
${ECHO_MSG} "===> Running fc-cache"
- -${X11BASE}/bin/fc-cache -f -v ${FONTSDIR}
+ -${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
${ECHO_MSG}
${CAT} ${PKGMESSAGE}
${ECHO_MSG}
diff --git a/x11-fonts/webfonts/pkg-plist b/x11-fonts/webfonts/pkg-plist
index 8db024244000..8f5627afe9e6 100644
--- a/x11-fonts/webfonts/pkg-plist
+++ b/x11-fonts/webfonts/pkg-plist
@@ -37,4 +37,4 @@
%%DOCSDIR%%/LICENSE
@dirrm %%DOCSDIR%%
@dirrm %%FONTSDIR%%
-@exec %%X11BASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true
+@exec %%LOCALBASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true