openbsd-ports/x11/gtksourceview/Makefile
jasper 4503e98760 - update gtksourceview to 2.8.1
ok giovanni@ (MAINTAINER), aja@
2009-10-02 14:04:24 +00:00

46 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.36 2009/10/02 14:04:24 jasper Exp $
COMMENT= text widget that extends GTK2's GtkTextView widget
MAJOR_VERSION= 2.0
GNOME_PROJECT= gtksourceview
GNOME_VERSION= 2.8.1
SHARED_LIBS += gtksourceview-2.0 4.0 # .0.0
CATEGORIES= x11
SUBST_VARS= MAJOR_VERSION
HOMEPAGE= http://gtksourceview.sourceforge.net/
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
# GPLv2/LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
WANTLIB += freetype gio-2.0 glib-2.0 glitz gmodule-2.0 gobject-2.0
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += png pthread-stubs xcb z
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= xml2:libxml-*:textproc/libxml \
gtk-x11-2.0,gdk_pixbuf-2.0,gdk-x11-2.0::x11/gtk+2
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>