aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-22 17:57:15 +0800
committerbapt <bapt@FreeBSD.org>2014-04-22 17:57:15 +0800
commitdc29287529223bd945e9ae248bb92c0cdf2eb3cb (patch)
treed31694384fbce7ff3ba66bf52270a1d6661f45f7
parentb59a5225ed1fefd262e8d41580c0c44053f603d5 (diff)
downloadfreebsd-ports-gnome-dc29287529223bd945e9ae248bb92c0cdf2eb3cb.tar.gz
freebsd-ports-gnome-dc29287529223bd945e9ae248bb92c0cdf2eb3cb.tar.zst
freebsd-ports-gnome-dc29287529223bd945e9ae248bb92c0cdf2eb3cb.zip
Support stage
-rw-r--r--x11-toolkits/pure-gtk/Makefile19
1 files changed, 5 insertions, 14 deletions
diff --git a/x11-toolkits/pure-gtk/Makefile b/x11-toolkits/pure-gtk/Makefile
index c35ca0ebc0af..6be618d4c1db 100644
--- a/x11-toolkits/pure-gtk/Makefile
+++ b/x11-toolkits/pure-gtk/Makefile
@@ -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>