mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
- Stage support
This commit is contained in:
parent
5b3cdb79f0
commit
fbef5a1036
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342657
@ -23,17 +23,13 @@ PLIST_SUB+= PROFILE="@comment "
|
||||
PLIST_SUB+= PROFILE=""
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
|
||||
@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
|
||||
${FILESDIR}/Makefile > ${WRKSRC}/Makefile
|
||||
|
||||
post-install:
|
||||
.ifndef(NOPORTDOCS)
|
||||
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
|
||||
.endif
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user