aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authordb <db@FreeBSD.org>2016-01-15 22:10:36 +0800
committerdb <db@FreeBSD.org>2016-01-15 22:10:36 +0800
commitae3a614995ea282d0edc07c7b03d500e2139d861 (patch)
treeedb63c8feeb2df2739fa48ed74650271c56adb5a /comms
parentcc9a212edd4dddde2910fa6d46736ad86b72adbe (diff)
downloadfreebsd-ports-gnome-ae3a614995ea282d0edc07c7b03d500e2139d861.tar.gz
freebsd-ports-gnome-ae3a614995ea282d0edc07c7b03d500e2139d861.tar.zst
freebsd-ports-gnome-ae3a614995ea282d0edc07c7b03d500e2139d861.zip
Add libfap 1.5, c port for Ham::APRS::FAP Finnish APRS Parser Perl
module. PR: ports/206159 Submitted by: akh@nobugware.com
Diffstat (limited to 'comms')
-rw-r--r--comms/Makefile1
-rw-r--r--comms/libfap/Makefile19
-rw-r--r--comms/libfap/distinfo2
-rw-r--r--comms/libfap/files/patch-Makefile.in11
-rw-r--r--comms/libfap/pkg-descr9
-rw-r--r--comms/libfap/pkg-plist6
6 files changed, 48 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index 7b4e0142430b..31ee133e4c2a 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -80,6 +80,7 @@
SUBDIR += kremotecontrol
SUBDIR += kvasd
SUBDIR += libconcord
+ SUBDIR += libfap
SUBDIR += libfec
SUBDIR += libimobiledevice
SUBDIR += libirman
diff --git a/comms/libfap/Makefile b/comms/libfap/Makefile
new file mode 100644
index 000000000000..2f166fc3c615
--- /dev/null
+++ b/comms/libfap/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= libfap
+PORTVERSION= 1.5
+CATEGORIES= comms hamradio
+MASTER_SITES= http://www.pakettiradio.net/downloads/libfap/${PORTVERSION}/ \
+ LOCAL/db
+
+MAINTAINER= akh@nobugware.com
+COMMENT= C port for Ham::APRS::FAP Finnish APRS Parser Perl module
+
+LICENSE= GPLv2
+
+HAS_CONFIGURE= yes
+USE_LDCONFIG= yes
+USES= libtool
+INSTALL_TARGET= install-strip
+
+.include <bsd.port.mk>
diff --git a/comms/libfap/distinfo b/comms/libfap/distinfo
new file mode 100644
index 000000000000..6810b91c70b0
--- /dev/null
+++ b/comms/libfap/distinfo
@@ -0,0 +1,2 @@
+SHA256 (libfap-1.5.tar.gz) = 5259702e4d8f15ccc1e64d04641ade042660e748b59895b9fc22d1c0a6239b09
+SIZE (libfap-1.5.tar.gz) = 372880
diff --git a/comms/libfap/files/patch-Makefile.in b/comms/libfap/files/patch-Makefile.in
new file mode 100644
index 000000000000..e2cf9a62847c
--- /dev/null
+++ b/comms/libfap/files/patch-Makefile.in
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2015-01-31 12:33:36 UTC
++++ Makefile.in
+@@ -280,7 +280,7 @@ top_srcdir = @top_srcdir@
+ ACLOCAL_AMFLAGS = -I m4
+ SUBDIRS = licenses src
+ EXTRA_DIST = Doxyfile
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_DATA = libfap.pc
+ all: config.h
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
diff --git a/comms/libfap/pkg-descr b/comms/libfap/pkg-descr
new file mode 100644
index 000000000000..7c78d0dc9568
--- /dev/null
+++ b/comms/libfap/pkg-descr
@@ -0,0 +1,9 @@
+libfap is a quick and dirty C port of the Ham::APRS::FAP
+Finnish APRS Parser Perl module.
+
+As the original Perl code, libfap parses normal,
+mic-e and compressed location packets, NMEA location packets, objects,
+items, messages, telemetry and most weather packets.
+For more description, see the Perl module.
+
+WWW: http://www.pakettiradio.net/libfap/
diff --git a/comms/libfap/pkg-plist b/comms/libfap/pkg-plist
new file mode 100644
index 000000000000..4644f461ec44
--- /dev/null
+++ b/comms/libfap/pkg-plist
@@ -0,0 +1,6 @@
+include/fap.h
+lib/libfap.a
+lib/libfap.so
+lib/libfap.so.6
+lib/libfap.so.6.0.0
+libdata/pkgconfig/libfap.pc