2006-01-09 22:04:01 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2006/01/10 03:04:01 naddy Exp $
|
2003-08-15 17:07:05 -04:00
|
|
|
|
|
|
|
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
|
2002-07-25 05:42:35 -04:00
|
|
|
|
2002-08-11 07:03:27 -04:00
|
|
|
COMMENT= "multi-platform graphical toolkit"
|
|
|
|
COMMENT-docs= "gtk+-2 documentation"
|
2002-07-25 05:42:35 -04:00
|
|
|
|
2006-01-07 02:10:18 -05:00
|
|
|
VERSION= 2.6.10
|
2002-08-11 07:03:27 -04:00
|
|
|
DISTNAME= gtk+-${VERSION}
|
2006-01-09 22:04:01 -05:00
|
|
|
PKGNAME= gtk+2-${VERSION}p1
|
2006-01-07 02:13:14 -05:00
|
|
|
PKGNAME-docs= gtk+2-docs-${VERSION}p0
|
2002-08-11 07:03:27 -04:00
|
|
|
CATEGORIES= x11 devel
|
2002-07-25 05:42:35 -04:00
|
|
|
|
2002-08-11 07:03:27 -04:00
|
|
|
HOMEPAGE= http://www.gtk.org
|
2002-12-22 23:59:47 -05:00
|
|
|
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
2002-07-25 05:42:35 -04:00
|
|
|
|
2006-01-07 02:10:18 -05:00
|
|
|
SHARED_LIBS= gdk-x11-2.0 801.0 \
|
|
|
|
gdk_pixbuf-2.0 801.0 \
|
|
|
|
gdk_pixbuf_xlib-2.0 801.0 \
|
|
|
|
gtk-x11-2.0 801.0
|
2006-01-03 02:33:36 -05:00
|
|
|
|
2002-07-25 05:42:35 -04:00
|
|
|
# LGPL
|
2002-08-11 07:03:27 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2002-07-25 05:42:35 -04:00
|
|
|
|
2006-01-07 02:10:18 -05:00
|
|
|
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.6/ \
|
|
|
|
${MASTER_SITE_GNOME:=sources/gtk+/2.6/}
|
2002-08-11 07:03:27 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-07-25 05:42:35 -04:00
|
|
|
|
2002-08-11 07:03:27 -04:00
|
|
|
MULTI_PACKAGES= -docs
|
2002-07-25 05:42:35 -04:00
|
|
|
SUBPACKAGE?=
|
|
|
|
|
|
|
|
.if ${SUBPACKAGE} != "-docs"
|
2006-01-07 02:10:18 -05:00
|
|
|
WANTLIB= X11 Xcursor Xext Xfixes Xft Xinerama Xrender \
|
|
|
|
c fontconfig freetype m z
|
2004-12-07 01:20:46 -05:00
|
|
|
MODULES= devel/gettext
|
|
|
|
|
2005-11-13 01:23:58 -05:00
|
|
|
LIB_DEPENDS= glib-2.0.800.0,gmodule-2.0.800.0,gobject-2.0.800.0::devel/glib2 \
|
2006-01-07 02:10:18 -05:00
|
|
|
pango-1.0.1000.0,pangoft2-1.0.1000.0,pangoxft-1.0.1001.0,pangox-1.0.1001.0::devel/pango \
|
2003-06-12 15:26:36 -04:00
|
|
|
atk-1.0.0.1::devel/atk \
|
2002-08-11 07:03:27 -04:00
|
|
|
tiff.35::graphics/tiff \
|
|
|
|
png.3::graphics/png \
|
2003-02-18 12:36:04 -05:00
|
|
|
jpeg.62::graphics/jpeg
|
2002-08-11 07:03:27 -04:00
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2002-07-25 05:42:35 -04:00
|
|
|
.endif
|
|
|
|
|
2004-02-04 02:39:18 -05:00
|
|
|
.if defined(PACKAGING) && ${SUBPACKAGE} == "-docs"
|
|
|
|
PKG_ARCH= *
|
|
|
|
.endif
|
|
|
|
|
2002-08-11 07:03:27 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
2005-05-24 17:29:11 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2002-08-11 07:03:27 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk-doc
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include/freetype2/ -I${LOCALBASE}/include -I${LOCALBASE}/include/libpng" \
|
2004-12-07 01:20:46 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
PKG_CONFIG_PATH="${LOCALBASE}/lib/pkgconfig:${X11BASE}/lib/pkgconfig"
|
2002-08-11 07:03:27 -04:00
|
|
|
|
2002-07-25 05:42:35 -04:00
|
|
|
.include <bsd.port.mk>
|