diff options
author | abs <abs@pkgsrc.org> | 2005-07-21 08:33:13 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2005-07-21 08:33:13 +0000 |
commit | be0ddf4f02b3da6911aab54afa3da7d934827ecb (patch) | |
tree | 46dc31a439114301644e339a42c0bca7b49b0c21 /devel/cpuflags | |
parent | 20ad7ca72d435f9b8ca3add616eb53a17daaeb50 (diff) | |
download | pkgsrc-be0ddf4f02b3da6911aab54afa3da7d934827ecb.tar.gz |
Update cpuflags to 0.89
Use SED and INSTALL - should fix PR30223 (using wrong install under Solaris)
Diffstat (limited to 'devel/cpuflags')
-rw-r--r-- | devel/cpuflags/Makefile | 4 | ||||
-rw-r--r-- | devel/cpuflags/files/Makefile | 20 |
2 files changed, 13 insertions, 11 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile index 52bd41725f6..8bb35f292dc 100644 --- a/devel/cpuflags/Makefile +++ b/devel/cpuflags/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.91 2005/06/25 10:50:49 abs Exp $ +# $NetBSD: Makefile,v 1.92 2005/07/21 08:33:13 abs Exp $ # -DISTNAME= cpuflags-0.88 +DISTNAME= cpuflags-0.89 CATEGORIES= sysutils MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/cpuflags/files/Makefile b/devel/cpuflags/files/Makefile index 612c5d35604..15dec8b84c5 100644 --- a/devel/cpuflags/files/Makefile +++ b/devel/cpuflags/files/Makefile @@ -1,6 +1,6 @@ -# $Id: Makefile,v 1.2 2005/05/01 22:03:37 abs Exp $ +# $Id: Makefile,v 1.3 2005/07/21 08:33:13 abs Exp $ -VERSION=0.87 +VERSION=0.89 PREFIX?=/usr/local OPSYS?=`uname` @@ -8,20 +8,22 @@ OPSYS?=`uname` MANDIR?=${PREFIX}/man/man1 MKDIR?=${PREFIX}/share/mk BINDIR?=${PREFIX}/bin +INSTALL?=install +SED?=sed all: - sed -e 's|@PREFIX@|${PREFIX}|g' cpuflags.1 > cpuflags.1.out - sed -e 's|@PREFIX@|${PREFIX}|g' cpuflags.mk > cpuflags.mk.out + ${SED} -e 's|@PREFIX@|${PREFIX}|g' cpuflags.1 > cpuflags.1.out + ${SED} -e 's|@PREFIX@|${PREFIX}|g' cpuflags.mk > cpuflags.mk.out clean: rm -rf *.out out install: - mkdir -p ${BINDIR} ${MANDIR} ${MKDIR} - install cpuflags.${OPSYS} ${BINDIR}/cpuflags - install cpuflags.1.out ${MANDIR}/cpuflags.1 - install optimize_gcc.mk ${MKDIR}/optimize_gcc.mk - install cpuflags.mk.out ${MKDIR}/cpuflags.mk + mkdir -p ${BINDIR} ${MANDIR} ${MKDIR} + ${INSTALL} cpuflags.${OPSYS} ${BINDIR}/cpuflags + ${INSTALL} cpuflags.1.out ${MANDIR}/cpuflags.1 + ${INSTALL} optimize_gcc.mk ${MKDIR}/optimize_gcc.mk + ${INSTALL} cpuflags.mk.out ${MKDIR}/cpuflags.mk dist: mkdir -p out/cpuflags-${VERSION} |