2006-10-18 17:18:30 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2006/10/18 21:18:30 wilfried Exp $
|
2005-11-02 18:53:22 -05:00
|
|
|
|
|
|
|
COMMENT= "C++ interface for gtk2+"
|
|
|
|
COMMENT-docs= "C++ interface for gtk2+ documentation"
|
|
|
|
|
2006-10-18 17:18:30 -04:00
|
|
|
VERSION= 2.8.9
|
2005-11-02 18:53:22 -05:00
|
|
|
DISTNAME= gtkmm-${VERSION}
|
2006-06-14 14:37:10 -04:00
|
|
|
PKGNAME= gtk2mm-${VERSION}
|
2005-11-03 05:07:42 -05:00
|
|
|
PKGNAME-docs= gtk2mm-docs-${VERSION}
|
2005-11-02 18:53:22 -05:00
|
|
|
CATEGORIES= devel x11
|
|
|
|
|
2006-10-18 17:18:30 -04:00
|
|
|
SHARED_LIBS= atkmm-1.6 4.0 \
|
|
|
|
gdkmm-2.4 4.0 \
|
|
|
|
gtkmm-2.4 4.0 \
|
|
|
|
pangomm-1.4 4.0
|
2005-12-29 19:35:13 -05:00
|
|
|
|
2005-11-02 18:53:22 -05:00
|
|
|
HOMEPAGE= http://www.gtkmm.org/
|
|
|
|
|
|
|
|
MAINTAINER= Peter Stromberg <wilfried@openbsd.org>
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-06-14 14:37:10 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtkmm/2.8/}
|
2005-11-02 18:53:22 -05:00
|
|
|
|
|
|
|
MULTI_PACKAGES= -docs
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
2005-11-15 04:21:50 -05:00
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2005-11-02 18:53:22 -05:00
|
|
|
|
|
|
|
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
|
|
|
|
PKG_ARCH= *
|
|
|
|
.else
|
2006-09-18 08:19:39 -04:00
|
|
|
WANTLIB= X11 Xext Xrender atk-1.0 fontconfig freetype \
|
|
|
|
glib-2.0 gmodule-2.0 gobject-2.0 m z \
|
|
|
|
pango-1.0 pangocairo-1.0 \
|
|
|
|
pangoft2-1.0 sigc-2.0 cairo glitz png
|
2006-01-16 12:06:25 -05:00
|
|
|
MODULES= devel/gettext
|
2006-10-18 17:18:30 -04:00
|
|
|
LIB_DEPENDS= glibmm-2.4:glib2mm->=2.8:devel/glib2mm \
|
|
|
|
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0:gtk+2->=2.8:x11/gtk+2
|
2005-11-02 18:53:22 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-static
|
|
|
|
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/scripts
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|