openbsd-ports/devel/libsoup/Makefile

50 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.18 2007/09/16 02:53:01 merdely Exp $
COMMENT= SOAP implementation in C
2007-03-01 11:46:48 -05:00
DISTNAME= libsoup-2.2.100
2007-05-19 05:13:54 -04:00
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= soup-2.2 13.0
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= m z
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libsoup/2.2/}
EXTRACT_SUFX= .tar.bz2
2006-09-18 07:50:39 -04:00
LIB_DEPENDS= glib-2.0,gobject-2.0,gthread-2.0::devel/glib2 \
2006-08-01 18:55:52 -04:00
xml2.>=7::textproc/libxml
MODULES= devel/gettext
USE_GMAKE= Yes
2005-11-13 01:44:55 -05:00
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
API_VERSION= 2.2
SUBST_VARS= API_VERSION
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
WANTLIB+= gcrypt gpg-error
.else
CONFIGURE_ARGS+= --disable-ssl
.endif
.include <bsd.port.mk>