- Stage support

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

View file

@ -17,18 +17,16 @@ USE_PERL5= configure
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
${RM} ${WRKSRC}/lib/SNMP_Session.pm.orig
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in README README.SNMP_util index.html
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>