- add Apache2 license

- unbreak devel/subversion-static and
  devel/subversion (with STATIC=on)
  by installing a absolute minimum libserf-1.la file
- bump PORTREVISION
This commit is contained in:
Olli Hauer 2013-11-09 20:21:36 +00:00
parent a11d4de96f
commit c4fb8b8dc1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333335
3 changed files with 48 additions and 0 deletions

View file

@ -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)

View file

@ -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'

View file

@ -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