openbsd-ports/x11/gtk+2/Makefile
bernd 857b51da70 Minor update to gtk+2-2.8.19.
Bugs fixed:
 341327	Memory corruption inside glib
 337491	_gdk_win32_drawable_release_dc: DeleteDC()
        called on a GetDC() handle
 343425	"grab-notify"-signal is not correctly propagated
        for internal children
 344244	Window resizing not working when keeping the
        aspect fixed
 344496	CRLF converting via Clipboard

Sync PLIST with gettext while I'm here.

testing & ok steven@
2006-06-19 17:59:02 +00:00

63 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.39 2006/06/19 17:59:02 bernd Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "multi-platform graphical toolkit"
COMMENT-docs= "gtk+-2 documentation"
VERSION= 2.8.19
DISTNAME= gtk+-${VERSION}
PKGNAME= gtk+2-${VERSION}
PKGNAME-docs= gtk+2-docs-${VERSION}
CATEGORIES= x11 devel
HOMEPAGE= http://www.gtk.org
SHARED_LIBS= gdk-x11-2.0 802.1 \
gdk_pixbuf-2.0 802.1 \
gdk_pixbuf_xlib-2.0 802.1 \
gtk-x11-2.0 802.1
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk+/2.8/}
EXTRACT_SUFX= .tar.bz2
MULTI_PACKAGES= -docs
SUBPACKAGE?=
.if ${SUBPACKAGE} != "-docs"
WANTLIB= X11 Xcursor Xext Xfixes Xi Xinerama Xrender \
Xrandr c cairo fontconfig freetype glitz m z
MODULES= devel/gettext
LIB_DEPENDS= glib-2.0.1000.0,gmodule-2.0.1000.0,gobject-2.0.1000.0::devel/glib2 \
pango-1.0.1200.0,pangocairo-1.0.1200.0,pangoft2-1.0.1200.0::devel/pango \
atk-1.0.0.1::devel/atk \
tiff.35::graphics/tiff \
png.3::graphics/png \
jpeg.62::graphics/jpeg
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
RUN_DEPENDS= ::x11/hicolor-icon-theme
.endif
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
PKG_ARCH= *
.endif
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ARGS+= --with-xinput=yes
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include/freetype2/ -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
LDFLAGS="-L${LOCALBASE}/lib" \
PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig"
.include <bsd.port.mk>