summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-11-12 05:38:58 +0000
committerobache <obache@pkgsrc.org>2009-11-12 05:38:58 +0000
commit4ec1d3cba3635bc411838cf094cf282bf7e85f1b (patch)
tree1457be61b5851674548763290b82a96250e039bf /devel/cpuflags
parente7eff3c3739312b465a062e66b240e03121a49f8 (diff)
downloadpkgsrc-4ec1d3cba3635bc411838cf094cf282bf7e85f1b.tar.gz
Some fixes
* Fixes permissions of installed files. * honor PKGMANDIR, as PR 42290.
Diffstat (limited to 'devel/cpuflags')
-rw-r--r--devel/cpuflags/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
index df8d40ba0d1..37388f09996 100644
--- a/devel/cpuflags/Makefile
+++ b/devel/cpuflags/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.148 2009/04/09 00:48:07 joerg Exp $
+# $NetBSD: Makefile,v 1.149 2009/11/12 05:38:58 obache Exp $
DISTNAME= cpuflags-1.41
CATEGORIES= devel sysutils
@@ -15,6 +15,14 @@ ONLY_FOR_PLATFORM= NetBSD-*-* Linux-*-* SunOS-*-* FreeBSD-*-*
USE_LANGUAGES= # empty
NO_CONFIGURE= yes
+MAKE_FLAGS+= INSTALL_DATA=${INSTALL_DATA:Q}
+MAKE_FLAGS+= INSTALL_MAN=${INSTALL_MAN:Q}
+MAKE_FLAGS+= INSTALL_SCRIPT=${INSTALL_SCRIPT:Q}
+MAKE_FLAGS+= INSTALL_PROGRAM_DIR=${INSTALL_PROGRAM_DIR:Q}
+MAKE_FLAGS+= INSTALL_MAN_DIR=${INSTALL_MAN_DIR:Q}
+MAKE_FLAGS+= INSTALL_DATA_DIR=${INSTALL_DATA_DIR:Q}
+MAKE_FLAGS+= MANDIR=${PREFIX}/${PKGMANDIR}/man1
+
SUBST_CLASSES+= cpuflags
SUBST_STAGE.cpuflags= post-patch
SUBST_FILES.cpuflags= cpuflags.sh