Support stage

This commit is contained in:
Baptiste Daroussin 2014-04-22 09:57:15 +00:00
parent 4528beeecd
commit 3f20069b39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351790

View File

@ -14,30 +14,21 @@ COMMENT= Set of Pure language bindings for GTK+
LICENSE= GPLv3 LGPL3
LICENSE_COMB= dual
LIB_DEPENDS= cairo:${PORTSDIR}/graphics/cairo
LIB_DEPENDS= libcairo.so:${PORTSDIR}/graphics/cairo
USES= pkgconfig pure:ffi
USE_GNOME= glib20 gtk20 atk pango
NO_STAGE= yes
PORTDOCS= README
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>