svn commit: r339784 - head/devel/silentbob
TAKATSU Tomonari
tota at FreeBSD.org
Wed Jan 15 15:20:22 UTC 2014
Author: tota
Date: Wed Jan 15 15:20:21 2014
New Revision: 339784
URL: http://svnweb.freebsd.org/changeset/ports/339784
QAT: https://qat.redports.org/buildarchive/r339784/
Log:
- Unmute INSTALL_DATA
- Make docs unconditional to stage
* Remove bsd.port.options.mk, accordingly
- Improve REINPLACE_CMD statement
Pointed out by: danfe@ (on ports-committers@ and svn-ports-all@)
Modified:
head/devel/silentbob/Makefile
Modified: head/devel/silentbob/Makefile
==============================================================================
--- head/devel/silentbob/Makefile Wed Jan 15 15:19:52 2014 (r339783)
+++ head/devel/silentbob/Makefile Wed Jan 15 15:20:21 2014 (r339784)
@@ -18,17 +18,13 @@ PLIST_FILES= bin/silentbob
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
@${RM} ${WRKSRC}/CMakeCache.txt
- @${REINPLACE_CMD} -e 's|/usr/lib/silent_bob/|${PREFIX}/lib/silent_bob/|' \
+ @${REINPLACE_CMD} -e '/lib\/silent_bob/s|/usr|${PREFIX}|' \
${WRKSRC}/src/init.cxx
-.if ${PORT_OPTIONS:MDOCS}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list