openbsd-ports/devel/libsoup/Makefile

64 lines
1.6 KiB
Makefile
Raw Normal View History

2010-11-08 04:57:39 -05:00
# $OpenBSD: Makefile,v 1.48 2010/11/08 09:57:40 espie Exp $
2010-04-20 07:07:07 -04:00
COMMENT-main = SOAP implementation in C
COMMENT-gnome = GNOME specific libsoup parts
GNOME_PROJECT = libsoup
2010-09-30 03:45:36 -04:00
GNOME_VERSION = 2.32.0
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}
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
API_VERSION = 2.4
CATEGORIES = devel
HOMEPAGE = http://live.gnome.org/LibSoup
MULTI_PACKAGES = -main -gnome
# LGPLv2
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 \
gthread-2.0 gnutls.>=12 xml2.>=7
2010-11-08 04:57:39 -05:00
LIB_DEPENDS = :glib2->=2.22.2:devel/glib2 \
::security/gnutls \
::textproc/libxml
2010-11-08 04:57:39 -05:00
WANTLIB-gnome = ${WANTLIB-main} ORBit-2 dbus-1 sqlite3 \
soup-2.4 gnome-keyring.>=6 gconf-2 proxy
LIB_DEPENDS-gnome = ${LIB_DEPENDS-main} \
2010-11-08 04:57:39 -05:00
::${BUILD_PKGPATH},-main \
:libgnome-keyring-*:x11/gnome/libgnome-keyring \
::devel/gconf2 \
::net/libproxy
MODULES = devel/gettext \
x11/gnome
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += ${CONFIGURE_SHARED} \
2010-09-30 03:45:36 -04:00
--disable-gtk-doc \
--disable-introspection \
--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"
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
SUBST_VARS = API_VERSION
NO_REGRESS = Yes
.include <bsd.port.mk>