From 2f3a00c96ec9573fde43d54b876b4764b31c254e Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Thu, 4 Jun 2015 09:40:14 +0000 Subject: [PATCH] - Strip libraries - Add LICENSE --- databases/qdbm/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/databases/qdbm/Makefile b/databases/qdbm/Makefile index e7b94b2a71dd..26d3040e5316 100644 --- a/databases/qdbm/Makefile +++ b/databases/qdbm/Makefile @@ -3,7 +3,7 @@ PORTNAME= qdbm PORTVERSION= 1.8.78 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES= databases MASTER_SITES= http://fallabs.com/qdbm/ @@ -16,6 +16,9 @@ GNU_CONFIGURE= yes USE_LDCONFIG= yes .if !defined(SLAVEPORT) +LICENSE= LGPL21 # or later +LICENSE_FILE= ${WRKSRC}/COPYING + USES+= iconv CONFIGURE_ARGS= --enable-bzip --enable-lzo --enable-zlib \ --enable-iconv \ @@ -40,6 +43,8 @@ post-build: post-install: ${INSTALL_PROGRAM} ${WRKSRC}/lab/fmtcnv031127 ${STAGEDIR}${PREFIX}/bin + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* .else