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$
|
2006-10-14 10:54:54 +02:00
|
|
|
# $MCom: ports/x11-toolkits/gtkmm24/Makefile,v 1.20 2006/08/22 03:45:28 marcus Exp $
|
1998-09-01 00:01:46 +02:00
|
|
|
#
|
|
|
|
|
2000-04-16 07:18:00 +02:00
|
|
|
PORTNAME= gtkmm
|
2007-05-02 02:19:27 +02:00
|
|
|
PORTVERSION= 2.10.10
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION?= 1
|
1998-09-01 00:01:46 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
2005-07-05 19:16:53 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
|
|
|
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
|
2003-01-01 20:12:52 +01:00
|
|
|
DIST_SUBDIR= gnome2
|
1998-09-01 00:01:46 +02:00
|
|
|
|
2001-05-11 18:36:50 +02:00
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
2004-06-26 09:14:01 +02:00
|
|
|
COMMENT= C++ wrapper for Gtk+, Pango, Atk
|
1998-09-01 00:01:46 +02:00
|
|
|
|
2006-05-11 23:35:25 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
LATEST_LINK= gtkmm24
|
|
|
|
|
|
|
|
.if !defined(REFERENCE_PORT)
|
|
|
|
|
2006-10-14 10:54:54 +02:00
|
|
|
LIB_DEPENDS= glibmm-2.4.1:${PORTSDIR}/devel/glibmm \
|
|
|
|
cairomm-1.0.1:${PORTSDIR}/graphics/cairomm
|
1998-09-01 00:01:46 +02:00
|
|
|
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2007-05-24 08:07:46 +02:00
|
|
|
USE_GCC= 3.4+
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_LDCONFIG= yes
|
2004-11-02 05:14:19 +01:00
|
|
|
USE_GNOME= gnomehack gtk20
|
2006-10-14 10:54:54 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2005-12-17 22:33:36 +01:00
|
|
|
CONFIGURE_ARGS= --disable-demos \
|
2006-05-11 23:35:25 +02:00
|
|
|
--disable-docs \
|
|
|
|
--disable-examples \
|
2005-12-17 22:33:36 +01:00
|
|
|
--enable-static=yes \
|
2000-10-14 12:58:54 +02:00
|
|
|
--with-sigc-prefix=${LOCALBASE}
|
1998-09-01 00:01:46 +02:00
|
|
|
|
2004-06-26 09:14:01 +02:00
|
|
|
PLIST_SUB= VERSION="2.4" API_VERSION="2.4"
|
|
|
|
|
2003-07-08 01:36:40 +02:00
|
|
|
post-patch:
|
2003-09-30 08:52:45 +02:00
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/tests//' \
|
|
|
|
${WRKSRC}/Makefile.in
|
2006-10-14 10:54:54 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|demo[$$][(]EXEEXT[)]|gtkmm-demo$$(EXEEXT)|g' \
|
|
|
|
${WRKSRC}/demos/gtk-demo/Makefile.in
|
2003-07-08 01:36:40 +02:00
|
|
|
|
1999-08-22 21:46:45 +02:00
|
|
|
.include <bsd.port.mk>
|
2006-05-11 23:35:25 +02:00
|
|
|
|
|
|
|
.endif
|