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