2010-04-26 17:28:22 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.42 2010/04/26 21:28:22 ajacoutot Exp $
|
2003-11-03 10:44:05 -05:00
|
|
|
|
2010-04-20 07:07:07 -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
|
2010-04-26 17:28:22 -04:00
|
|
|
GNOME_VERSION = 2.30.1
|
2009-10-20 04:11:39 -04:00
|
|
|
|
2009-12-16 11:25:49 -05:00
|
|
|
PKGNAME-main = ${DISTNAME}
|
2010-04-26 17:28:22 -04:00
|
|
|
PKGNAME-gnome = ${GNOME_PROJECT}-gnome-${GNOME_VERSION}
|
2009-10-20 04:11:39 -04:00
|
|
|
|
2010-04-20 07:07:07 -04:00
|
|
|
SHARED_LIBS += soup-2.4 2.2 # .4.0
|
|
|
|
SHARED_LIBS += 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-12-16 11:25:49 -05:00
|
|
|
|
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-10-20 10:37:19 -04:00
|
|
|
LIB_DEPENDS = gio-2.0,glib-2.0,gmodule-2.0,gobject-2.0,gthread-2.0:glib2->=2.22.2: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
|
|
|
|
|
2010-04-20 18:24:02 -04:00
|
|
|
WANTLIB-gnome = ${WANTLIB-main} ORBit-2 dbus-1 dbus-glib-1 sqlite3 eggdbus-1
|
2009-04-04 06:25:48 -04:00
|
|
|
|
|
|
|
LIB_DEPENDS-gnome = ${LIB_DEPENDS-main} \
|
|
|
|
soup-2.4::${BUILD_PKGPATH},-main \
|
2010-04-20 16:11:53 -04:00
|
|
|
gnome-keyring.>=6:libgnome-keyring-*:x11/gnome/libgnome-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
|
2010-04-20 07:07:07 -04:00
|
|
|
# checking Apache version... 1.3.29 (Unix) (ignoring)
|
|
|
|
# But this prevents needing apache2 for certain regress tests.
|
|
|
|
CONFIGURE_ARGS+= --with-apache-httpd="/usr/sbin/httpd"
|
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>
|