Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 2014 15:50:11 +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: r351855 - head/comms/gsmlib
Message-ID:  <201404221550.s3MFoBUY099984@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Apr 22 15:50:11 2014
New Revision: 351855
URL: http://svnweb.freebsd.org/changeset/ports/351855
QAT: https://qat.redports.org/buildarchive/r351855/

Log:
  USES=libtool
  Use options helpers

Modified:
  head/comms/gsmlib/Makefile
  head/comms/gsmlib/pkg-plist

Modified: head/comms/gsmlib/Makefile
==============================================================================
--- head/comms/gsmlib/Makefile	Tue Apr 22 15:44:37 2014	(r351854)
+++ head/comms/gsmlib/Makefile	Tue Apr 22 15:50:11 2014	(r351855)
@@ -13,26 +13,20 @@ DISTFILES=	gsmlib_1.10.orig.tar.gz
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Library to access GSM mobile phones through GSM modems
 
-USE_GNOME=	lthack
-USES=		gmake
-USE_AUTOTOOLS=	libtool
+USES=		gmake libtool
 USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
 
 CPPFLAGS+=	-I${LOCALBASE}/include -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT \
 		${PTHREAD_CFLAGS}
 LDFLAGS+=	${PTHREAD_LIBS} -L${LOCALBASE}/lib
+INSTALL_TARGET=	install-strip
 
 OPTIONS_DEFINE=	NLS
+OPTIONS_SUB=	yes
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=	nls
 
 post-patch:
 	@${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \

Modified: head/comms/gsmlib/pkg-plist
==============================================================================
--- head/comms/gsmlib/pkg-plist	Tue Apr 22 15:44:37 2014	(r351854)
+++ head/comms/gsmlib/pkg-plist	Tue Apr 22 15:50:11 2014	(r351855)
@@ -27,10 +27,12 @@ lib/libgsmext.a
 lib/libgsmext.la
 lib/libgsmext.so
 lib/libgsmext.so.1
+lib/libgsmext.so.1.0.4
 lib/libgsmme.a
 lib/libgsmme.la
 lib/libgsmme.so
 lib/libgsmme.so.1
+lib/libgsmme.so.1.0.4
 man/man1/gsmctl.1.gz
 man/man1/gsmpb.1.gz
 man/man1/gsmsendsms.1.gz



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