aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-02-15 23:54:00 +0800
committerpav <pav@FreeBSD.org>2005-02-15 23:54:00 +0800
commit59d4faca84826f9db1d301882f2dc540d2704094 (patch)
tree3638809c22fe87e21bed32d6d9e9eeeec5f0ac4d /x11-fonts
parent9c504f376e3d162054e525538d8c4270792363bc (diff)
downloadfreebsd-ports-gnome-59d4faca84826f9db1d301882f2dc540d2704094.tar.gz
freebsd-ports-gnome-59d4faca84826f9db1d301882f2dc540d2704094.tar.zst
freebsd-ports-gnome-59d4faca84826f9db1d301882f2dc540d2704094.zip
- Avoid dependency on X libraries [1]
- Portlint PR: ports/77503 [1] Submitted by: Rui Lopes <rui@ruilopes.com>
Diffstat (limited to 'x11-fonts')
-rw-r--r--x11-fonts/bitstream-vera/Makefile3
-rw-r--r--x11-fonts/bitstream-vera/pkg-plist6
2 files changed, 5 insertions, 4 deletions
diff --git a/x11-fonts/bitstream-vera/Makefile b/x11-fonts/bitstream-vera/Makefile
index b60e3083e0d3..bcc51023c092 100644
--- a/x11-fonts/bitstream-vera/Makefile
+++ b/x11-fonts/bitstream-vera/Makefile
@@ -7,6 +7,7 @@
PORTNAME= bitstream-vera
PORTVERSION= 1.10
+PORTREVISION= 1
CATEGORIES= x11-fonts
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/ttf-${PORTNAME}/1.10
@@ -20,7 +21,7 @@ BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig
USE_BZIP2= yes
-USE_X_PREFIX= yes
+PREFIX?= ${X11BASE}
NO_BUILD= yes
PLIST_SUB= FONTSDIR="${FONTSDIR:S|${PREFIX}/||}"
diff --git a/x11-fonts/bitstream-vera/pkg-plist b/x11-fonts/bitstream-vera/pkg-plist
index da031112bd6c..defc5ac3d58f 100644
--- a/x11-fonts/bitstream-vera/pkg-plist
+++ b/x11-fonts/bitstream-vera/pkg-plist
@@ -13,9 +13,9 @@ etc/fonts/local.conf-vera
%%FONTSDIR%%/VeraMono.ttf
%%FONTSDIR%%/VeraSe.ttf
%%FONTSDIR%%/VeraSeBd.ttf
-%%PORTDOCS%%share/doc/bitstream-vera/README.TXT
-%%PORTDOCS%%share/doc/bitstream-vera/RELEASENOTES.TXT
-%%PORTDOCS%%@dirrm share/doc/bitstream-vera
+%%PORTDOCS%%%%DOCSDIR%%/README.TXT
+%%PORTDOCS%%%%DOCSDIR%%/RELEASENOTES.TXT
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@unexec /bin/rm %D/%%FONTSDIR%%/fonts.cache-1 2>/dev/null || /usr/bin/true
@dirrm %%FONTSDIR%%
@exec %%X11BASE%%/bin/fc-cache -f -v %%FONTSDIR%% || /usr/bin/true