summaryrefslogtreecommitdiff
path: root/misc/ppower/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/ppower/Makefile')
-rw-r--r--misc/ppower/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/misc/ppower/Makefile b/misc/ppower/Makefile
index c66fe622a94..c4e243292f5 100644
--- a/misc/ppower/Makefile
+++ b/misc/ppower/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2006/10/25 12:44:26 dsainty Exp $
+# $NetBSD: Makefile,v 1.7 2008/06/12 02:14:37 joerg Exp $
#
DISTNAME= ppower-0.1.5
@@ -9,6 +9,8 @@ MAINTAINER= dsainty@NetBSD.org
HOMEPAGE= http://ppower.sourceforge.net/
COMMENT= X10 controller software for the CM11A interface
+PKG_DESTDIR_SUPPORT= user-destdir
+
#LICENSE= GPL
GNU_CONFIGURE= YES
@@ -19,9 +21,10 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
EGDIR= ${PREFIX}/share/examples/ppower
CONF_FILES+= ${EGDIR}/ppower.conf ${PKG_SYSCONFDIR}/ppower.conf
+INSTALLATION_DIRS= share/examples/ppower
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ppower
${INSTALL_DATA} \
- ${WRKSRC}/etc/ppower.conf ${PREFIX}/share/examples/ppower
+ ${WRKSRC}/etc/ppower.conf ${DESTDIR}${PREFIX}/share/examples/ppower
.include "../../mk/bsd.pkg.mk"