freebsd-ports/x11-toolkits/gtkmm24/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gtkmm2
# Date created: 30 September 2002
# Whom: Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
#
1999-08-31 05:04:38 +02:00
# $FreeBSD$
# $MCom: ports/x11-toolkits/gtkmm24/Makefile,v 1.20 2006/08/22 03:45:28 marcus Exp $
#
2000-04-16 07:18:00 +02:00
PORTNAME= gtkmm
2007-05-02 02:19:27 +02:00
PORTVERSION= 2.10.10
PORTREVISION?= 1
CATEGORIES= x11-toolkits
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
2003-01-01 20:12:52 +01:00
DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= C++ wrapper for Gtk+, Pango, Atk
USE_BZIP2= yes
LATEST_LINK= gtkmm24
.if !defined(REFERENCE_PORT)
LIB_DEPENDS= glibmm-2.4.1:${PORTSDIR}/devel/glibmm \
cairomm-1.0.1:${PORTSDIR}/graphics/cairomm
BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4
USE_GMAKE= yes
USE_GCC= 3.4+
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
2004-11-02 05:14:19 +01:00
USE_GNOME= gnomehack gtk20
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --disable-demos \
--disable-docs \
--disable-examples \
--enable-static=yes \
--with-sigc-prefix=${LOCALBASE}
PLIST_SUB= VERSION="2.4" API_VERSION="2.4"
post-patch:
@${REINPLACE_CMD} -e '/^SUBDIRS =/s/tests//' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|demo[$$][(]EXEEXT[)]|gtkmm-demo$$(EXEEXT)|g' \
${WRKSRC}/demos/gtk-demo/Makefile.in
.include <bsd.port.mk>
.endif