1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Avoid dependency on X libraries [1]

- Portlint

PR:		ports/77503 [1]
Submitted by:	Rui Lopes <rui@ruilopes.com>
This commit is contained in:
Pav Lucistnik 2005-02-15 15:54:00 +00:00
parent cd97e6b3a8
commit 0a2695ab60
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=128928
2 changed files with 5 additions and 4 deletions

View File

@ -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}/||}"

View File

@ -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