blob: 8d8c6184caf08c29d619f5507e677af32374d9eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"
|