Stage support

This commit is contained in:
Antoine Brodin 2014-02-02 00:17:35 +00:00
parent 3e118a2f87
commit b80ea0dc05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342227

View file

@ -20,13 +20,10 @@ USE_GNOME= glib20 libxml2
PORTDOCS= AUTHORS COPYING ChangeLog README
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} -p ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>