2006-08-01 18:55:52 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2006/08/01 22:55:53 espie Exp $
|
2003-11-03 10:44:05 -05:00
|
|
|
|
2004-09-15 00:20:24 -04:00
|
|
|
COMMENT= "a SOAP implementation in C"
|
2003-11-03 10:44:05 -05:00
|
|
|
|
2005-11-13 01:44:55 -05:00
|
|
|
DISTNAME= libsoup-2.2.5
|
2005-12-19 13:41:51 -05:00
|
|
|
PACKAGENAME= ${DISTNAME}p0
|
2006-01-08 12:58:49 -05:00
|
|
|
SHARED_LIBS= soup-2.2 8.0
|
2003-11-03 10:44:05 -05:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnome.org/
|
|
|
|
|
|
|
|
MAINTAINER= Marc Matteo <marcm@openbsd.org>
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-23 16:34:27 -05:00
|
|
|
WANTLIB= iconv intl m z
|
2003-11-03 10:44:05 -05:00
|
|
|
|
2004-09-15 00:20:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libsoup/2.2/}
|
2003-11-03 10:44:05 -05:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2004-06-25 12:16:51 -04:00
|
|
|
LIB_DEPENDS= glib-2.0.0.0,gobject-2.0.0.0,gthread-2.0.0.0::devel/glib2 \
|
2006-08-01 18:55:52 -04:00
|
|
|
xml2.>=7::textproc/libxml
|
2003-11-03 10:44:05 -05:00
|
|
|
|
2004-06-25 12:16:51 -04:00
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig
|
2003-11-03 10:44:05 -05:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2005-11-13 01:44:55 -05:00
|
|
|
USE_LIBTOOL= Yes
|
2004-06-25 12:16:51 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
2003-11-03 10:44:05 -05:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
|
|
|
CONFIGURE_ARGS+= --disable-gtk-doc
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
2004-06-25 12:16:51 -04:00
|
|
|
API_VERSION= 2.2
|
|
|
|
SUBST_VARS= API_VERSION
|
|
|
|
|
2004-09-15 00:20:24 -04:00
|
|
|
FLAVORS= ssl
|
|
|
|
FLAVOR?=
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mssl}
|
|
|
|
CONFIGURE_ARGS+= --enable-ssl
|
2006-08-01 18:55:52 -04:00
|
|
|
LIB_DEPENDS+= gnutls.>=12::security/gnutls
|
2005-12-19 13:41:51 -05:00
|
|
|
WANTLIB+= gcrypt gpg-error
|
2004-09-15 00:20:24 -04:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-ssl
|
|
|
|
.endif
|
|
|
|
|
2003-11-03 10:44:05 -05:00
|
|
|
.include <bsd.port.mk>
|