summaryrefslogtreecommitdiff
path: root/misc/ppower/Makefile
blob: c66fe622a940dbc8a657c75ebc94ab4b415844fc (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
# $NetBSD: Makefile,v 1.6 2006/10/25 12:44:26 dsainty Exp $
#

DISTNAME=	ppower-0.1.5
CATEGORIES=	misc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ppower/}

MAINTAINER=	dsainty@NetBSD.org
HOMEPAGE=	http://ppower.sourceforge.net/
COMMENT=	X10 controller software for the CM11A interface

#LICENSE=       	GPL

GNU_CONFIGURE=		YES
USE_TOOLS+=		lex

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}

EGDIR=			${PREFIX}/share/examples/ppower
CONF_FILES+=		${EGDIR}/ppower.conf ${PKG_SYSCONFDIR}/ppower.conf

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ppower
	${INSTALL_DATA} \
		${WRKSRC}/etc/ppower.conf ${PREFIX}/share/examples/ppower

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