summaryrefslogtreecommitdiff
path: root/geography/kplex
diff options
context:
space:
mode:
authorplunky <plunky@pkgsrc.org>2015-02-16 21:10:32 +0000
committerplunky <plunky@pkgsrc.org>2015-02-16 21:10:32 +0000
commit26e4ca4007449cc65196db0d9e282d57e4994dbd (patch)
tree51503bcb367318e3ff0f64d22e9aa1d6780e5576 /geography/kplex
parente7d038bf07dbe23df2754b0491fff25aeef852cb (diff)
downloadpkgsrc-26e4ca4007449cc65196db0d9e282d57e4994dbd.tar.gz
new package: kplex
-- kplex is a multitransport software data multiplexer, working with data conforming to the NMEA-0183 standard. Kplex multiplexes data inputs from sources such as serial lines, pseudo terminals and network interfaces and send to any (reasonable) number of similar outputs. kplex can perform filtering of inputs (so you only get the data you want, or don't get the data you don't want from a given source) and outputs (so you only send what you want where you want) and can perform fine-grained failover so that for any given type of data, you specify a priority order of the source you would like to take it from.
Diffstat (limited to 'geography/kplex')
-rw-r--r--geography/kplex/DESCR13
-rw-r--r--geography/kplex/Makefile29
-rw-r--r--geography/kplex/PLIST4
-rw-r--r--geography/kplex/distinfo5
4 files changed, 51 insertions, 0 deletions
diff --git a/geography/kplex/DESCR b/geography/kplex/DESCR
new file mode 100644
index 00000000000..4106b6e8f98
--- /dev/null
+++ b/geography/kplex/DESCR
@@ -0,0 +1,13 @@
+kplex is a multitransport software data multiplexer, working with
+data conforming to the NMEA-0183 standard.
+
+Kplex multiplexes data inputs from sources such as serial lines,
+pseudo terminals and network interfaces and send to any (reasonable)
+number of similar outputs.
+
+kplex can perform filtering of inputs (so you only get the data you
+want, or don't get the data you don't want from a given source) and
+outputs (so you only send what you want where you want) and can
+perform fine-grained failover so that for any given type of data,
+you specify a priority order of the source you would like to take
+it from.
diff --git a/geography/kplex/Makefile b/geography/kplex/Makefile
new file mode 100644
index 00000000000..8d8c6184caf
--- /dev/null
+++ b/geography/kplex/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2015/02/16 21:10:32 plunky Exp $
+
+DISTNAME= kplex-1.2
+CATEGORIES= geography
+MASTER_SITES= http://www.stripydog.com/download/
+EXTRACT_SUFX= .tgz
+
+HOMEPAGE= http://www.stripydog.com/kplex/index.html
+COMMENT= Multitransport NMEA-0183 software data multiplexer
+LICENSE= gnu-gpl-v3
+
+SUBST_CLASSES+= paths
+SUBST_STAGE.paths= post-patch
+SUBST_MESSAGE.paths= Fixing path to config file
+SUBST_FILES.paths= README kplex.h kplex.conf.ex
+SUBST_SED.paths= -e "s|/etc/kplex.conf|${PKG_SYSCONFDIR}/kplex.conf|"
+
+USE_TOOLS+= gmake
+BUILD_TARGET= kplex
+
+INSTALLATION_DIRS= bin share/doc/kplex
+CONF_FILES= share/doc/kplex/kplex.conf.ex ${PKG_SYSCONFDIR}/kplex.conf
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/kplex ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/kplex
+ ${INSTALL_DATA} ${WRKSRC}/kplex.conf.ex ${DESTDIR}${PREFIX}/share/doc/kplex
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/geography/kplex/PLIST b/geography/kplex/PLIST
new file mode 100644
index 00000000000..f5d68579b7a
--- /dev/null
+++ b/geography/kplex/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2015/02/16 21:10:32 plunky Exp $
+bin/kplex
+share/doc/kplex/README
+share/doc/kplex/kplex.conf.ex
diff --git a/geography/kplex/distinfo b/geography/kplex/distinfo
new file mode 100644
index 00000000000..33999de6d2b
--- /dev/null
+++ b/geography/kplex/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2015/02/16 21:10:32 plunky Exp $
+
+SHA1 (kplex-1.2.tgz) = 651dac0282c8d5fd484519b97d7b5113535f303a
+RMD160 (kplex-1.2.tgz) = 1480d798954874aae9777eb556931a853351a122
+Size (kplex-1.2.tgz) = 71344 bytes