Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2014 00:10:06 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345778 - head/www/libecap
Message-ID:  <201402240010.s1O0A6QL006109@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
-@dirrm include/libecap/adapter
-@dirrm include/libecap/common
-@dirrm include/libecap/host
-@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
+@dirrm include/libecap/adapter
+@dirrm include/libecap/common
+@dirrm include/libecap/host
+@dirrm include/libecap



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