aboutsummaryrefslogtreecommitdiff
path: root/archivers/libcomprex
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-02-05 13:17:25 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-02-05 13:17:25 +0000
commitd1561e26ab0b383b4db3adce22e731dbf484adec (patch)
treebee8509d7bef945dbb1884617150bf09b1b3f9fa /archivers/libcomprex
parentf890e6f2a32c6c93973447f4dab925f438a80801 (diff)
downloadports-d1561e26ab0b383b4db3adce22e731dbf484adec.tar.gz
ports-d1561e26ab0b383b4db3adce22e731dbf484adec.zip
Strip binaries
USES=libtool Use options helpers
Notes
Notes: svn path=/head/; revision=342694
Diffstat (limited to 'archivers/libcomprex')
-rw-r--r--archivers/libcomprex/Makefile23
-rw-r--r--archivers/libcomprex/pkg-plist1
2 files changed, 10 insertions, 14 deletions
diff --git a/archivers/libcomprex/Makefile b/archivers/libcomprex/Makefile
index 5e536462479d..52f308fab6a3 100644
--- a/archivers/libcomprex/Makefile
+++ b/archivers/libcomprex/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libcomprex
PORTVERSION= 0.3.3
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= archivers
MASTER_SITES= SF/gnupdate/${PORTNAME}/${PORTVERSION}
@@ -13,21 +13,16 @@ COMMENT= Transparently handles automatic compression and decompression of files
LICENSE= LGPL21
OPTIONS_DEFINE= NLS
+OPTIONS_SUB= yes
-USE_AUTOTOOLS= libtool
-USES= pathfix pkgconfig
+INSTALL_TARGET= install-strip
+USES= libtool pathfix pkgconfig
USE_LDCONFIG= yes
+GNU_CONFIGURE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib -lintl
-PLIST_SUB+= NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+= NLS="@comment "
-.endif
+NLS_USES+= gettext
+NLS_CPPFLAGS+= -I${LOCALBASE}/include
+NLS_LDFLAGS+= -L${LOCALBASE}/lib -lintl
+NLS_CONFIGURE_ARGS= nls
.include <bsd.port.mk>
diff --git a/archivers/libcomprex/pkg-plist b/archivers/libcomprex/pkg-plist
index a087e6c7c210..8e043c83fd40 100644
--- a/archivers/libcomprex/pkg-plist
+++ b/archivers/libcomprex/pkg-plist
@@ -39,6 +39,7 @@ lib/libcomprex.a
lib/libcomprex.la
lib/libcomprex.so
lib/libcomprex.so.3
+lib/libcomprex.so.3.0.0
libdata/pkgconfig/libcomprex.pc
man/man1/comprex-config.1.gz
man/man3/cxApplyFsNodeInfo.3.gz