svn commit: r348217 - head/www/ttf2eot
Emanuel Haupt
ehaupt at FreeBSD.org
Fri Mar 14 12:30:57 UTC 2014
Author: ehaupt
Date: Fri Mar 14 12:30:56 2014
New Revision: 348217
URL: http://svnweb.freebsd.org/changeset/ports/348217
QAT: https://qat.redports.org/buildarchive/r348217/
Log:
Support staging
Modified:
head/www/ttf2eot/Makefile
Modified: head/www/ttf2eot/Makefile
==============================================================================
--- head/www/ttf2eot/Makefile Fri Mar 14 12:27:50 2014 (r348216)
+++ head/www/ttf2eot/Makefile Fri Mar 14 12:30:56 2014 (r348217)
@@ -15,15 +15,14 @@ ALL_TARGET= ttf2eot
PLIST_FILES= bin/ttf2eot
PORTDOCS= README
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|g++|${CXX}|' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ttf2eot ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/ttf2eot ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list