summaryrefslogtreecommitdiff
path: root/misc/heyu/Makefile
blob: b5b2a518148166acba1b636b6c026de158782e3f (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
30
# $NetBSD: Makefile,v 1.17 2020/01/26 17:31:43 rillig Exp $
#

DISTNAME=	heyu-1.35
PKGREVISION=	1
CATEGORIES=	misc
MASTER_SITES=	http://heyu.tanj.com/
DISTFILES=	x10_heyu.tgz

MAINTAINER=	damon@brodiefamily.org
HOMEPAGE=	https://www.heyu.org/
COMMENT=	Home Automation Software for the X10 CM11A

PKG_DESTDIR_SUPPORT=	destdir

DIST_SUBDIR=	${PKGNAME_NOREV}
WRKSRC=		${WRKDIR}/heyu.dir

CONFIGURE_SCRIPT=	./Configure
MAKE_ENV+=		DEFAULT_SERIAL_DEVICE=${DEFAULT_SERIAL_DEVICE:Q}
INSTALL_MAKE_FLAGS+=	BIN=${DESTDIR}${PREFIX}/bin
INSTALL_MAKE_FLAGS+=	MAN=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
INSTALL_MAKE_FLAGS+=	MAN5=${DESTDIR}${PREFIX}/${PKGMANDIR}/man5

REPLACE_SH+=	makesched
USE_TOOLS+=	sh:run

INSTALLATION_DIRS+=	bin share/examples/heyu

.include "../../mk/bsd.pkg.mk"