[Midnightbsd-cvs] mports [15700] trunk/www/serf: serf 1.3.2
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun Dec 22 11:11:11 EST 2013
Revision: 15700
http://svnweb.midnightbsd.org/mports/?rev=15700
Author: laffer1
Date: 2013-12-22 11:11:10 -0500 (Sun, 22 Dec 2013)
Log Message:
-----------
serf 1.3.2
Modified Paths:
--------------
trunk/www/serf/Makefile
trunk/www/serf/distinfo
trunk/www/serf/pkg-plist
Added Paths:
-----------
trunk/www/serf/files/
trunk/www/serf/files/libserf-1.la.in
trunk/www/serf/files/patch-SConstruct
Modified: trunk/www/serf/Makefile
===================================================================
--- trunk/www/serf/Makefile 2013-12-22 16:08:55 UTC (rev 15699)
+++ trunk/www/serf/Makefile 2013-12-22 16:11:10 UTC (rev 15700)
@@ -1,10 +1,10 @@
# $MidnightBSD$
PORTNAME= serf
-PORTVERSION= 1.2.1
+PORTVERSION= 1.3.2
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= GOOGLE_CODE
-MASTER_SITE_SUBDIR= db
MAINTAINER= ports at MidnightBSD.org
COMMENT= Serf HTTP client library
@@ -13,27 +13,34 @@
LIB_DEPENDS+= apr-1:${PORTSDIR}/devel/apr
+USE_SCONS= yes
USE_BZIP2= yes
-USES= pathfix
-GNU_CONFIGURE= yes
+USE_OPENSSL= yes
USE_LDCONFIG= yes
-CONFIGURE_ARGS+= --with-apr=${LOCALBASE}/bin/apr-1-config \
- --with-apr-util=${LOCALBASE}/bin/apu-1-config
+SUB_FILES= libserf-1.la
+
OPTIONS_DEFINE= DOCS
-.include <bsd.mport.options.mk>
+SCONS_ENV= # empty
+SCONS_BUILDENV= # empty
+SCONS_ARGS= APR=${LOCALBASE}/bin/apr-1-config
+SCONS_ARGS+= APU=${LOCALBASE}/bin/apu-1-config
+SCONS_ARGS+= OPENSSL=${OPENSSLBASE}
+SCONS_ARGS+= PREFIX=${PREFIX}
+SCONS_ARGS+= CC=${CC}
+SCONS_ARGS+= CFLAGS="${CFLAGS}"
+SCONS_INSTALL_TARGET= install --install-sandbox=${STAGEDIR}
post-patch:
- @${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/serf.pc.in
+ @${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/build/serf.pc.in
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/design-guide.txt ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/design-guide.txt ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${SUB_FILES:S|^|${WRKDIR}/|} ${STAGEDIR}${PREFIX}/lib
-regression-test:
- @(cd ${WRKSRC} && ${MAKE} check)
+regression-test check: build
+ @(cd ${WRKSRC} && ${SCONS_BIN} check)
.include <bsd.port.mk>
Modified: trunk/www/serf/distinfo
===================================================================
--- trunk/www/serf/distinfo 2013-12-22 16:08:55 UTC (rev 15699)
+++ trunk/www/serf/distinfo 2013-12-22 16:11:10 UTC (rev 15700)
@@ -1,2 +1,2 @@
-SHA256 (serf-1.2.1.tar.bz2) = 6988d394b62c3494635b6f0760bc3079f9a0cd380baf0f6b075af1eb9fa5e700
-SIZE (serf-1.2.1.tar.bz2) = 190464
+SHA256 (serf-1.3.2.tar.bz2) = e4e7da37d99f4fdf14a4c13a256330037536d4328a0e1ae3deb6f8531ed8200f
+SIZE (serf-1.3.2.tar.bz2) = 139861
Added: trunk/www/serf/files/libserf-1.la.in
===================================================================
--- trunk/www/serf/files/libserf-1.la.in (rev 0)
+++ trunk/www/serf/files/libserf-1.la.in 2013-12-22 16:11:10 UTC (rev 15700)
@@ -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'
Added: trunk/www/serf/files/patch-SConstruct
===================================================================
--- trunk/www/serf/files/patch-SConstruct (rev 0)
+++ trunk/www/serf/files/patch-SConstruct 2013-12-22 16:11:10 UTC (rev 15700)
@@ -0,0 +1,40 @@
+--- ./SConstruct.orig 2013-10-04 17:11:04.000000000 +0200
++++ ./SConstruct 2013-10-05 16:16:20.000000000 +0200
+@@ -69,6 +69,9 @@
+
+ opts = Variables(files=[SAVED_CONFIG])
+ opts.AddVariables(
++ RawListVariable('DESTDIR',
++ 'Required *dummy*, without scons will stop with "Unknown variables: DESTDIR"',
++ None),
+ PathVariable('PREFIX',
+ 'Directory to install under',
+ default_prefix,
+@@ -203,6 +206,7 @@
+ thisdir = os.getcwd()
+ libdir = '$LIBDIR'
+ incdir = '$PREFIX/include/serf-$MAJOR'
++pkgconfdir = '$PREFIX/libdata'
+
+ # This version string is used in the dynamic library name, and for Mac OS X also
+ # for the current_version and compatibility_version options in the .dylib
+@@ -385,7 +389,9 @@
+ env.get('GSSAPI_LIBS')),
+ })
+
+-env.Default(lib_static, lib_shared, pkgconfig)
++env.Default(lib_static, lib_shared, pkgconfig )
++
++#print env.Dump()
+
+ if CALLOUT_OKAY:
+ conf = Configure(env)
+@@ -418,7 +424,7 @@
+ env.Alias('install-lib', [install_static, install_shared,
+ ])
+ env.Alias('install-inc', env.Install(incdir, HEADER_FILES))
+-env.Alias('install-pc', env.Install(os.path.join(libdir, 'pkgconfig'),
++env.Alias('install-pc', env.Install(os.path.join(pkgconfdir, 'pkgconfig'),
+ pkgconfig))
+ env.Alias('install', ['install-lib', 'install-inc', 'install-pc', ])
+
Modified: trunk/www/serf/pkg-plist
===================================================================
--- trunk/www/serf/pkg-plist 2013-12-22 16:08:55 UTC (rev 15699)
+++ trunk/www/serf/pkg-plist 2013-12-22 16:11:10 UTC (rev 15700)
@@ -4,7 +4,8 @@
lib/libserf-1.a
lib/libserf-1.la
lib/libserf-1.so
-lib/libserf-1.so.0
+lib/libserf-1.so.1
+lib/libserf-1.so.1.3.0
libdata/pkgconfig/serf-1.pc
%%PORTDOCS%%%%DOCSDIR%%/design-guide.txt
%%PORTDOCS%%@dirrm %%DOCSDIR%%
More information about the Midnightbsd-cvs
mailing list