svn commit: r342694 - head/archivers/libcomprex

Baptiste Daroussin bapt at FreeBSD.org
Wed Feb 5 13:17:26 UTC 2014


Author: bapt
Date: Wed Feb  5 13:17:25 2014
New Revision: 342694
URL: http://svnweb.freebsd.org/changeset/ports/342694
QAT: https://qat.redports.org/buildarchive/r342694/

Log:
  Strip binaries
  USES=libtool
  Use options helpers

Modified:
  head/archivers/libcomprex/Makefile
  head/archivers/libcomprex/pkg-plist

Modified: head/archivers/libcomprex/Makefile
==============================================================================
--- head/archivers/libcomprex/Makefile	Wed Feb  5 13:11:05 2014	(r342693)
+++ head/archivers/libcomprex/Makefile	Wed Feb  5 13:17:25 2014	(r342694)
@@ -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
 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>

Modified: head/archivers/libcomprex/pkg-plist
==============================================================================
--- head/archivers/libcomprex/pkg-plist	Wed Feb  5 13:11:05 2014	(r342693)
+++ head/archivers/libcomprex/pkg-plist	Wed Feb  5 13:17:25 2014	(r342694)
@@ -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


More information about the svn-ports-all mailing list