openbsd-ports/x11/gnome/libgnomeprintui/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

40 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.20 2007/07/05 22:50:11 jasper Exp $
COMMENT= user interface components for libgnomeprint
GNOME_PROJECT= libgnomeprintui
GNOME_VERSION= 2.18.0
SHARED_LIBS += gnomeprintui-2-2 2.0 # .1.0
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org/projects/gnome-print/
# 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 expat fontconfig freetype \
gdk-x11-2.0 gdk_pixbuf-2.0 glib-2.0 glitz gmodule-2.0 \
gobject-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 png xml2 z
MODULES= devel/gettext \
x11/gnome
BUILD_DEPENDS= :libglade2->=2.0.0:devel/libglade2 \
:gnome-icon-theme->=1.2.0:x11/gnome/icon-theme
RUN_DEPENDS= :gnome-icon-theme->=1.2.0:x11/gnome/icon-theme
LIB_DEPENDS= gnomecanvas-2::x11/gnome/libgnomecanvas \
gnomeprint-2-2::x11/gnome/libgnomeprint
USE_X11= Yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
SUBST_VARS= VERSION
.include <bsd.port.mk>