openbsd-ports/x11/gnome/libgnomecanvasmm/Makefile
jasper 7af8f3fbb2 convert these gnome ports to use the new x11/gnome module.
this module is now mature enough to be used in new ports too.

feedback and ok martynas@
2007-07-05 22:50:10 +00:00

38 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.5 2007/07/05 22:50:10 jasper Exp $
COMMENT= C++ interface to the graphics library for GNOME
GNOME_PROJECT= libgnomecanvasmm
GNOME_VERSION= 2.16.0
PKGNAME= ${DISTNAME}p2
SHARED_LIBS= gnomecanvasmm-2.6 0.0 # .1.6
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender art_lgpl_2 atk-1.0 cairo cairomm-1.0 expat \
fontconfig 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 \
x11/gnome
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
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>