diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-02-20 01:38:32 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-02-20 01:38:32 +0000 |
commit | d084353d6f9983c679e27f78f84b81ef89dff3eb (patch) | |
tree | 3be2a171d97a37a433411e0cb1abff95f7e44cf9 /x11-fonts/bitstream-vera/Makefile | |
parent | 8095ef5bb43e143836a2efca903b9c3bd3a9ea19 (diff) | |
download | ports-d084353d6f9983c679e27f78f84b81ef89dff3eb.tar.gz ports-d084353d6f9983c679e27f78f84b81ef89dff3eb.zip |
Notes
Diffstat (limited to 'x11-fonts/bitstream-vera/Makefile')
-rw-r--r-- | x11-fonts/bitstream-vera/Makefile | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/x11-fonts/bitstream-vera/Makefile b/x11-fonts/bitstream-vera/Makefile index 69c58973fd26..d079680e7499 100644 --- a/x11-fonts/bitstream-vera/Makefile +++ b/x11-fonts/bitstream-vera/Makefile @@ -7,6 +7,7 @@ PORTNAME= bitstream-vera PORTVERSION= 1.0 +PORTREVISION= 1 CATEGORIES= x11-fonts MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.0 @@ -15,8 +16,6 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@freebsd.org COMMENT= Bitstream Vera collection of 10 TrueType fonts -BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig - USE_BZIP2= yes USE_X_PREFIX= yes NO_BUILD= yes @@ -38,10 +37,6 @@ FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME} .SILENT: -# -# Post-patch -# - post-patch: ${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE} @@ -55,11 +50,16 @@ install-fonts: ${MKDIR} ${FONTSDIR} ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR} ${INSTALL_DATA} ${FILESDIR}/fonts.dir ${FONTSDIR} + ${INSTALL_DATA} ${FILESDIR}/fonts.cache-1 ${FONTSDIR} ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.TXT ${FONTSDIR} install-conf: ${MKDIR} ${PREFIX}/etc/fonts - ${INSTALL_DATA} ${WRKSRC}/local.conf ${PREFIX}/etc/fonts + if [ ! -f ${PREFIX}/etc/fonts/local.conf ]; then \ + ${INSTALL_DATA} ${WRKSRC}/local.conf ${PREFIX}/etc/fonts ; \ + fi + ${INSTALL_DATA} ${WRKSRC}/local.conf \ + ${PREFIX}/etc/fonts/local.conf-vera install-docs: .if !defined(NOPORTDOCS) @@ -67,17 +67,7 @@ install-docs: ${INSTALL_DATA} ${WRKSRC}/Bitstream_Vera_Fonts_README.html ${DOCSDIR} .endif -# -# Post-install -# - -post-install: run-fc-cache display-message - -run-fc-cache: - ${ECHO_MSG} "===> Running fc-cache" - -${X11BASE}/bin/fc-cache -f -v - -display-message: +post-install: ${ECHO_MSG} ${CAT} ${PKGMESSAGE} ${ECHO_MSG} |