Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Nov 2013 20:21:36 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333335 - in head/www/serf: . files
Message-ID:  <201311092021.rA9KLaH7025962@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Sat Nov  9 20:21:36 2013
New Revision: 333335
URL: http://svnweb.freebsd.org/changeset/ports/333335

Log:
  - add Apache2 license
  - unbreak devel/subversion-static and
    devel/subversion (with STATIC=on)
    by installing a absolute minimum libserf-1.la file
  - bump PORTREVISION

Added:
  head/www/serf/files/libserf-1.la.in   (contents, props changed)
Modified:
  head/www/serf/Makefile
  head/www/serf/pkg-plist

Modified: head/www/serf/Makefile
==============================================================================
--- head/www/serf/Makefile	Sat Nov  9 19:58:07 2013	(r333334)
+++ head/www/serf/Makefile	Sat Nov  9 20:21:36 2013	(r333335)
@@ -3,12 +3,15 @@
 
 PORTNAME=	serf
 PORTVERSION=	1.3.2
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	GOOGLE_CODE
 
 MAINTAINER=	apache@FreeBSD.org
 COMMENT=	Serf HTTP client library
 
+LICENSE=	AL2
+
 LIB_DEPENDS+=	apr-1:${PORTSDIR}/devel/apr1
 
 USE_SCONS=	yes
@@ -16,6 +19,8 @@ USE_BZIP2=	yes
 USE_OPENSSL=	yes
 USE_LDCONFIG=	yes
 
+SUB_FILES=	libserf-1.la
+
 OPTIONS_DEFINE=	DOCS
 
 SCONS_ENV=	# empty
@@ -34,6 +39,7 @@ post-patch:
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/design-guide.txt ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${SUB_FILES:S|^|${WRKDIR}/|} ${STAGEDIR}${PREFIX}/lib
 
 regression-test check: build
 	@(cd ${WRKSRC} && ${SCONS_BIN} check)

Added: head/www/serf/files/libserf-1.la.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/serf/files/libserf-1.la.in	Sat Nov  9 20:21:36 2013	(r333335)
@@ -0,0 +1,41 @@
+# libserf-1.la - a libtool library file
+# Generated by libtool (GNU libtool) 2.4.2
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='libserf-1.so'
+
+# Names of this library.
+library_names='libserf-1.so'
+
+# The name of the static archive.
+old_library='libserf-1.a'
+
+# Linker flags that can not go in dependency_libs.
+inherited_linker_flags=' -pthread'
+
+# Libraries that this one depends upon.
+dependency_libs=' -R%%LOCALBASE%%/lib -L/usr/lib -L%%LOCALBASE%%/lib %%LOCALBASE%%/lib/libaprutil-1.la %%LOCALBASE%%/lib/libapr-1.la -lcrypt -lz -lssl -lcrypto'
+
+# Names of additional weak libraries provided by this library
+weak_library_names=''
+
+# Version information for libserf-1.
+current=0
+age=0
+revision=0
+
+# Is this an already installed library?
+installed=yes
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='%%LOCALBASE%%/lib'

Modified: head/www/serf/pkg-plist
==============================================================================
--- head/www/serf/pkg-plist	Sat Nov  9 19:58:07 2013	(r333334)
+++ head/www/serf/pkg-plist	Sat Nov  9 20:21:36 2013	(r333335)
@@ -2,6 +2,7 @@ include/serf-1/serf.h
 include/serf-1/serf_bucket_types.h
 include/serf-1/serf_bucket_util.h
 lib/libserf-1.a
+lib/libserf-1.la
 lib/libserf-1.so
 lib/libserf-1.so.1
 lib/libserf-1.so.1.3.0



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311092021.rA9KLaH7025962>