openbsd-ports/x11/gnome/libgnomecanvasmm/Makefile

44 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2007/02/11 00:56:58 steven Exp $
COMMENT= "C++ interface to the graphics library for GNOME"
DISTNAME= libgnomecanvasmm-2.16.0
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= gnomecanvasmm-2.6 0.0 # .1.6
CATEGORIES= x11/gnome
HOMEPAGE= http://www.gnome.org
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libgnomecanvasmm/2.16/}
EXTRACT_SUFX= .tar.bz2
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xrender art_lgpl_2 atk-1.0 cairo fontconfig \
ICE SM freetype gdk-x11-2.0 gdk_pixbuf-2.0 gtk-x11-2.0 \
glib-2.0 glitz gmodule-2.0 gobject-2.0 m \
pango-1.0 pangocairo-1.0 pangoft2-1.0 png z
MODULES= devel/gettext
LIB_DEPENDS= glibmm-2.4:glib2mm->=2.8:devel/glib2mm \
sigc-2.0:libsigc++-2.*:devel/libsigc++-2 \
gtkmm-2.4.>=3,gdkmm-2.4.>=3,atkmm-1.6.>=3,pangomm-1.4.>=3::x11/gtk2mm \
gnomecanvas-2::x11/gnome/libgnomecanvas
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-gtk-doc \
--enable-static
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib \
-L${X11BASE}/lib"
.include <bsd.port.mk>