2002-05-13 14:50:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2002/05/13 18:50:39 espie Exp $
|
2001-09-13 16:44:34 -04:00
|
|
|
|
|
|
|
COMMENT= "library for loading GLADE interface files at runtime"
|
2001-11-14 16:08:45 -05:00
|
|
|
V= 0.17
|
2001-09-13 16:44:34 -04:00
|
|
|
DISTNAME= libglade-${V}
|
|
|
|
CATEGORIES= devel
|
2001-11-14 16:08:45 -05:00
|
|
|
NEED_VERSION= 1.497
|
2001-09-13 16:44:34 -04:00
|
|
|
HOMEPAGE= http://www.gnome.org
|
|
|
|
MAINTAINER= Nils Nordman <nino@nforced.com>
|
|
|
|
|
2002-05-13 14:50:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/libglade/}
|
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
|
|
|
|
|
|
|
|
FLAVORS= gnome
|
|
|
|
FLAVOR?=
|
|
|
|
|
2001-10-24 21:58:54 -04:00
|
|
|
MODULES= gettext
|
|
|
|
LIB_DEPENDS= xml.9::textproc/libxml1 \
|
2001-10-24 08:13:44 -04:00
|
|
|
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
|
|
|
|
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}
|
2001-10-24 08:13:44 -04:00
|
|
|
LIB_DEPENDS+= gnome.36,art_lgpl,gnomesupport,gnomeui::x11/gnome/libs
|
2001-09-13 16:44:34 -04:00
|
|
|
CONFIGURE_ARGS+= --with-gnome
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-gnome
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2001-09-16 18:18:59 -04:00
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mgnome} && !defined(NO_SHARED_LIBS)
|
|
|
|
SED_PLIST+=-e '/%%SHARED-gnome%%/r${PKGDIR}/PFRAG.gnome.shared' -e '//d'
|
2001-11-14 16:08:45 -05:00
|
|
|
.elif ${FLAVOR:L:Mgnome}
|
2001-09-16 18:18:59 -04:00
|
|
|
SED_PLIST+=-e '/%%SHARED-gnome%%/d'
|
|
|
|
.endif
|