- Stage support

This commit is contained in:
Martin Wilke 2014-02-05 08:26:37 +00:00
parent 5b3cdb79f0
commit fbef5a1036
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342657

View file

@ -23,17 +23,13 @@ PLIST_SUB+= PROFILE="@comment "
PLIST_SUB+= PROFILE="" PLIST_SUB+= PROFILE=""
.endif .endif
NO_STAGE= yes
post-patch: post-patch:
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \ @${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
${FILESDIR}/Makefile > ${WRKSRC}/Makefile ${FILESDIR}/Makefile > ${WRKSRC}/Makefile
post-install: post-install:
.ifndef(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR}
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
.endif
.include <bsd.port.mk> .include <bsd.port.mk>