diff options
Diffstat (limited to 'x11-fonts/bitstream-vera')
-rw-r--r-- | x11-fonts/bitstream-vera/Makefile | 10 | ||||
-rw-r--r-- | x11-fonts/bitstream-vera/pkg-plist | 4 |
2 files changed, 5 insertions, 9 deletions
diff --git a/x11-fonts/bitstream-vera/Makefile b/x11-fonts/bitstream-vera/Makefile index 98890ad29fe7..ca2970ad61ac 100644 --- a/x11-fonts/bitstream-vera/Makefile +++ b/x11-fonts/bitstream-vera/Makefile @@ -3,11 +3,12 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ +# $MCom: ports/x11-fonts/bitstream-vera/Makefile,v 1.2 2005/10/14 20:39:59 adamw Exp $ # PORTNAME= bitstream-vera PORTVERSION= 1.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-fonts MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/ttf-${PORTNAME}/1.10 @@ -56,12 +57,9 @@ install-fonts: ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.TXT ${FONTSDIR} install-conf: - ${MKDIR} ${PREFIX}/etc/fonts - if [ ! -f ${PREFIX}/etc/fonts/local.conf ]; then \ - ${INSTALL_DATA} ${WRKSRC}/local.conf ${PREFIX}/etc/fonts ; \ - fi + ${MKDIR} ${PREFIX}/etc/fonts/conf.d ${INSTALL_DATA} ${WRKSRC}/local.conf \ - ${PREFIX}/etc/fonts/local.conf-vera + ${PREFIX}/etc/fonts/conf.d/0.vera.conf install-docs: .if !defined(NOPORTDOCS) diff --git a/x11-fonts/bitstream-vera/pkg-plist b/x11-fonts/bitstream-vera/pkg-plist index defc5ac3d58f..30445c503b4f 100644 --- a/x11-fonts/bitstream-vera/pkg-plist +++ b/x11-fonts/bitstream-vera/pkg-plist @@ -1,6 +1,4 @@ -@unexec if cmp -s %D/etc/fonts/local.conf %D/etc/fonts/local.conf-vera; then rm -f %D/etc/fonts/local.conf; fi -etc/fonts/local.conf-vera -@exec [ ! -f %B/local.conf ] && cp %B/%f %B/local.conf +etc/fonts/conf.d/0.vera.conf %%FONTSDIR%%/COPYRIGHT.TXT %%FONTSDIR%%/fonts.dir %%FONTSDIR%%/Vera.ttf |