2002-10-12 07:33:02 +00:00
|
|
|
# New ports collection makefile for: gtkmm2
|
|
|
|
# Date created: 30 September 2002
|
|
|
|
# Whom: Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
|
1998-08-31 22:01:46 +00:00
|
|
|
#
|
1999-08-31 03:04:38 +00:00
|
|
|
# $FreeBSD$
|
1998-08-31 22:01:46 +00:00
|
|
|
#
|
|
|
|
|
2000-04-16 05:18:00 +00:00
|
|
|
PORTNAME= gtkmm
|
2004-06-04 18:52:07 +00:00
|
|
|
PORTVERSION= 2.2.12
|
1998-08-31 22:01:46 +00:00
|
|
|
CATEGORIES= x11-toolkits
|
2003-01-01 19:12:52 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME} \
|
|
|
|
${MASTER_SITE_SOURCEFORGE}
|
2003-02-08 03:33:52 +00:00
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.2 \
|
2003-01-01 19:12:52 +00:00
|
|
|
gtkmm
|
|
|
|
DIST_SUBDIR= gnome2
|
1998-08-31 22:01:46 +00:00
|
|
|
|
2001-05-11 16:36:50 +00:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2003-05-22 07:39:16 +00:00
|
|
|
COMMENT= C++ wrapper for Gtk+, Pango, Atk, and Glib
|
1998-08-31 22:01:46 +00:00
|
|
|
|
2003-04-22 05:02:24 +00:00
|
|
|
LIB_DEPENDS= sigc-1.2.5:${PORTSDIR}/devel/libsigc++12
|
1998-08-31 22:01:46 +00:00
|
|
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
|
|
|
|
2003-07-21 23:59:30 +00:00
|
|
|
USE_BZIP2= yes
|
1999-08-15 06:50:01 +00:00
|
|
|
USE_X_PREFIX= yes
|
2003-06-19 22:01:45 +00:00
|
|
|
LATEST_LINK= gtkmm2
|
1998-08-31 22:01:46 +00:00
|
|
|
USE_GMAKE= yes
|
2004-07-09 17:43:11 +00:00
|
|
|
USE_INC_LIBTOOL_VER=13
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2003-07-07 23:36:40 +00:00
|
|
|
USE_REINPLACE= yes
|
2004-03-24 07:05:48 +00:00
|
|
|
USE_GNOME= gnomehack lthack gtk20
|
1999-05-12 11:37:22 +00:00
|
|
|
CONFIGURE_ARGS= --enable-static=yes \
|
2000-10-14 10:58:54 +00:00
|
|
|
--with-sigc-prefix=${LOCALBASE}
|
1998-08-31 22:01:46 +00:00
|
|
|
|
2003-07-07 23:36:40 +00:00
|
|
|
.if defined(WITH_EXAMPLES)
|
|
|
|
PLIST_SUB+= EXAMPLES=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= EXAMPLES="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-patch:
|
2003-09-30 06:52:45 +00:00
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/tests//' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2003-07-07 23:36:40 +00:00
|
|
|
.if !defined(WITH_EXAMPLES)
|
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
1999-08-22 19:46:45 +00:00
|
|
|
.include <bsd.port.mk>
|