2009-10-20 04:11:39 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.36 2009/10/20 08:11:39 ajacoutot Exp $
|
2003-11-03 10:44:05 -05:00
|
|
|
|
2009-04-04 06:25:48 -04:00
|
|
|
COMMENT-main = SOAP implementation in C
|
|
|
|
COMMENT-gnome = GNOME specific libsoup parts
|
2003-11-03 10:44:05 -05:00
|
|
|
|
2009-04-04 06:25:48 -04:00
|
|
|
GNOME_PROJECT = libsoup
|
2009-10-20 04:11:39 -04:00
|
|
|
GNOME_VERSION = 2.28.1
|
|
|
|
|
2009-04-10 05:38:01 -04:00
|
|
|
PKGNAME-main = ${DISTNAME}
|
2009-04-04 06:25:48 -04:00
|
|
|
PKGNAME-gnome = ${GNOME_PROJECT}-gnome-${GNOME_VERSION}
|
2009-10-20 04:11:39 -04:00
|
|
|
|
2009-10-05 10:12:21 -04:00
|
|
|
SHARED_LIBS += soup-2.4 2.0 \
|
|
|
|
soup-gnome-2.4 1.1 # .4.0
|
2009-04-04 06:25:48 -04:00
|
|
|
API_VERSION = 2.4
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = http://live.gnome.org/LibSoup
|
|
|
|
|
|
|
|
MULTI_PACKAGES = -main -gnome
|
2003-11-03 10:44:05 -05:00
|
|
|
|
2008-06-02 12:42:47 -04:00
|
|
|
# LGPLv2
|
2008-05-11 08:26:13 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-04-04 06:25:48 -04:00
|
|
|
WANTLIB = gcrypt gpg-error m pcre tasn1 z
|
2008-04-30 07:22:11 -04:00
|
|
|
|
2009-04-04 06:25:48 -04:00
|
|
|
LIB_DEPENDS = gio-2.0,glib-2.0,gmodule-2.0,gobject-2.0,gthread-2.0::devel/glib2 \
|
2009-01-29 15:08:42 -05:00
|
|
|
gnutls.>=12::security/gnutls \
|
2009-04-04 06:25:48 -04:00
|
|
|
xml2.>=7::textproc/libxml
|
|
|
|
|
|
|
|
WANTLIB-gnome = ${WANTLIB-main} ORBit-2 dbus-1 dbus-glib-1 sqlite3
|
|
|
|
|
|
|
|
LIB_DEPENDS-gnome = ${LIB_DEPENDS-main} \
|
|
|
|
soup-2.4::${BUILD_PKGPATH},-main \
|
2009-10-05 10:12:21 -04:00
|
|
|
gnome-keyring::x11/gnome/keyring \
|
2009-04-04 06:25:48 -04:00
|
|
|
gconf-2::devel/gconf2 \
|
|
|
|
proxy::net/libproxy
|
2003-11-03 10:44:05 -05:00
|
|
|
|
2009-04-04 06:25:48 -04:00
|
|
|
MODULES = devel/gettext \
|
|
|
|
x11/gnome
|
2003-11-03 10:44:05 -05:00
|
|
|
|
2009-04-04 06:25:48 -04:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
2009-01-29 15:08:42 -05:00
|
|
|
--enable-ssl \
|
2009-04-04 06:25:48 -04:00
|
|
|
--disable-more-warnings \
|
2009-01-29 15:08:42 -05:00
|
|
|
--disable-gtk-doc
|
2009-04-04 06:25:48 -04:00
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2007-01-18 17:15:55 -05:00
|
|
|
|
2009-04-04 06:25:48 -04:00
|
|
|
SUBST_VARS = API_VERSION
|
2003-11-03 10:44:05 -05:00
|
|
|
|
2009-04-04 06:25:48 -04:00
|
|
|
NO_REGRESS = Yes
|
2008-06-02 12:42:47 -04:00
|
|
|
|
2003-11-03 10:44:05 -05:00
|
|
|
.include <bsd.port.mk>
|