aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-04-22 23:50:11 +0800
committerbapt <bapt@FreeBSD.org>2014-04-22 23:50:11 +0800
commitd373308015cbb5195261ae1d2a9ae778776cc3a3 (patch)
tree60b39de0822fc3756b8b7f4c94441d9848d7cc9c /comms
parent60db4c4fc3f2b783adfecf184079cd895150b83e (diff)
downloadfreebsd-ports-gnome-d373308015cbb5195261ae1d2a9ae778776cc3a3.tar.gz
freebsd-ports-gnome-d373308015cbb5195261ae1d2a9ae778776cc3a3.tar.zst
freebsd-ports-gnome-d373308015cbb5195261ae1d2a9ae778776cc3a3.zip
USES=libtool
Use options helpers
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