2006-10-28 07:19:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.21 2006/10/28 11:19:21 espie Exp $
|
2001-09-13 16:44:34 -04:00
|
|
|
|
|
|
|
COMMENT= "library for loading GLADE interface files at runtime"
|
2002-09-20 04:15:15 -04:00
|
|
|
|
|
|
|
DISTNAME= libglade-0.17
|
2006-01-03 09:55:18 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2006-10-28 07:19:20 -04:00
|
|
|
SHARED_LIBS += glade 5.0 # .5.0
|
|
|
|
SHARED_LIBS += glade-gnome 5.0 # .5.0
|
2006-01-03 09:55:18 -05:00
|
|
|
|
2001-09-13 16:44:34 -04:00
|
|
|
CATEGORIES= devel
|
2002-09-20 04:15:15 -04:00
|
|
|
|
2001-09-13 16:44:34 -04:00
|
|
|
HOMEPAGE= http://www.gnome.org
|
2002-12-03 17:45:32 -05:00
|
|
|
MAINTAINER= Jim Geovedi <jim@corebsd.or.id>
|
2001-09-13 16:44:34 -04:00
|
|
|
|
2002-09-20 04:15:15 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libglade/0.17/}
|
2001-09-13 16:44:34 -04:00
|
|
|
|
2001-11-14 16:08:45 -05:00
|
|
|
# GPL
|
2001-09-13 16:44:34 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 16:34:27 -05:00
|
|
|
WANTLIB= X11 Xext Xi glib gmodule m z
|
2001-09-13 16:44:34 -04:00
|
|
|
|
|
|
|
FLAVORS= gnome
|
|
|
|
FLAVOR?=
|
|
|
|
|
2004-08-10 08:42:21 -04:00
|
|
|
MODULES= devel/gettext
|
2006-08-01 18:55:52 -04:00
|
|
|
LIB_DEPENDS= xml.>=9::textproc/libxml1 \
|
|
|
|
gtk.>=1.2,gdk.>=1.2::x11/gtk+
|
2001-09-13 16:44:34 -04:00
|
|
|
|
2001-11-14 16:08:45 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
2001-09-13 16:44:34 -04:00
|
|
|
USE_X11= Yes
|
2006-01-03 09:55:18 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2001-09-13 16:44:34 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
2001-11-14 16:08:45 -05:00
|
|
|
CONFIGURE_ARGS+= --disable-gnomedb
|
2001-09-13 16:44:34 -04:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mgnome}
|
2006-08-01 18:55:52 -04:00
|
|
|
LIB_DEPENDS+= gnome.>=36,art_lgpl,gnomesupport,gnomeui::x11/gnome/libs
|
2004-11-23 16:34:27 -05:00
|
|
|
WANTLIB+= ICE SM audiofile esd gdk_imlib jpeg png tiff ungif
|
2001-09-13 16:44:34 -04:00
|
|
|
CONFIGURE_ARGS+= --with-gnome
|
2006-01-03 09:55:18 -05:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2001-09-13 16:44:34 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gnome
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|