Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2013 21:57:17 +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: r332913 - in head/www/serf: . files
Message-ID:  <201311052157.rA5LvHsj057083@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Tue Nov  5 21:57:16 2013
New Revision: 332913
URL: http://svnweb.freebsd.org/changeset/ports/332913

Log:
  - update to version 1.3.2

Added:
  head/www/serf/files/
  head/www/serf/files/patch-SConstruct   (contents, props changed)
Modified:
  head/www/serf/Makefile
  head/www/serf/distinfo
  head/www/serf/pkg-plist

Modified: head/www/serf/Makefile
==============================================================================
--- head/www/serf/Makefile	Tue Nov  5 21:49:08 2013	(r332912)
+++ head/www/serf/Makefile	Tue Nov  5 21:57:16 2013	(r332913)
@@ -2,39 +2,40 @@
 # $FreeBSD$
 
 PORTNAME=	serf
-PORTVERSION=	1.2.1
-PORTREVISION=	1
+PORTVERSION=	1.3.2
 CATEGORIES=	www
 MASTER_SITES=	GOOGLE_CODE
-MASTER_SITE_SUBDIR=	db
 
 MAINTAINER=	apache@FreeBSD.org
 COMMENT=	Serf HTTP client library
 
 LIB_DEPENDS+=	apr-1:${PORTSDIR}/devel/apr1
 
+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
 
 OPTIONS_DEFINE=	DOCS
 
-NO_STAGE=	yes
-.include <bsd.port.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}
 
-regression-test:
-	@(cd ${WRKSRC} && ${MAKE} check)
+regression-test check: build
+	@(cd ${WRKSRC} && ${SCONS_BIN} check)
 
 .include <bsd.port.mk>

Modified: head/www/serf/distinfo
==============================================================================
--- head/www/serf/distinfo	Tue Nov  5 21:49:08 2013	(r332912)
+++ head/www/serf/distinfo	Tue Nov  5 21:57:16 2013	(r332913)
@@ -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: head/www/serf/files/patch-SConstruct
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/serf/files/patch-SConstruct	Tue Nov  5 21:57:16 2013	(r332913)
@@ -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: head/www/serf/pkg-plist
==============================================================================
--- head/www/serf/pkg-plist	Tue Nov  5 21:49:08 2013	(r332912)
+++ head/www/serf/pkg-plist	Tue Nov  5 21:57:16 2013	(r332913)
@@ -2,9 +2,9 @@ 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.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%%



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