devel/ahven: Convert to staging

This commit is contained in:
John Marino 2013-11-10 10:54:38 +00:00
parent e6b5385678
commit dda6fc27cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333372

View file

@ -14,12 +14,9 @@ BUILD_DEPENDS= adactl:${PORTSDIR}/lang/adacontrol
USES= ada
ALL_TARGET= build_all
DESTINY= ${WRKDIR}/destino
MAKE_ENV+= DESTDIR=${DESTINY}
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
@ -30,8 +27,7 @@ ALL_TARGET+= docs
.endif
post-install:
@${RM} -rf ${DESTINY}${PREFIX}/share/doc/ahven/html/_sources
@${RM} ${DESTINY}${PREFIX}/share/doc/ahven/html/.buildinfo
@${CP} -pR ${DESTINY}${PREFIX}/ ${PREFIX}/
@${RM} -rf ${STAGEDIR}${PREFIX}/share/doc/ahven/html/_sources
@${RM} ${STAGEDIR}${PREFIX}/share/doc/ahven/html/.buildinfo
.include <bsd.port.mk>