- Stage support
This commit is contained in:
parent
fbef5a1036
commit
e11a69fd49
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342659
1 changed files with 3 additions and 5 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue