svn commit: r345778 - head/www/libecap

Baptiste Daroussin bapt at FreeBSD.org
Mon Feb 24 00:10:07 UTC 2014


Author: bapt
Date: Mon Feb 24 00:10:06 2014
New Revision: 345778
URL: http://svnweb.freebsd.org/changeset/ports/345778
QAT: https://qat.redports.org/buildarchive/r345778/

Log:
  Support stage
  Strip binaries
  USES=libtool
  Add a DOCS option
  Replace USE_GCC=4.2+ by USE_GCC=any (does not build with clang but build with all the supported gcc versions)

Modified:
  head/www/libecap/Makefile
  head/www/libecap/pkg-plist

Modified: head/www/libecap/Makefile
==============================================================================
--- head/www/libecap/Makefile	Sun Feb 23 23:58:35 2014	(r345777)
+++ head/www/libecap/Makefile	Mon Feb 24 00:10:06 2014	(r345778)
@@ -3,29 +3,30 @@
 
 PORTNAME=	libecap
 PORTVERSION=	0.2.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www security
 MASTER_SITES=	http://www.measurement-factory.com/tmp/ecap/
 
 MAINTAINER=	tmseck at FreeBSD.org
 COMMENT=	Library for module based network content analysis
 
+LICENSE=	BSD2CLAUSE
+
+OPTIONS_DEFINE=	DOCS
+
+USES=		libtool
+
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-USE_GCC=	4.2+
-
-LICENSE=	BSD
-LICENSE_FILE=	${WRKSRC}/LICENSE
+USE_GCC=	any
+INSTALL_TARGET=	install-strip
 
 PORTDOCS=	CREDITS LICENSE NOTICE README
 
 CONFIGURE_ARGS+=--with-pkgconfigdir=${PREFIX}/libdata/pkgconfig
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/www/libecap/pkg-plist
==============================================================================
--- head/www/libecap/pkg-plist	Sun Feb 23 23:58:35 2014	(r345777)
+++ head/www/libecap/pkg-plist	Mon Feb 24 00:10:06 2014	(r345778)
@@ -21,12 +21,13 @@ include/libecap/common/registry.h
 include/libecap/common/version.h
 include/libecap/host/host.h
 include/libecap/host/xaction.h
- at dirrm include/libecap/adapter
- at dirrm include/libecap/common
- at dirrm include/libecap/host
- at dirrm include/libecap
 lib/libecap.a
 lib/libecap.la
 lib/libecap.so
 lib/libecap.so.2
+lib/libecap.so.2.0.0
 libdata/pkgconfig/libecap.pc
+ at dirrm include/libecap/adapter
+ at dirrm include/libecap/common
+ at dirrm include/libecap/host
+ at dirrm include/libecap


More information about the svn-ports-all mailing list