68 lines
1.6 KiB
Makefile
68 lines
1.6 KiB
Makefile
# $OpenBSD: Makefile,v 1.6 2005/12/30 00:35:13 naddy Exp $
|
|
|
|
COMMENT= "C++ interface for gtk2+"
|
|
COMMENT-docs= "C++ interface for gtk2+ documentation"
|
|
|
|
VERSION= 2.6.4
|
|
DISTNAME= gtkmm-${VERSION}
|
|
PKGNAME= gtk2mm-${VERSION}p3
|
|
PKGNAME-docs= gtk2mm-docs-${VERSION}
|
|
CATEGORIES= devel x11
|
|
|
|
SHARED_LIBS= atkmm-1.6 1.21 \
|
|
gdkmm-2.4 1.21 \
|
|
gtkmm-2.4 1.21 \
|
|
pangomm-1.4 1.21
|
|
MODGNU_SHARED_LIBS= atkmm-1.6 '' \
|
|
gdkmm-2.4 '' \
|
|
gtkmm-2.4 '' \
|
|
pangomm-1.4 ''
|
|
LIBatkmm-1.6_ALIAS= atkmm_1_6
|
|
LIBgdkmm-2.4_ALIAS= gdkmm_2_4
|
|
LIBgtkmm-2.4_ALIAS= gtkmm_2_4
|
|
LIBpangomm-1.4_ALIAS= pangomm_1_4
|
|
|
|
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
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtkmm/2.6/}
|
|
|
|
MULTI_PACKAGES= -docs
|
|
SUBPACKAGE?=
|
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
|
|
|
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
|
|
PKG_ARCH= *
|
|
.else
|
|
WANTLIB= X11 Xext Xrender atk-1.0.0.0 cairo fontconfig freetype \
|
|
glib-2.0.0.0 glitz gmodule-2.0.0.0 gobject-2.0.0.0 m \
|
|
pango-1.0.0.0 pangocairo-1.0.0.0 pangoft2-1.0.0.0 png \
|
|
sigc-2.0.0.0 z
|
|
MODULES= gettext
|
|
LIB_DEPENDS= glibmm-2.4.0.0:glib2mm->=2.4:devel/glib2mm \
|
|
gdk-x11-2.0.0.0,gdk_pixbuf-2.0.0.0,gtk-x11-2.0.0.0:gtk+2->=2.4:x11/gtk+2
|
|
.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
|
|
|
|
V= 2.6
|
|
SUBST_VARS= V
|
|
|
|
.include <bsd.port.mk>
|