pkgsrc/geography/kplex/Makefile
plunky 575cc42aab 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.
2015-02-16 21:10:32 +00:00

29 lines
928 B
Makefile

# $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"