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)
This commit is contained in:
Baptiste Daroussin 2014-02-24 00:10:06 +00:00
parent f44bea615c
commit 9b4627929c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=345778
2 changed files with 16 additions and 14 deletions

View file

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

View file

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