2002-05-13 19:31:24 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2002/05/13 23:31:24 espie Exp $
|
2001-04-01 16:18:06 -04:00
|
|
|
|
2002-03-23 01:22:17 -05:00
|
|
|
COMMENT= "GdkPixbuf graphics library"
|
|
|
|
COMMENT-gnome= "GdkPixbuf graphics library (GNOME Canvas)"
|
2000-12-26 07:52:18 -05:00
|
|
|
|
2002-03-23 01:22:17 -05:00
|
|
|
VERSION= 0.10.1
|
|
|
|
DISTNAME= gdk-pixbuf-${VERSION}
|
2002-03-25 23:14:34 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
|
|
|
PKGNAME-gnome= gdk-pixbuf-gnome-${VERSION}p1
|
2000-12-26 07:52:18 -05:00
|
|
|
CATEGORIES= graphics
|
2002-02-25 13:39:41 -05:00
|
|
|
NEED_VERSION= 1.500
|
2002-05-13 19:31:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=unstable/sources/gdk-pixbuf/}
|
2000-12-26 07:52:18 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://developer.gnome.org/arch/imaging/gdkpixbuf.html
|
|
|
|
|
|
|
|
MAINTAINER= Tom Knienieder <tom@knienieder.com>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-12-10 16:29:16 -05:00
|
|
|
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltconfig \
|
|
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltmain_sh \
|
|
|
|
patch-*
|
|
|
|
|
2000-12-26 07:52:18 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
|
|
|
CONFIGURE_STYLE= gnu
|
2002-02-25 13:39:41 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --enable-static \
|
2002-03-23 01:22:17 -05:00
|
|
|
--disable-modules \
|
|
|
|
--disable-mmx
|
2000-12-26 07:52:18 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2002-03-23 01:22:17 -05:00
|
|
|
FLAVORS= no_gnome
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
MULTI_PACKAGES=
|
|
|
|
.if !${FLAVOR:L:Mno_gnome}
|
|
|
|
MULTI_PACKAGES+= -gnome
|
|
|
|
.endif
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
|
|
|
LIB_DEPENDS+= jpeg.62::graphics/jpeg \
|
|
|
|
png.2::graphics/png \
|
|
|
|
tiff.35.::graphics/tiff \
|
|
|
|
gtk.1.2,gdk.1.2::x11/gtk+
|
|
|
|
|
2002-04-07 13:25:36 -04:00
|
|
|
.if defined(PACKAGING)
|
|
|
|
. if ${SUBPACKAGE} == "-gnome"
|
2001-10-24 08:19:22 -04:00
|
|
|
LIB_DEPENDS+= gnome.36,art_lgpl,gnomesupport,gnomeui::x11/gnome/libs
|
2002-04-07 13:25:36 -04:00
|
|
|
. endif
|
|
|
|
.else
|
|
|
|
. if ${MULTI_PACKAGES:M-gnome}
|
|
|
|
LIB_DEPENDS+= gnome.36,art_lgpl,gnomesupport,gnomeui::x11/gnome/libs
|
|
|
|
. endif
|
2002-03-23 01:22:17 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MULTI_PACKAGES:M-gnome}
|
2001-09-13 16:35:34 -04:00
|
|
|
CONFIGURE_ARGS+= --with-gnome
|
|
|
|
.endif
|
|
|
|
|
2000-12-26 07:52:18 -05:00
|
|
|
pre-patch:
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs perl -pi -e \
|
|
|
|
's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \
|
|
|
|
s|\$$\(datadir\)/aclocal|\$$\(prefix\)/share/aclocal|g'
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|