aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/gtkmm24/Makefile
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-11 21:35:25 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-11 21:35:25 +0000
commit3c063d4c7e242c68860be279ae95b9da2a6c7d4a (patch)
tree2b513b92d7a4b90f459e3cf42fbedecb6fa7c3cd /x11-toolkits/gtkmm24/Makefile
parentd42673d705cd6ada425a0d9f53dde56f9da36b53 (diff)
downloadports-3c063d4c7e242c68860be279ae95b9da2a6c7d4a.tar.gz
ports-3c063d4c7e242c68860be279ae95b9da2a6c7d4a.zip
Notes
Diffstat (limited to 'x11-toolkits/gtkmm24/Makefile')
-rw-r--r--x11-toolkits/gtkmm24/Makefile29
1 files changed, 13 insertions, 16 deletions
diff --git a/x11-toolkits/gtkmm24/Makefile b/x11-toolkits/gtkmm24/Makefile
index f708d987bf39..8b13e034feb9 100644
--- a/x11-toolkits/gtkmm24/Makefile
+++ b/x11-toolkits/gtkmm24/Makefile
@@ -16,38 +16,35 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= C++ wrapper for Gtk+, Pango, Atk
+USE_BZIP2= yes
+PREFIX?= ${X11BASE}
+LATEST_LINK= gtkmm24
+
+.if !defined(REFERENCE_PORT)
+
+PORTREVISION= 1
+
LIB_DEPENDS= glibmm-2.4.1:${PORTSDIR}/devel/glibmm
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
-LATEST_LINK= gtkmm24
-
-USE_BZIP2= yes
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_GMAKE= yes
USE_GCC= 3.4
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
USE_GNOME= gnomehack gtk20
CONFIGURE_ARGS= --disable-demos \
+ --disable-docs \
+ --disable-examples \
--enable-static=yes \
--with-sigc-prefix=${LOCALBASE}
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
-
-.if defined(NOPORTDOCS)
-CONFIGURE_ARGS+=--disable-docs
-.endif
-
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/tests//' \
${WRKSRC}/Makefile.in
.include <bsd.port.mk>
+
+.endif