svn commit: r347383 - head/x11-fonts/bitstream-vera
Martin Wilke
miwi at FreeBSD.org
Fri Mar 7 13:45:57 UTC 2014
Author: miwi
Date: Fri Mar 7 13:45:56 2014
New Revision: 347383
URL: http://svnweb.freebsd.org/changeset/ports/347383
QAT: https://qat.redports.org/buildarchive/r347383/
Log:
- Stage support
Thanks to: antoine
Modified:
head/x11-fonts/bitstream-vera/Makefile
Modified: head/x11-fonts/bitstream-vera/Makefile
==============================================================================
--- head/x11-fonts/bitstream-vera/Makefile Fri Mar 7 13:45:37 2014 (r347382)
+++ head/x11-fonts/bitstream-vera/Makefile Fri Mar 7 13:45:56 2014 (r347383)
@@ -32,38 +32,20 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
FONTNAME= ${PORTNAME}
FONTSDIR?= ${PREFIX}/lib/X11/fonts/${FONTNAME}
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-.SILENT:
-
post-patch:
${SED} 's|%%FONTSDIR%%|${FONTSDIR}|g' ${MSG_FILE} > ${PKGMESSAGE}
-#
-# Install
-#
-
do-install: install-fonts install-docs
install-fonts:
- ${MKDIR} ${FONTSDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.ttf ${FONTSDIR}
- ${INSTALL_DATA} ${FILESDIR}/fonts.dir ${FONTSDIR}
- ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.TXT ${FONTSDIR}
+ ${MKDIR} ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.ttf ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${FILESDIR}/fonts.dir ${STAGEDIR}${FONTSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT.TXT ${STAGEDIR}${FONTSDIR}
install-docs:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/RELEASENOTES.TXT ${DOCSDIR}
-.endif
-
-post-install:
- ${ECHO_MSG} "===> Running fc-cache"
- -${LOCALBASE}/bin/fc-cache -f -v ${FONTSDIR}
- ${ECHO_MSG}
- ${CAT} ${PKGMESSAGE}
- ${ECHO_MSG}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.TXT ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/RELEASENOTES.TXT ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list