summaryrefslogtreecommitdiff
path: root/devel/cpuflags
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2008-06-12 13:37:19 +0000
committerabs <abs@pkgsrc.org>2008-06-12 13:37:19 +0000
commit6f01403ba0b19804cfdbafb438df04a413472d4b (patch)
treeb084c816d0b59f9b4c5eb43b4f638e0f60fe6c0f /devel/cpuflags
parentcfda74a5a0fd99c15c9b48afb5859d6a03ed1cb0 (diff)
downloadpkgsrc-6f01403ba0b19804cfdbafb438df04a413472d4b.tar.gz
fixup DESTDIR - bump pkgrevision
Diffstat (limited to 'devel/cpuflags')
-rw-r--r--devel/cpuflags/Makefile3
-rw-r--r--devel/cpuflags/files/Makefile26
2 files changed, 18 insertions, 11 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
index 18afabad782..a0d9ca36d8a 100644
--- a/devel/cpuflags/Makefile
+++ b/devel/cpuflags/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.122 2008/06/12 02:14:22 joerg Exp $
+# $NetBSD: Makefile,v 1.123 2008/06/12 13:37:19 abs Exp $
DISTNAME= cpuflags-1.18
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
diff --git a/devel/cpuflags/files/Makefile b/devel/cpuflags/files/Makefile
index 1ebbd1f20fc..abf909e2b6f 100644
--- a/devel/cpuflags/files/Makefile
+++ b/devel/cpuflags/files/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.12 2007/08/27 10:08:29 abs Exp $
+# $Id: Makefile,v 1.13 2008/06/12 13:37:19 abs Exp $
VERSION=1.14
@@ -9,9 +9,12 @@ MANDIR?=${PREFIX}/man/man1
SUBRDIR?=${PREFIX}/share/cpuflags
SHAREMKDIR?=${PREFIX}/share/mk
BINDIR?=${PREFIX}/bin
-BSD_INSTALL_DATA?=install
-BSD_INSTALL_MAN?=install
-BSD_INSTALL_SCRIPT?=install
+INSTALL_DATA?=install
+INSTALL_MAN?=install
+INSTALL_SCRIPT?=install
+INSTALL_PROGRAM_DIR?=mkdir -p
+INSTALL_MAN_DIR?=mkdir -p
+INSTALL_DATA_DIR?=mkdir -p
SED?=sed
all:
@@ -23,12 +26,15 @@ clean:
rm -rf *.out DIST
install:
- mkdir -p ${BINDIR} ${MANDIR} ${SHAREMKDIR} ${SUBRDIR}
- ${BSD_INSTALL_SCRIPT} cpuflags.sh.out ${BINDIR}/cpuflags
- ${BSD_INSTALL_MAN} cpuflags.1.out ${MANDIR}/cpuflags.1
- ${BSD_INSTALL_DATA} optimize_gcc.mk ${SHAREMKDIR}/optimize_gcc.mk
- ${BSD_INSTALL_DATA} cpuflags.mk.out ${SHAREMKDIR}/cpuflags.mk
- ${BSD_INSTALL_DATA} subr_* ${SUBRDIR}
+ ${INSTALL_PROGRAM_DIR} ${DESTDIR}/${BINDIR}
+ ${INSTALL_MAN_DIR} ${DESTDIR}/${MANDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}/${SHAREMKDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}/${SUBRDIR}
+ ${INSTALL_SCRIPT} cpuflags.sh.out ${DESTDIR}/${BINDIR}/cpuflags
+ ${INSTALL_MAN} cpuflags.1.out ${DESTDIR}/${MANDIR}/cpuflags.1
+ ${INSTALL_DATA} optimize_gcc.mk ${DESTDIR}/${SHAREMKDIR}/optimize_gcc.mk
+ ${INSTALL_DATA} cpuflags.mk.out ${DESTDIR}/${SHAREMKDIR}/cpuflags.mk
+ ${INSTALL_DATA} subr_* ${DESTDIR}/${SUBRDIR}
dist:
mkdir -p DIST/cpuflags-${VERSION}