mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
- 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@)
This commit is contained in:
parent
3c8b98f0c7
commit
859fea0cea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339784
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user