summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-22 15:50:11 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-22 15:50:11 +0000
commit3e059cd566f4aefbf69fccb861054418c751e223 (patch)
tree60b39de0822fc3756b8b7f4c94441d9848d7cc9c /comms
parentPossibly unbreak (diff)
USES=libtool
Use options helpers
Notes
Notes: svn path=/head/; revision=351855
Diffstat (limited to 'comms')
-rw-r--r--comms/gsmlib/Makefile18
-rw-r--r--comms/gsmlib/pkg-plist2
2 files changed, 8 insertions, 12 deletions
diff --git a/comms/gsmlib/Makefile b/comms/gsmlib/Makefile
index 194d7c228262..d725c003da42 100644
--- a/comms/gsmlib/Makefile
+++ b/comms/gsmlib/Makefile
@@ -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 \
diff --git a/comms/gsmlib/pkg-plist b/comms/gsmlib/pkg-plist
index 95caf26724c5..82e5bd6a362e 100644
--- a/comms/gsmlib/pkg-plist
+++ b/comms/gsmlib/pkg-plist
@@ -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