Merge from vendor branch TNF:
[pkgsrcv2.git] / misc / ppower / Makefile
1 # $NetBSD: Makefile,v 1.8 2009/05/19 08:59:24 wiz Exp $
2 #
3
4 DISTNAME=       ppower-0.1.5
5 PKGREVISION=    1
6 CATEGORIES=     misc
7 MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=ppower/}
8
9 MAINTAINER=     dsainty@NetBSD.org
10 HOMEPAGE=       http://ppower.sourceforge.net/
11 COMMENT=        X10 controller software for the CM11A interface
12 #LICENSE=               GPL
13
14 PKG_DESTDIR_SUPPORT=    user-destdir
15
16 GNU_CONFIGURE=          YES
17 USE_TOOLS+=             lex
18
19 CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFDIR:Q}
20
21 EGDIR=                  ${PREFIX}/share/examples/ppower
22 CONF_FILES+=            ${EGDIR}/ppower.conf ${PKG_SYSCONFDIR}/ppower.conf
23
24 INSTALLATION_DIRS=      share/examples/ppower
25
26 post-install:
27         ${INSTALL_DATA} \
28                 ${WRKSRC}/etc/ppower.conf ${DESTDIR}${PREFIX}/share/examples/ppower
29
30 .include "../../mk/bsd.pkg.mk"