openbsd-ports/x11/gtk2mm/Makefile
2005-11-09 20:05:36 +00:00

54 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2005/11/09 20:05:36 wilfried Exp $
COMMENT= "C++ interface for gtk2+"
COMMENT-docs= "C++ interface for gtk2+ documentation"
VERSION= 2.6.4
DISTNAME= gtkmm-${VERSION}
PKGNAME= gtk2mm-${VERSION}p1
PKGNAME-docs= gtk2mm-docs-${VERSION}
CATEGORIES= devel x11
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 Xft Xrender fontconfig freetype m atk-1.0.0.0 glib-2.0.0.0 \
gmodule-2.0.0.0 gobject-2.0.0.0 pango-1.0.0.0 pangoft2-1.0.0.0 \
pangox-1.0.0.0 pangoxft-1.0.0.0 sigc-2.0.0.0
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>