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/gtkmm20/Makefile,v 1.11 2006/09/10 00:51:17 mezz Exp $
|
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
|
2009-07-31 15:57:52 +02:00
|
|
|
PORTREVISION?= 10
|
1998-09-01 00:01:46 +02:00
|
|
|
CATEGORIES= x11-toolkits
|
2009-08-23 18:02:28 +02:00
|
|
|
MASTER_SITES= GNOME/sources/${PORTNAME}/2.2
|
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
|
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
|
|
|
|
2006-05-11 21:59:09 +02:00
|
|
|
USE_BZIP2= yes
|
|
|
|
LATEST_LINK= gtkmm2
|
|
|
|
|
|
|
|
.if !defined(REFERENCE_PORT)
|
|
|
|
|
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
|
|
|
|
|
2009-08-02 21:36:34 +02:00
|
|
|
USE_AUTOTOOLS= libtool:22
|
1998-09-01 00:01:46 +02:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_LDCONFIG= 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
|
|
|
post-patch:
|
2008-03-26 06:03:31 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|glib/gmessages.h|glib/gtestutils.h|g' \
|
|
|
|
${WRKSRC}/glib/src/*.ccg ${WRKSRC}/glib/glibmm/*.* \
|
|
|
|
${WRKSRC}/gtk/src/*.* ${WRKSRC}/gtk/gtkmm/*.* \
|
|
|
|
${WRKSRC}/demos/gtk-demo/*.cc
|
2006-05-11 21:59:09 +02:00
|
|
|
.for d in docs examples tests
|
|
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/${d}//' ${WRKSRC}/Makefile.in
|
|
|
|
.endfor
|
2003-07-08 01:36:40 +02:00
|
|
|
|
1999-08-22 21:46:45 +02:00
|
|
|
.include <bsd.port.mk>
|
2006-05-11 21:59:09 +02:00
|
|
|
|
|
|
|
.endif
|