From 73f7f4accc5d96d3e06ea7acd98994369a307e70 Mon Sep 17 00:00:00 2001 From: Diane Bruce Date: Fri, 15 Jan 2016 14:10:36 +0000 Subject: [PATCH] Add libfap 1.5, c port for Ham::APRS::FAP Finnish APRS Parser Perl module. PR: ports/206159 Submitted by: akh@nobugware.com --- comms/Makefile | 1 + comms/libfap/Makefile | 19 +++++++++++++++++++ comms/libfap/distinfo | 2 ++ comms/libfap/files/patch-Makefile.in | 11 +++++++++++ comms/libfap/pkg-descr | 9 +++++++++ comms/libfap/pkg-plist | 6 ++++++ 6 files changed, 48 insertions(+) create mode 100644 comms/libfap/Makefile create mode 100644 comms/libfap/distinfo create mode 100644 comms/libfap/files/patch-Makefile.in create mode 100644 comms/libfap/pkg-descr create mode 100644 comms/libfap/pkg-plist 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 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