summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-12-23 17:54:54 +0000
committerjoerg <joerg@pkgsrc.org>2009-12-23 17:54:54 +0000
commit6907f87b40e2d5160773538a6217e833059d16a0 (patch)
treea324d81d0ec886eb04394c35bda9c438260174d3 /misc
parent5c0869cb875938ac2dd40787c574b0ff1d0f6cb7 (diff)
downloadpkgsrc-6907f87b40e2d5160773538a6217e833059d16a0.tar.gz
Fix destdir installation.
XXX Some files are installed with group sys and I can't find a good reason.
Diffstat (limited to 'misc')
-rw-r--r--misc/heyu/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/misc/heyu/Makefile b/misc/heyu/Makefile
index 035e5408e1e..f649f5fa806 100644
--- a/misc/heyu/Makefile
+++ b/misc/heyu/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2009/12/11 02:13:44 dsainty Exp $
+# $NetBSD: Makefile,v 1.15 2009/12/23 17:54:54 joerg Exp $
#
DISTNAME= heyu-1.35
@@ -11,18 +11,20 @@ MAINTAINER= damon@brodiefamily.org
HOMEPAGE= http://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}
-MAKE_FLAGS+= MAN=${PREFIX}/${PKGMANDIR}/man1
-MAKE_FLAGS+= MAN5=${PREFIX}/${PKGMANDIR}/man5
+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 ${PREFIX}/share/examples/heyu
-PKG_DESTDIR_SUPPORT= destdir
+INSTALLATION_DIRS+= bin share/examples/heyu
.include "../../mk/bsd.pkg.mk"