summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gtkmm24
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2004-07-08 14:42:03 +0000
committerbland <bland@FreeBSD.org>2004-07-08 14:42:03 +0000
commitfa7458864b338ce19dbfc9cc7eeec1abe55a1f23 (patch)
treedb32a9fbf7bbcb4de567213200b68a5988860868 /x11-toolkits/gtkmm24
parent83a074f99b1630d0894dceb8301bebfbb2a8599c (diff)
downloadFreeBSD-ports-fa7458864b338ce19dbfc9cc7eeec1abe55a1f23.zip
FreeBSD-ports-fa7458864b338ce19dbfc9cc7eeec1abe55a1f23.tar.gz
- Fix examples build trigger.
- Axe yet more build but not install stuff.
Diffstat (limited to 'x11-toolkits/gtkmm24')
-rw-r--r--x11-toolkits/gtkmm24/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/x11-toolkits/gtkmm24/Makefile b/x11-toolkits/gtkmm24/Makefile
index 8152579..71002b7a 100644
--- a/x11-toolkits/gtkmm24/Makefile
+++ b/x11-toolkits/gtkmm24/Makefile
@@ -36,20 +36,20 @@ CONFIGURE_ARGS= --enable-static=yes \
PLIST_SUB= VERSION="2.4" API_VERSION="2.4"
.if defined(WITH_EXAMPLES)
+CONFIGURE_ARGS+=--enable-examples
PLIST_SUB+= EXAMPLES=""
.else
+CONFIGURE_ARGS+=--disable-examples
PLIST_SUB+= EXAMPLES="@comment "
.endif
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/tests//' \
+ -e '/^SUBDIRS =/s/demos//' \
${WRKSRC}/Makefile.in
-.if !defined(WITH_EXAMPLES)
- @${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \
- ${WRKSRC}/Makefile.in
-.endif
.if defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e 's/^SUBDIRS = /docs//' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e '/^SUBDIRS =/s/docs//' \
+ ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud