Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 15:58:14 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360214 - head/www/c-icap
Message-ID:  <201407021558.s62FwEVS038056@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tijl
Date: Wed Jul  2 15:58:13 2014
New Revision: 360214
URL: http://svnweb.freebsd.org/changeset/ports/360214
QAT: https://qat.redports.org/buildarchive/r360214/

Log:
  - Add USES=libtool and INSTALL_TARGET=install-strip
  - Don't install static modules
  - Finish staging support

Modified:
  head/www/c-icap/Makefile
  head/www/c-icap/pkg-plist

Modified: head/www/c-icap/Makefile
==============================================================================
--- head/www/c-icap/Makefile	Wed Jul  2 15:55:13 2014	(r360213)
+++ head/www/c-icap/Makefile	Wed Jul  2 15:58:13 2014	(r360214)
@@ -3,7 +3,7 @@
 
 PORTNAME=	c-icap
 PORTVERSION=	0.3.3
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	2
 CATEGORIES=	www
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.3.x/
@@ -15,6 +15,8 @@ COMMENT=	ICAP server implementation
 LICENSE=	LGPL21
 
 GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+USES=		libtool
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	c-icap
 
@@ -33,8 +35,7 @@ CICAP_GID=	959
 USERS=		${CICAP_USER}
 GROUPS=		${CICAP_GROUP}
 
-CONFIGURE_ARGS+=	--enable-static \
-			--sysconfdir="${PREFIX}/etc/c-icap" \
+CONFIGURE_ARGS+=	--sysconfdir="${PREFIX}/etc/c-icap" \
 			--localstatedir=/var
 
 .include <bsd.port.options.mk>
@@ -63,8 +64,6 @@ USE_OPENLDAP=	YES
 USES+=		perl5
 .endif
 
-.include <bsd.port.pre.mk>
-
 .if ${PORT_OPTIONS:MBDB}
 CFLAGS+=	-I${BDB_INCLUDE_DIR}
 LDFLAGS+=	-L${BDB_LIB_DIR}
@@ -113,10 +112,4 @@ post-patch:
 		${WRKSRC}/include/c-icap-conf.h.in
 .endif
 
-post-install:
-	@${CP} -np ${STAGEDIR}${PREFIX}/etc/c-icap/c-icap.conf.default \
-		${STAGEDIR}${PREFIX}/etc/c-icap/c-icap.conf || ${TRUE}
-	@${CP} -np ${STAGEDIR}${PREFIX}/etc/c-icap/c-icap.magic.default \
-		${STAGEDIR}${PREFIX}/etc/c-icap/c-icap.magic || ${TRUE}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/c-icap/pkg-plist
==============================================================================
--- head/www/c-icap/pkg-plist	Wed Jul  2 15:55:13 2014	(r360213)
+++ head/www/c-icap/pkg-plist	Wed Jul  2 15:58:13 2014	(r360214)
@@ -44,31 +44,17 @@ include/c_icap/txt_format.h
 include/c_icap/types_ops.h
 include/c_icap/util.h
 @dirrm include/c_icap
-%%BDB%%lib/c_icap/bdb_tables.a
-%%BDB%%lib/c_icap/bdb_tables.la
 %%BDB%%lib/c_icap/bdb_tables.so
-lib/c_icap/dnsbl_tables.a
-lib/c_icap/dnsbl_tables.la
 lib/c_icap/dnsbl_tables.so
-%%LDAP%%lib/c_icap/ldap_module.a
-%%LDAP%%lib/c_icap/ldap_module.la
 %%LDAP%%lib/c_icap/ldap_module.so
-%%PERL%%lib/c_icap/perl_handler.a
-%%PERL%%lib/c_icap/perl_handler.la
 %%PERL%%lib/c_icap/perl_handler.so
-lib/c_icap/srv_echo.a
-lib/c_icap/srv_echo.la
 lib/c_icap/srv_echo.so
-lib/c_icap/srv_ex206.a
-lib/c_icap/srv_ex206.la
 lib/c_icap/srv_ex206.so
-lib/c_icap/sys_logger.a
-lib/c_icap/sys_logger.la
 lib/c_icap/sys_logger.so
 @dirrm lib/c_icap
-lib/libicapapi.la
-lib/libicapapi.so.3
 lib/libicapapi.so
+lib/libicapapi.so.3
+lib/libicapapi.so.3.0.3
 man/man8/c-icap-client.8.gz
 man/man8/c-icap-config.8.gz
 man/man8/c-icap-libicapapi-config.8.gz



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