2011-03-22 05:27:06 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.53 2011/03/22 09:27:06 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-11-30 02:17:10 -05:00
|
|
|
GNOME_VERSION = 2.32.2
|
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}
|
2011-03-22 05:27:06 -04:00
|
|
|
REVISION-gnome = 1
|
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
|
|
|
|
2010-11-08 04:57:39 -05:00
|
|
|
WANTLIB = gcrypt gpg-error m pcre tasn1 z \
|
|
|
|
gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 \
|
2010-11-15 14:45:56 -05:00
|
|
|
gthread-2.0 gnutls>=12 xml2>=7
|
2008-04-30 07:22:11 -04:00
|
|
|
|
2010-11-26 02:18:59 -05:00
|
|
|
LIB_DEPENDS = devel/glib2>=2.22.2 \
|
2010-11-15 14:45:56 -05:00
|
|
|
security/gnutls \
|
|
|
|
textproc/libxml
|
2009-04-04 06:25:48 -04:00
|
|
|
|
2010-11-08 04:57:39 -05:00
|
|
|
WANTLIB-gnome = ${WANTLIB-main} ORBit-2 dbus-1 sqlite3 \
|
2010-11-15 14:45:56 -05:00
|
|
|
soup-2.4 gnome-keyring>=6 gconf-2 proxy
|
2009-04-04 06:25:48 -04:00
|
|
|
|
2011-03-22 05:27:06 -04:00
|
|
|
RUN_DEPENDS-gnome= ${MODGETTEXT_RUN_DEPENDS} \
|
|
|
|
net/libproxy,-gnome
|
2009-04-04 06:25:48 -04:00
|
|
|
LIB_DEPENDS-gnome = ${LIB_DEPENDS-main} \
|
2010-11-15 14:45:56 -05:00
|
|
|
${BUILD_PKGPATH},-main \
|
|
|
|
x11/gnome/libgnome-keyring \
|
|
|
|
devel/gconf2 \
|
2011-02-01 08:47:04 -05:00
|
|
|
net/libproxy \
|
|
|
|
databases/sqlite3
|
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
|
|
|
|
2010-10-18 09:28:51 -04:00
|
|
|
|
2009-04-04 06:25:48 -04:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
|
2010-09-30 03:45:36 -04:00
|
|
|
--disable-gtk-doc \
|
|
|
|
--disable-introspection \
|
2009-01-29 15:08:42 -05:00
|
|
|
--enable-ssl \
|
2010-09-30 03:45:36 -04:00
|
|
|
--disable-more-warnings
|
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>
|