diff options
author | Koop Mast <kwm@FreeBSD.org> | 2014-03-08 13:49:33 +0000 |
---|---|---|
committer | Koop Mast <kwm@FreeBSD.org> | 2014-03-08 13:49:33 +0000 |
commit | 84e4a288507d0c09ee9b0f81dc14802c3aae3493 (patch) | |
tree | 21200f6ae9d0b4c4f396cb61b0df0a29b358910c /devel/libsoup | |
parent | 667edb495d8f00360eaf23c701ad098ec9b2797f (diff) | |
download | ports-84e4a288507d0c09ee9b0f81dc14802c3aae3493.tar.gz ports-84e4a288507d0c09ee9b0f81dc14802c3aae3493.zip |
Notes
Diffstat (limited to 'devel/libsoup')
-rw-r--r-- | devel/libsoup/Makefile | 50 | ||||
-rw-r--r-- | devel/libsoup/files/patch-libsoup_tld-parser.py | 8 | ||||
-rw-r--r-- | devel/libsoup/pkg-plist | 1 |
3 files changed, 27 insertions, 32 deletions
diff --git a/devel/libsoup/Makefile b/devel/libsoup/Makefile index f827f16d76ca..7d60636719b5 100644 --- a/devel/libsoup/Makefile +++ b/devel/libsoup/Makefile @@ -1,6 +1,6 @@ # Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $FreeBSD$ -# $MCom: ports/trunk/devel/libsoup/Makefile 18456 2013-05-12 14:40:21Z kwm $ +# $MCom: ports/trunk/devel/libsoup/Makefile 19016 2014-03-08 09:05:27Z kwm $ PORTNAME= libsoup PORTVERSION= 2.40.3 @@ -10,64 +10,66 @@ MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org -COMMENT= A SOAP (Simple Object Access Protocol) implementation in C +COMMENT= SOAP (Simple Object Access Protocol) implementation in C -BUILD_DEPENDS= glib-networking>=2.29.18:${PORTSDIR}/net/glib-networking \ - python2:${PORTSDIR}/lang/python2 -LIB_DEPENDS= gcrypt:${PORTSDIR}/security/libgcrypt +BUILD_DEPENDS= glib-networking>=2.29.18:${PORTSDIR}/net/glib-networking +LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt RUN_DEPENDS= glib-networking>=2.29.18:${PORTSDIR}/net/glib-networking USE_XZ= yes .if !defined(REFERENCE_PORT) -USES= gettext pathfix gmake pkgconfig -USE_GNOME= gnomehier glib20 libxml2 ltverhack referencehack intltool +USES= gettext gmake libtool pathfix pkgconfig +USE_GNOME= gnomehier glib20 libxml2 referencehack intltool USE_SQLITE= 3 USE_LDCONFIG= yes -USE_AUTOTOOLS= libtool +GNU_CONFIGURE= yes USE_PYTHON_BUILD= 2 CONFIGURE_ARGS= --disable-more-warnings CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -PLIST_SUB= VERSION="2.4" +LIBVERSION= 1.5.0 +PLIST_SUB= VERSION="2.4" LIBVERSION=${LIBVERSION} .if defined(SOUP_SLAVE) -USE_SQLITE= yes -LIB_DEPENDS+= soup-2.4:${PORTSDIR}/devel/libsoup \ - gnome-keyring:${PORTSDIR}/security/libgnome-keyring +USE_SQLITE= 3 +LIB_DEPENDS+= libsoup-2.4.so:${PORTSDIR}/devel/libsoup \ + libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring CONFIGURE_ARGS+=--with-gnome .else -BUILD_DEPENDS+= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection +USE_GNOME+= introspection:build CONFIGURE_ARGS+=--without-gnome .endif -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \ ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|env python|env ${PYTHON_VERSION}|g' \ + ${WRKSRC}/libsoup/tld-parser.py .if defined(SOUP_SLAVE) do-build: cd ${WRKSRC}/libsoup && ${GMAKE} libsoup-gnome-2.4.la do-install: - ${INSTALL_DATA} ${WRKSRC}/libsoup/.libs/libsoup-gnome-2.4.a ${PREFIX}/lib/ - ${INSTALL_DATA} ${WRKSRC}/libsoup/.libs/libsoup-gnome-2.4.la ${PREFIX}/lib/ - ${INSTALL_DATA} ${WRKSRC}/libsoup/.libs/libsoup-gnome-2.4.so ${PREFIX}/lib/ - ${INSTALL_DATA} ${WRKSRC}/libsoup/.libs/libsoup-gnome-2.4.so.1 ${PREFIX}/lib/ - cd ${WRKSRC}/libsoup && ${GMAKE} install-libsoupgnomeincludeHEADERS + ${INSTALL_DATA} ${WRKSRC}/libsoup/.libs/libsoup-gnome-2.4.la ${STAGEDIR}${PREFIX}/lib/ + ${INSTALL_PROGRAM} ${WRKSRC}/libsoup/.libs/libsoup-gnome-2.4.so ${STAGEDIR}${PREFIX}/lib/ + ${INSTALL_PROGRAM} ${WRKSRC}/libsoup/.libs/libsoup-gnome-2.4.so.1 ${STAGEDIR}${PREFIX}/lib/ + ${INSTALL_PROGRAM} ${WRKSRC}/libsoup/.libs/libsoup-gnome-2.4.so.${LIBVERSION} ${STAGEDIR}${PREFIX}/lib/ + cd ${WRKSRC}/libsoup && DESTDIR=${STAGEDIR} ${GMAKE} install-libsoupgnomeincludeHEADERS .endif post-install: .if defined(SOUP_SLAVE) - @${MKDIR} ${PREFIX}/libdata/pkgconfig - @${INSTALL_DATA} ${WRKSRC}/libsoup-gnome-2.4.pc \ - ${PREFIX}/libdata/pkgconfig/ + @${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig + ${INSTALL_DATA} ${WRKSRC}/libsoup-gnome-2.4.pc \ + ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ .else - @${INSTALL_DATA} ${WRKSRC}/libsoup/soup-connection.h \ - ${PREFIX}/include/libsoup-2.4/libsoup/soup-connection.h + ${INSTALL_DATA} ${WRKSRC}/libsoup/soup-connection.h \ + ${STAGEDIR}${PREFIX}/include/libsoup-2.4/libsoup/soup-connection.h + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsoup*.so* .endif .include <bsd.port.mk> diff --git a/devel/libsoup/files/patch-libsoup_tld-parser.py b/devel/libsoup/files/patch-libsoup_tld-parser.py deleted file mode 100644 index 5c2724dd1e36..000000000000 --- a/devel/libsoup/files/patch-libsoup_tld-parser.py +++ /dev/null @@ -1,8 +0,0 @@ ---- libsoup/tld-parser.py.orig 2013-05-12 13:59:58.000000000 +0000 -+++ libsoup/tld-parser.py 2013-05-12 14:00:36.000000000 +0000 -@@ -1,4 +1,4 @@ --#!/usr/bin/env python -+#!/usr/bin/env python2 - - # Generate tld rules - # Copyright (C) 2012 Red Hat, Inc. diff --git a/devel/libsoup/pkg-plist b/devel/libsoup/pkg-plist index 83bdbba6e77f..36177a4c944c 100644 --- a/devel/libsoup/pkg-plist +++ b/devel/libsoup/pkg-plist @@ -50,6 +50,7 @@ lib/libsoup-%%VERSION%%.a lib/libsoup-%%VERSION%%.la lib/libsoup-%%VERSION%%.so lib/libsoup-%%VERSION%%.so.1 +lib/libsoup-%%VERSION%%.so.%%LIBVERSION%% libdata/pkgconfig/libsoup-%%VERSION%%.pc share/gir-1.0/Soup-%%VERSION%%.gir share/gtk-doc/html/libsoup-%%VERSION%%/SoupAddress.html |