Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 13:17:25 +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: r342694 - head/archivers/libcomprex
Message-ID:  <201402051317.s15DHPGn044939@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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