diff options
author | kwm <kwm@FreeBSD.org> | 2014-03-08 21:49:33 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2014-03-08 21:49:33 +0800 |
commit | 37c0ee530d572c5a51e03f530b5fff3b9c034feb (patch) | |
tree | 21200f6ae9d0b4c4f396cb61b0df0a29b358910c | |
parent | 4c26ecff758b99c12b501a24f3067476661e50b3 (diff) | |
download | freebsd-ports-gnome-37c0ee530d572c5a51e03f530b5fff3b9c034feb.tar.gz freebsd-ports-gnome-37c0ee530d572c5a51e03f530b5fff3b9c034feb.tar.zst freebsd-ports-gnome-37c0ee530d572c5a51e03f530b5fff3b9c034feb.zip |
Stagify
Use new lib_depend syntax.
Add USES=libtool
Use USE_GNOME introspection component
Obtained from: GNOME dev repo
-rw-r--r-- | devel/libsoup-gnome/Makefile | 1 | ||||
-rw-r--r-- | devel/libsoup-gnome/pkg-plist | 2 | ||||
-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 |
5 files changed, 28 insertions, 34 deletions
diff --git a/devel/libsoup-gnome/Makefile b/devel/libsoup-gnome/Makefile index 186267511962..3ecbb746cd1b 100644 --- a/devel/libsoup-gnome/Makefile +++ b/devel/libsoup-gnome/Makefile @@ -15,5 +15,4 @@ PLIST= ${.CURDIR}/pkg-plist SOUP_SLAVE= yes -NO_STAGE= yes .include "${MASTERDIR}/Makefile" diff --git a/devel/libsoup-gnome/pkg-plist b/devel/libsoup-gnome/pkg-plist index 500adeb165e8..96637443c875 100644 --- a/devel/libsoup-gnome/pkg-plist +++ b/devel/libsoup-gnome/pkg-plist @@ -1,10 +1,10 @@ include/libsoup-gnome-%%VERSION%%/libsoup/soup-cookie-jar-sqlite.h include/libsoup-gnome-%%VERSION%%/libsoup/soup-gnome-features.h include/libsoup-gnome-%%VERSION%%/libsoup/soup-gnome.h -lib/libsoup-gnome-%%VERSION%%.a lib/libsoup-gnome-%%VERSION%%.la lib/libsoup-gnome-%%VERSION%%.so lib/libsoup-gnome-%%VERSION%%.so.1 +lib/libsoup-gnome-%%VERSION%%.so.%%LIBVERSION%% libdata/pkgconfig/libsoup-gnome-%%VERSION%%.pc @dirrm include/libsoup-gnome-%%VERSION%%/libsoup @dirrm include/libsoup-gnome-%%VERSION%% 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 |