diff options
Diffstat (limited to 'geography/kplex/Makefile')
-rw-r--r-- | geography/kplex/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
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" |