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