summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 00:51:43 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 00:51:43 +0000
commit075003a60c727330726570ab7674a2ee12c5654f (patch)
treecdb67462b5541a6566af441ea620d49ad326d24e
parentbd579f3497266e46fb3a16428bf69c529a427d58 (diff)
downloadpkgsrc-075003a60c727330726570ab7674a2ee12c5654f.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
-rw-r--r--benchmarks/benchfft/Makefile11
-rw-r--r--benchmarks/bytebench/Makefile18
-rw-r--r--benchmarks/dhrystone/Makefile15
-rw-r--r--benchmarks/fib/Makefile5
-rw-r--r--benchmarks/flops/Makefile9
-rw-r--r--benchmarks/forkbomb/Makefile8
-rw-r--r--benchmarks/heapsort/Makefile5
-rw-r--r--benchmarks/hint/Makefile9
-rw-r--r--benchmarks/iozone/Makefile12
-rw-r--r--benchmarks/linpack-bench/Makefile7
-rw-r--r--benchmarks/nbench/Makefile6
-rw-r--r--benchmarks/netpipe/Makefile11
-rw-r--r--benchmarks/nsieve/Makefile5
-rw-r--r--benchmarks/nttcp/Makefile10
-rw-r--r--benchmarks/paranoia/Makefile5
-rw-r--r--benchmarks/pipebench/Makefile6
-rw-r--r--benchmarks/postmark/Makefile5
-rw-r--r--benchmarks/randread/Makefile5
-rw-r--r--benchmarks/skampi/Makefile28
-rw-r--r--benchmarks/whetstone/Makefile5
-rw-r--r--benchmarks/zelibm/Makefile6
-rw-r--r--biology/arka/Makefile18
-rw-r--r--biology/azara/Makefile9
-rw-r--r--biology/clustalw/Makefile10
-rw-r--r--biology/coalesce/Makefile18
-rw-r--r--biology/fastDNAml/Makefile14
-rw-r--r--biology/fluctuate/Makefile18
-rw-r--r--biology/genesplicer/Makefile12
-rw-r--r--biology/glimmer/Makefile16
-rw-r--r--biology/lucy/Makefile12
-rw-r--r--biology/mummer/Makefile13
-rw-r--r--biology/pdbalign/Makefile10
-rw-r--r--biology/phylip/Makefile15
-rw-r--r--biology/profit/Makefile15
-rw-r--r--biology/sewer/Makefile11
-rw-r--r--biology/stride/Makefile6
-rw-r--r--biology/xylem/Makefile18
37 files changed, 240 insertions, 166 deletions
diff --git a/benchmarks/benchfft/Makefile b/benchmarks/benchfft/Makefile
index fda5806e34b..d22e069778d 100644
--- a/benchmarks/benchfft/Makefile
+++ b/benchmarks/benchfft/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.32 2008/01/19 09:16:17 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2008/03/03 00:51:43 jlam Exp $
DISTNAME= benchfft-2.0
-PKGREVISION= 2
+PKGREVISION= 2
CATEGORIES= benchmarks math
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
ftp://ftp.fftw.org/pub/fftw/old/benchfft/
@@ -12,6 +12,7 @@ HOMEPAGE= http://www.fftw.org/benchfft/
COMMENT= Benchmark your machine with a number of FFT algorithms
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_TOOLS+= gmake
@@ -28,8 +29,10 @@ INSTALLATION_DIRS= bin
CONFIGURE_DIRS= ${WRKDIR}/fftw-2.0.1 ${WRKSRC}
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/bench ${PREFIX}/bin/bench-fft
- ${INSTALL_SCRIPT} ${WRKSRC}/submit-script ${PREFIX}/bin/run-fftbench
+ ${INSTALL_PROGRAM} ${WRKSRC}/bench \
+ ${DESTDIR}${PREFIX}/bin/bench-fft
+ ${INSTALL_SCRIPT} ${WRKSRC}/submit-script \
+ ${DESTDIR}${PREFIX}/bin/run-fftbench
.include "../../mk/bsd.prefs.mk"
diff --git a/benchmarks/bytebench/Makefile b/benchmarks/bytebench/Makefile
index 61912a9102c..327c780ba73 100644
--- a/benchmarks/bytebench/Makefile
+++ b/benchmarks/bytebench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2008/01/19 09:16:17 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2008/03/03 00:51:44 jlam Exp $
DISTNAME= unixbench-4.1.0
PKGNAME= ${DISTNAME:S/unix/byte/}
@@ -11,7 +11,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= BYTE Magazine's Public Domain benchmark for UNIX
PKG_INSTALLATION_TYPES= overwrite pkgviews
-
+PKG_DESTDIR_SUPPORT= user-destdir
BENCHMARK_ENV+= BINDIR=${WRKSRC}/pgms
BENCHMARK_ENV+= SCRPDIR=${WRKSRC}/pgms
@@ -37,13 +37,13 @@ pre-install:
${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/libexec/bytebench
- ${INSTALL_SCRIPT} ${WRKSRC}/pgms/* ${PREFIX}/libexec/bytebench
- ${INSTALL_DATA_DIR} ${PREFIX}/share/bytebench
- ${INSTALL_DATA} ${WRKSRC}/testdir/* ${PREFIX}/share/bytebench
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bytebench
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bytebench
- ${INSTALL_SCRIPT} ${WRKSRC}/run-byte ${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/libexec/bytebench
+ ${INSTALL_SCRIPT} ${WRKSRC}/pgms/* ${DESTDIR}${PREFIX}/libexec/bytebench
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/bytebench
+ ${INSTALL_DATA} ${WRKSRC}/testdir/* ${DESTDIR}${PREFIX}/share/bytebench
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/bytebench
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/bytebench
+ ${INSTALL_SCRIPT} ${WRKSRC}/run-byte ${DESTDIR}${PREFIX}/bin
benchmark:
@if [ `${ID} -u` != 0 ]; then \
diff --git a/benchmarks/dhrystone/Makefile b/benchmarks/dhrystone/Makefile
index 65c471638e9..5727615847c 100644
--- a/benchmarks/dhrystone/Makefile
+++ b/benchmarks/dhrystone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/01/19 09:16:17 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 00:51:44 jlam Exp $
DISTNAME= dhry2.1
PKGNAME= dhrystone-2.1
@@ -10,17 +10,20 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Reinhold Weicker's DHRYSTONE 2.1 integer benchmark
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/dry2 ${PREFIX}/bin/dry2
- ${INSTALL_PROGRAM} ${WRKSRC}/dry2reg ${PREFIX}/bin/dry2reg
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/dhrystone
- ${INSTALL_DATA} ${WRKSRC}/clarify.doc ${PREFIX}/share/doc/dhrystone
- ${INSTALL_DATA} ${WRKSRC}/Rationale ${PREFIX}/share/doc/dhrystone
+ ${INSTALL_PROGRAM} ${WRKSRC}/dry2 ${DESTDIR}${PREFIX}/bin/dry2
+ ${INSTALL_PROGRAM} ${WRKSRC}/dry2reg ${DESTDIR}${PREFIX}/bin/dry2reg
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/dhrystone
+ ${INSTALL_DATA} ${WRKSRC}/clarify.doc \
+ ${DESTDIR}${PREFIX}/share/doc/dhrystone
+ ${INSTALL_DATA} ${WRKSRC}/Rationale \
+ ${DESTDIR}${PREFIX}/share/doc/dhrystone
benchmark:
-@${ECHO} 5000000 | ${WRKSRC}/dry2 | tee ${WRKSRC}/dry.out
diff --git a/benchmarks/fib/Makefile b/benchmarks/fib/Makefile
index 6ccd30d4962..dcbb6f2bd68 100644
--- a/benchmarks/fib/Makefile
+++ b/benchmarks/fib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/01/19 09:16:17 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 00:51:44 jlam Exp $
DISTNAME= fib.c
PKGNAME= fib-980203
@@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Mathematical benchmark
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
@@ -23,7 +24,7 @@ do-build:
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -DUNIX -o fib fib.c -lm)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fib ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/fib ${DESTDIR}${PREFIX}/bin
benchmark:
-@${WRKSRC}/fib | tee ${WRKSRC}/fib.out
diff --git a/benchmarks/flops/Makefile b/benchmarks/flops/Makefile
index ddd8a60c1f6..0d4011afbd5 100644
--- a/benchmarks/flops/Makefile
+++ b/benchmarks/flops/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/01/19 09:16:18 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 00:51:44 jlam Exp $
DISTNAME= flops
PKGNAME= flops-2.0
@@ -11,6 +11,7 @@ HOMEPAGE= http://performance.netlib.org/performance/html/flops.html
COMMENT= Floating point benchmark to give your MFLOPS rating
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
@@ -25,9 +26,9 @@ do-build:
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -DUNIX -o flops flops.c -lm)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/flops ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/flops
- ${INSTALL_DATA} ${WRKSRC}/flops.doc ${PREFIX}/share/doc/flops
+ ${INSTALL_PROGRAM} ${WRKSRC}/flops ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/flops
+ ${INSTALL_DATA} ${WRKSRC}/flops.doc ${DESTDIR}${PREFIX}/share/doc/flops
benchmark:
-@${WRKSRC}/flops | tee ${WRKSRC}/flops.out
diff --git a/benchmarks/forkbomb/Makefile b/benchmarks/forkbomb/Makefile
index 90f454cd61c..20cb8153948 100644
--- a/benchmarks/forkbomb/Makefile
+++ b/benchmarks/forkbomb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/03/04 21:29:01 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 00:51:44 jlam Exp $
#
DISTNAME= forkbomb-1.4
@@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://home.tiscali.cz:8080/~cz210552/forkbomb.html
COMMENT= Classic Unix fork() bomber
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS+= bin man/man8
do-build:
@@ -16,8 +18,8 @@ do-build:
${WRKSRC}/forkbomb
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/forkbomb ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/forkbomb.8 ${PREFIX}/${PKGMANDIR}/man8
+ ${INSTALL_PROGRAM} ${WRKSRC}/forkbomb ${DESTDIR}${PREFIX}/bin
+ 1${INSTALL_MAN} ${WRKSRC}/forkbomb.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/heapsort/Makefile b/benchmarks/heapsort/Makefile
index 8c12cd5cd7e..ad92785d598 100644
--- a/benchmarks/heapsort/Makefile
+++ b/benchmarks/heapsort/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/01/19 09:16:18 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2008/03/03 00:51:44 jlam Exp $
DISTNAME= heapsort.c
PKGNAME= heapsort-1.0
@@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Benchmark program for variable sized arrays
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
@@ -23,7 +24,7 @@ do-build:
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -DUNIX -o heapsort heapsort.c -lm)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/heapsort ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/heapsort ${DESTDIR}${PREFIX}/bin
benchmark:
-@${WRKSRC}/heapsort | tee ${WRKSRC}/heapsort.out
diff --git a/benchmarks/hint/Makefile b/benchmarks/hint/Makefile
index 5e57d1d6156..d3cf4c1794c 100644
--- a/benchmarks/hint/Makefile
+++ b/benchmarks/hint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2007/01/07 09:13:47 rillig Exp $
+# $NetBSD: Makefile,v 1.24 2008/03/03 00:51:44 jlam Exp $
DISTNAME= hint_unix_serial
PKGNAME= hint.serial-98.06.12
@@ -11,6 +11,7 @@ HOMEPAGE= http://hint.byu.edu/
COMMENT= Scalable benchmark for testing CPU and memory performance
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET= DOUBLE INT
@@ -22,9 +23,9 @@ post-extract:
${CP} ${FILESDIR}/hint.1 ${WRKSRC}/hint.1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/DOUBLE ${PREFIX}/bin/hint-double
- ${INSTALL_PROGRAM} ${WRKSRC}/INT ${PREFIX}/bin/hint-int
- ${INSTALL_MAN} ${WRKSRC}/hint.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/DOUBLE ${DESTDIR}${PREFIX}/bin/hint-double
+ ${INSTALL_PROGRAM} ${WRKSRC}/INT ${DESTDIR}${PREFIX}/bin/hint-int
+ ${INSTALL_MAN} ${WRKSRC}/hint.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
benchmark:
cd ${WRKSRC} ; ${MKDIR} data ; ./DOUBLE | tee hint.out
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index 9df27742f79..21dbe0fbee1 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2008/01/19 09:16:18 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2008/03/03 00:51:44 jlam Exp $
DISTNAME= iozone3_263
PKGNAME= iozone-3.263
@@ -16,6 +16,7 @@ LICENSE= iozone-license
NOT_FOR_PLATFORM= Interix-*-* # has only 32-bit off_t
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${DISTNAME}/src/current
MAKE_FILE= makefile
@@ -42,11 +43,12 @@ BUILD_TARGET= generic
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/IOzone
+ ${INSTALL_PROGRAM} ${WRKSRC}/iozone ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/IOzone
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/docs/Iozone_ps.gz \
- ${PREFIX}/share/doc/IOzone
+ ${DESTDIR}${PREFIX}/share/doc/IOzone
benchmark:
cd ${WRKSRC}; ./iozone -Ea | ${TEE} iozone.out
diff --git a/benchmarks/linpack-bench/Makefile b/benchmarks/linpack-bench/Makefile
index f9abc18cbe8..9dab163ee3e 100644
--- a/benchmarks/linpack-bench/Makefile
+++ b/benchmarks/linpack-bench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2008/01/19 09:16:18 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/03 00:51:44 jlam Exp $
DISTNAME= linpackc
PKGNAME= linpack-bench-940225
@@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Collection of benchmarks for floating point
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
@@ -24,8 +25,8 @@ do-build:
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -DROLL -DSP -o linpacks linpack.c -lm)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/linpackd ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/linpacks ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/linpackd ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/linpacks ${DESTDIR}${PREFIX}/bin
benchmark:
-@${WRKSRC}/linpacks | tee ${WRKSRC}/linpacks.out
diff --git a/benchmarks/nbench/Makefile b/benchmarks/nbench/Makefile
index a16cfaf2270..8e6d2203f82 100644
--- a/benchmarks/nbench/Makefile
+++ b/benchmarks/nbench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/03/04 21:29:01 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2008/03/03 00:51:44 jlam Exp $
#
DISTNAME= nbench-byte-2.2.2
@@ -10,11 +10,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.tux.org/~mayer/linux/
COMMENT= Benchmark tool for CPU, FPU and memory
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= default
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nbench ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/nbench ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/netpipe/Makefile b/benchmarks/netpipe/Makefile
index 9ded7b74e74..eb207c67dc6 100644
--- a/benchmarks/netpipe/Makefile
+++ b/benchmarks/netpipe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/01/07 09:13:48 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/03 00:51:44 jlam Exp $
DISTNAME= NetPIPE_2.4
PKGNAME= netpipe-2.4
@@ -10,6 +10,8 @@ HOMEPAGE= http://www.scl.ameslab.gov/netpipe/
COMMENT= TCP/PVM/MPI testing and performance measuring tool
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/netpipe-2.4
.include "../../mk/bsd.prefs.mk"
@@ -23,8 +25,9 @@ MAKE_ENV+= EXTRA_LIBS="-lsocket -lnsl"
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- cd ${WRKSRC} ; \
- ${INSTALL_PROGRAM} NPtcp ${PREFIX}/bin/NPtcp ; \
- ${INSTALL_MAN} netpipe.1 ${PREFIX}/${PKGMANDIR}/man1/netpipe.1
+ cd ${WRKSRC} && ${INSTALL_PROGRAM} NPtcp \
+ ${DESTDIR}${PREFIX}/bin/NPtcp
+ cd ${WRKSRC} && ${INSTALL_MAN} netpipe.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/netpipe.1
.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/nsieve/Makefile b/benchmarks/nsieve/Makefile
index cc0ef0fb630..5488d03b576 100644
--- a/benchmarks/nsieve/Makefile
+++ b/benchmarks/nsieve/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2008/01/19 09:16:18 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2008/03/03 00:51:44 jlam Exp $
DISTNAME= nsieve.c
PKGNAME= nsieve-1.2b
@@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Sieve of Eratosthenes benchmark
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
@@ -23,7 +24,7 @@ do-build:
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -DUNIX -o nsieve nsieve.c -lm)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/nsieve ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/nsieve ${DESTDIR}${PREFIX}/bin
benchmark:
-@${WRKSRC}/nsieve | tee ${WRKSRC}/nsieve.out
diff --git a/benchmarks/nttcp/Makefile b/benchmarks/nttcp/Makefile
index 498165d3c36..6511b427812 100644
--- a/benchmarks/nttcp/Makefile
+++ b/benchmarks/nttcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/01/07 09:13:48 rillig Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/03 00:51:44 jlam Exp $
DISTNAME= nttcp-1.47
PKGREVISION= 1
@@ -10,6 +10,7 @@ HOMEPAGE= http://home.leo.org/~elmar/nttcp/
COMMENT= New TCP testing and performance measuring tool
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
@@ -20,8 +21,9 @@ MAKE_ENV+= LIB="-lsocket -lnsl"
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- cd ${WRKSRC} ; \
- ${INSTALL_PROGRAM} nttcp ${PREFIX}/bin/nttcp ; \
- ${INSTALL_MAN} nttcp.1 ${PREFIX}/${PKGMANDIR}/man1/nttcp.1
+ cd ${WRKSRC} && ${INSTALL_PROGRAM} nttcp \
+ ${DESTDIR}${PREFIX}/bin/nttcp
+ cd ${WRKSRC} && ${INSTALL_MAN} nttcp.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/nttcp.1
.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/paranoia/Makefile b/benchmarks/paranoia/Makefile
index 68b6c892cb0..468b75d3ed7 100644
--- a/benchmarks/paranoia/Makefile
+++ b/benchmarks/paranoia/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2008/01/19 09:16:18 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2008/03/03 00:51:44 jlam Exp $
DISTNAME= paranoia
PKGNAME= paranoia-960101
@@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Highly paranoid test of IEEE 754 conformance
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
@@ -19,7 +20,7 @@ do-build:
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -ffloat-store -o paranoia paranoia.c -lm)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/paranoia ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/paranoia ${DESTDIR}${PREFIX}/bin
benchmark:
@(cd ${WRKSRC}; ./paranoia < ${FILESDIR}/paranoia.run | tee paranoia.out)
diff --git a/benchmarks/pipebench/Makefile b/benchmarks/pipebench/Makefile
index 2e01ab6823e..d113a4a4c69 100644
--- a/benchmarks/pipebench/Makefile
+++ b/benchmarks/pipebench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2006/03/04 21:29:01 jlam Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 00:51:44 jlam Exp $
#
DISTNAME= pipebench-0.40
@@ -9,9 +9,11 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.habets.pp.se/synscan/programs.php?prog=pipebench
COMMENT= Measures the speed of a pipe
+PKG_DESTDIR_SUPPORT= user-destdir
+
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/pipebench ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/pipebench ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/postmark/Makefile b/benchmarks/postmark/Makefile
index 2b17dc0a88c..727e1bfefed 100644
--- a/benchmarks/postmark/Makefile
+++ b/benchmarks/postmark/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2008/01/19 09:16:19 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2008/03/03 00:51:44 jlam Exp $
DISTNAME= postmark-1_5.c
PKGNAME= postmark-1.5
@@ -13,6 +13,7 @@ COMMENT= NetApps file system benchmark
EXTRACT_CMD= ${CP} ${DOWNLOADED_DISTFILE} postmark.c
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
NO_CONFIGURE= yes
@@ -23,7 +24,7 @@ do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} -o postmark postmark.c)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/postmark ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/postmark ${DESTDIR}${PREFIX}/sbin
benchmark:
@(cd ${WRKSRC}; (${ECHO} "set number 5000" ;\
diff --git a/benchmarks/randread/Makefile b/benchmarks/randread/Makefile
index bacb9716bac..da783cc87ee 100644
--- a/benchmarks/randread/Makefile
+++ b/benchmarks/randread/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/10/31 17:33:42 tv Exp $
+# $NetBSD: Makefile,v 1.9 2008/03/03 00:51:44 jlam Exp $
#
DISTNAME= randread-0.1
@@ -12,6 +12,7 @@ COMMENT= Program to help benchmark random disk read performance
NOT_FOR_PLATFORM= Interix-*-*
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET= randread
WRKSRC= ${WRKDIR}
@@ -19,6 +20,6 @@ WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= sbin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/randread ${PREFIX}/sbin
+ ${INSTALL_PROGRAM} ${WRKSRC}/randread ${DESTDIR}${PREFIX}/sbin
.include "../../mk/bsd.pkg.mk"
diff --git a/benchmarks/skampi/Makefile b/benchmarks/skampi/Makefile
index e0fe7be1864..975e3b7f265 100644
--- a/benchmarks/skampi/Makefile
+++ b/benchmarks/skampi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2006/08/10 03:21:39 minskim Exp $
+# $NetBSD: Makefile,v 1.18 2008/03/03 00:51:44 jlam Exp $
#
DISTNAME= skampi4
@@ -16,6 +16,8 @@ COMMENT= MPI (Message Passing Interface) benchmarks
DEPENDS+= gnuplot>=3.7.1:../../graphics/gnuplot
TEX_ACCEPTED= teTeX3
+PKG_DESTDIR_SUPPORT= user-destdir
+
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
USE_TOOLS+= perl:run
@@ -31,26 +33,26 @@ do-build:
${PREFIX}/bin/mpicc -o skosfile skosfile.c -lm)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/skosfile ${PREFIX}/bin/skosfile
+ ${INSTALL_PROGRAM} ${WRKSRC}/skosfile ${DESTDIR}${PREFIX}/bin/skosfile
${INSTALL_SCRIPT} ${WRKSRC}/report_generator/dorep4.pl \
- ${PREFIX}/bin/dorep4.pl
- ${INSTALL_DATA_DIR} ${PREFIX}/share/skampi/dri
+ ${DESTDIR}${PREFIX}/bin/dorep4.pl
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/skampi/dri
(cd ${WRKSRC}/report_generator/dri && \
- ${PAX} -rw . ${PREFIX}/share/skampi/dri)
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/skampi
+ ${PAX} -rw . ${DESTDIR}${PREFIX}/share/skampi/dri)
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/skampi
${INSTALL_DATA} ${WRKSRC}/${DISTNAME}_userman.ps \
- ${PREFIX}/share/doc/skampi/
+ ${DESTDIR}${PREFIX}/share/doc/skampi/
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/skampili.ps \
- ${PREFIX}/share/doc/skampi/
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/skampi
+ ${DESTDIR}${PREFIX}/share/doc/skampi/
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/skampi
${INSTALL_DATA} ${WRKSRC}/.skampi \
- ${PREFIX}/share/examples/skampi/dot.skampi
+ ${DESTDIR}${PREFIX}/share/examples/skampi/dot.skampi
${INSTALL_DATA} ${WRKSRC}/.skampi-all-collectives \
- ${PREFIX}/share/examples/skampi/dot.skampi-all-collectives
+ ${DESTDIR}${PREFIX}/share/examples/skampi/dot.skampi-all-collectives
${INSTALL_DATA} ${WRKSRC}/.skampi-dt-long \
- ${PREFIX}/share/examples/skampi/dot.skampi-dt-long
+ ${DESTDIR}${PREFIX}/share/examples/skampi/dot.skampi-dt-long
${INSTALL_DATA} ${WRKSRC}/.skampi-dt-short \
- ${PREFIX}/share/examples/skampi/dot.skampi-dt-short
+ ${DESTDIR}${PREFIX}/share/examples/skampi/dot.skampi-dt-short
.include "../../parallel/mpi-ch/buildlink3.mk"
.include "../../mk/tex.buildlink3.mk"
diff --git a/benchmarks/whetstone/Makefile b/benchmarks/whetstone/Makefile
index 0833e9c1262..d5356ef1f8d 100644
--- a/benchmarks/whetstone/Makefile
+++ b/benchmarks/whetstone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2008/01/19 09:16:19 wiz Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/03 00:51:44 jlam Exp $
DISTNAME= whetstone
PKGNAME= whetstone-1.2
@@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Benchmark for processors that gives you a MIPS rating
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}
@@ -19,7 +20,7 @@ do-build:
(cd ${WRKSRC} ; ${CC} ${CFLAGS} -o whetstone whetstone.c -lm)
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/whetstone ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/whetstone ${DESTDIR}${PREFIX}/bin
benchmark:
@${WRKSRC}/whetstone 80000 | tee ${WRKSRC}/whetstone.out
diff --git a/benchmarks/zelibm/Makefile b/benchmarks/zelibm/Makefile
index 84b3a2b69af..e0ebc65960f 100644
--- a/benchmarks/zelibm/Makefile
+++ b/benchmarks/zelibm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2007/01/26 21:56:40 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/03 00:51:44 jlam Exp $
#
DISTNAME= zelibm
@@ -11,10 +11,12 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://people.redhat.com/drepper/libm/
COMMENT= Visual Math Library Quality Check
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= gmake
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/libmtest ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/libmtest ${DESTDIR}${PREFIX}/bin
.include "../../devel/gmp/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
diff --git a/biology/arka/Makefile b/biology/arka/Makefile
index 940aed6fe9f..95d44e455c5 100644
--- a/biology/arka/Makefile
+++ b/biology/arka/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/02/22 19:26:09 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/03 01:10:05 jlam Exp $
#
DISTNAME= arka-0.11
@@ -13,6 +13,8 @@ COMMENT= Graphic interface for the programs from the GP package
DEPENDS+= gp-[0-9]*:../../biology/gp
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_DIRS+= xdg-1.1
CONF_FILES= ${PREFIX}/share/examples/arka/arkarc ${PKG_SYSCONFDIR}/arkarc
@@ -26,17 +28,17 @@ post-build:
cd ${WRKSRC} && ${GUNZIP_CMD} arka.1.gz
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/arka ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/arka.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_PROGRAM} ${WRKSRC}/arka ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/arka.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.for f in arka_16x16.xpm arka_32x32.xpm
- ${INSTALL_DATA} ${WRKSRC}/icons/${f} ${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/icons/${f} ${DESTDIR}${PREFIX}/share/pixmaps
.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/arka
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/arka
.for f in CHANGES.TXT INSTALL.TXT LICENSE.TXT README.TXT TODO.TXT
- ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/arka
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/doc/arka
.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/arka
- ${INSTALL_DATA} ${WRKSRC}/arkarc ${PREFIX}/share/examples/arka
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/arka
+ ${INSTALL_DATA} ${WRKSRC}/arkarc ${DESTDIR}${PREFIX}/share/examples/arka
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/azara/Makefile b/biology/azara/Makefile
index 9b324e0777a..5b4310f276e 100644
--- a/biology/azara/Makefile
+++ b/biology/azara/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2007/01/26 22:05:14 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/03 01:10:05 jlam Exp $
#
DISTNAME= azara-2.7-src
@@ -11,10 +11,13 @@ MAINTAINER= mchittur@cs.nmsu.edu
HOMEPAGE= http://www.bio.cam.ac.uk/azara/
COMMENT= Programs to process and view NMR data
-WRKSRC= ${WRKDIR}/azara-2.7
+PKG_DESTDIR_SUPPORT= user-destdir
+WRKSRC= ${WRKDIR}/azara-2.7
MAKE_FILE= makefile
+INSTALLATION_DIRS= bin
+
do-install:
.for PROG in azara \
bin2asc \
@@ -29,7 +32,7 @@ do-install:
reflate \
slides swap \
unblock viewer
- ${CP} ${WRKSRC}/bin/${PROG} ${PREFIX}/bin
+ ${CP} ${WRKSRC}/bin/${PROG} ${DESTDIR}${PREFIX}/bin
.endfor
.include "../../graphics/glu/buildlink3.mk"
diff --git a/biology/clustalw/Makefile b/biology/clustalw/Makefile
index 4e5c6551a91..220ee238e19 100644
--- a/biology/clustalw/Makefile
+++ b/biology/clustalw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/10/04 20:47:03 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2008/03/03 01:10:05 jlam Exp $
DISTNAME= clustalw1.83.UNIX
PKGNAME= clustalw-1.83
@@ -11,6 +11,7 @@ HOMEPAGE= http://bips.u-strasbg.fr/fr/Documentation/ClustalW/
COMMENT= General purpose multiple alignment program for DNA or proteins
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
MAKE_FILE= makefile
BUILD_TARGET= clustalw
@@ -26,10 +27,11 @@ post-patch:
&& ${MV} ${WRKSRC}/clustalw.c.tmp ${WRKSRC}/clustalw.c
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/clustalw ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/clustalw
+ ${INSTALL_PROGRAM} ${WRKSRC}/clustalw ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/clustalw
for f in clustalv.doc clustalw.doc clustalw.ms clustalw_help; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/clustalw; \
+ ${INSTALL_DATA} ${WRKSRC}/$$f \
+ ${DESTDIR}${PREFIX}/share/doc/clustalw; \
done
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/coalesce/Makefile b/biology/coalesce/Makefile
index 85d25fbd57e..38e89e67510 100644
--- a/biology/coalesce/Makefile
+++ b/biology/coalesce/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/06/16 06:57:40 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/03 01:10:05 jlam Exp $
#
DISTNAME= coalesce1.5b
@@ -10,6 +10,8 @@ MAINTAINER= brook@nmsu.edu
HOMEPAGE= http://evolution.genetics.washington.edu/lamarc/coalesce.html
COMMENT= Estimates effective population size and mutation rate
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/coalesce1.5beta
BUILD_TARGET= coalesce
@@ -21,14 +23,14 @@ EXFILES= bestree infile intree outfile parmfile seedfile
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${EXDIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/coalesce ${PREFIX}/bin/
- for f in ${DOCFILES}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCDIR}/$$f; \
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EXDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/coalesce ${DESTDIR}${PREFIX}/bin
+ for f in ${DOCFILES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${DOCDIR}/$$f; \
done
- for f in ${EXFILES}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${EXDIR}/$$f; \
+ for f in ${EXFILES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${EXDIR}/$$f; \
done
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/fastDNAml/Makefile b/biology/fastDNAml/Makefile
index ef7ec12fc43..4e80c773e7a 100644
--- a/biology/fastDNAml/Makefile
+++ b/biology/fastDNAml/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2005/06/16 06:57:40 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2008/03/03 01:10:05 jlam Exp $
DISTNAME= fastDNAml_1.2.2
PKGNAME= fastDNAml-1.2.2
@@ -9,12 +9,14 @@ MAINTAINER= babafou@babafou.eu.org
HOMEPAGE= http://geta.life.uiuc.edu/~gary/programs/fastDNAml.html
COMMENT= Program derived from Joseph Felsenstein's version 3.3 DNAML
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}/source
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fastDNAml ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/fastDNAml ${DESTDIR}${PREFIX}/bin
.for SCRIPT in ae2dnaml bootstrap categories categories_file \
checkpoint_summary clean_checkpoints clean_jumbles \
dnaml_progress fastDNAml_boot fastDNAml_loop \
@@ -23,11 +25,13 @@ do-install:
quickadd restart scores transition treefile \
treefile2prolog trees2NEXUS trees2prolog userlengths \
usertree usertrees weights weights_categories
- ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/scripts/${SCRIPT} ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME}/scripts/${SCRIPT} \
+ ${DESTDIR}${PREFIX}/bin
.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fastDNAml
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/fastDNAml
.for DOC in fastDNAml_doc_1.2.txt fastDNAml_scripts.txt
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/docs/${DOC} ${PREFIX}/share/doc/fastDNAml
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/docs/${DOC} \
+ ${DESTDIR}${PREFIX}/share/doc/fastDNAml
.endfor
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/fluctuate/Makefile b/biology/fluctuate/Makefile
index 5d3d0d9a388..4e608478835 100644
--- a/biology/fluctuate/Makefile
+++ b/biology/fluctuate/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/11/06 20:16:58 reed Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/03 01:10:05 jlam Exp $
#
DISTNAME= fluctuate1.4.src.doc
@@ -10,6 +10,8 @@ MAINTAINER= brook@nmsu.edu
HOMEPAGE= http://evolution.genetics.washington.edu/lamarc/fluctuate.html
COMMENT= Estimation of population growth rate
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/fluctuate1.4
BUILD_TARGET= fluctuate
@@ -21,14 +23,14 @@ EXFILES= bestree infile outfile
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fluctuate ${PREFIX}/bin/
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA_DIR} ${EXDIR}
- for f in ${DOCFILES}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${DOCDIR}/$$f; \
+ ${INSTALL_PROGRAM} ${WRKSRC}/fluctuate ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EXDIR}
+ for f in ${DOCFILES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${DOCDIR}/$$f; \
done
- for f in ${EXFILES}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${EXDIR}/$$f; \
+ for f in ${EXFILES}; do \
+ ${INSTALL_DATA} ${WRKSRC}/$$f ${DESTDIR}${EXDIR}/$$f; \
done
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/genesplicer/Makefile b/biology/genesplicer/Makefile
index dc757be4438..85eac030346 100644
--- a/biology/genesplicer/Makefile
+++ b/biology/genesplicer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/09/09 02:41:55 obache Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/03 01:10:05 jlam Exp $
#
DISTNAME= GeneSplicer
@@ -10,6 +10,8 @@ MAINTAINER= hdp@cs.nmsu.edu
HOMEPAGE= ftp://ftp.tigr.org/pub/software/GeneSplicer/
COMMENT= Computational Method for Splice Site Prediction
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
EXDIR= ${PREFIX}/share/examples/genesplicer
@@ -21,11 +23,11 @@ BUILD_DIRS= sources
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/sources/genesplicer ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${EXDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/sources/genesplicer ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${EXDIR}
.for DOC in readme fasta.example fasta.results
- ${INSTALL_DATA} ${WRKSRC}/sources/${DOC} ${EXDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sources/${DOC} ${DESTDIR}${EXDIR}
.endfor
- cd ${WRKSRC} && ${PAX} -rw ${EXAMPLES} ${EXDIR}/
+ cd ${WRKSRC} && ${PAX} -rw ${EXAMPLES} ${DESTDIR}${EXDIR}
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/glimmer/Makefile b/biology/glimmer/Makefile
index 8009c97f48d..4a532ff2c11 100644
--- a/biology/glimmer/Makefile
+++ b/biology/glimmer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2007/02/22 19:26:09 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/03 01:10:06 jlam Exp $
#
DISTNAME= glimmer213
@@ -10,6 +10,8 @@ MAINTAINER= hdp@cs.nmsu.edu
HOMEPAGE= ftp://ftp.tigr.org/pub/software/Glimmer/
COMMENT= System for finding genes in microbial DNA
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
WRKSRC= ${WRKDIR}/glimmer2.13
@@ -18,16 +20,16 @@ INSTALLATION_DIRS= bin
do-install:
.for PROGRAM in adjust anomaly build-icm check codon-usage compare-lists \
generate get-len get-putative glimmer2 long-orfs
- ${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM} ${DESTDIR}${PREFIX}/bin
.endfor
# ``extract'' is also in the csound package, so rename to avoid conflict
- ${INSTALL_PROGRAM} ${WRKSRC}/extract ${PREFIX}/bin/glextract
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/glimmer
+ ${INSTALL_PROGRAM} ${WRKSRC}/extract ${DESTDIR}${PREFIX}/bin/glextract
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/glimmer
${CP} ${WRKSRC}/README ${WRKSRC}/run-glimmer2.readme
.for DOC in run-glimmer2.readme build-icm.readme extract.readme glimmer2.readme long-orfs.readme
- ${INSTALL_DATA} ${WRKSRC}/${DOC} ${PREFIX}/share/doc/glimmer
+ ${INSTALL_DATA} ${WRKSRC}/${DOC} ${DESTDIR}${PREFIX}/share/doc/glimmer
.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/share/glimmer
- ${INSTALL_SCRIPT} ${WRKSRC}/run-glimmer2 ${PREFIX}/share/glimmer
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/glimmer
+ ${INSTALL_SCRIPT} ${WRKSRC}/run-glimmer2 ${DESTDIR}${PREFIX}/share/glimmer
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/lucy/Makefile b/biology/lucy/Makefile
index c4fdbd79050..05619da372f 100644
--- a/biology/lucy/Makefile
+++ b/biology/lucy/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2007/01/07 09:13:48 rillig Exp $
+# $NetBSD: Makefile,v 1.4 2008/03/03 01:10:06 jlam Exp $
#
DISTNAME= lucy-1.18p
@@ -10,17 +10,19 @@ HOMEPAGE= http://www.tigr.org/software/
COMMENT= Sequence Cleanup Program
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/lucy ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/lucy.1 ${PREFIX}/${PKGMANDIR}/man1
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/lucy
+ ${INSTALL_PROGRAM} ${WRKSRC}/lucy ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/lucy.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/lucy
.for EXAMPLE in PUC19 PUC19splice PUC19splice.for PUC19splice.rev \
atie.seq atie.qul atie.2nd pSPORT1splice pSPORT1vector ARMTM40TR.seq \
ARMTM40TR.qul lucy.ps lucy.debug
- ${INSTALL_DATA} ${WRKSRC}/${EXAMPLE} ${PREFIX}/share/examples/lucy
+ ${INSTALL_DATA} ${WRKSRC}/${EXAMPLE} \
+ ${DESTDIR}${PREFIX}/share/examples/lucy
.endfor
.include "../../mk/pthread.buildlink3.mk"
diff --git a/biology/mummer/Makefile b/biology/mummer/Makefile
index 97281c2c9c3..cd54bbe48dd 100644
--- a/biology/mummer/Makefile
+++ b/biology/mummer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/01/18 19:13:10 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/03 01:10:06 jlam Exp $
#
DISTNAME= MUMmer3.19
@@ -10,6 +10,8 @@ MAINTAINER= hdp@cs.nmsu.edu
HOMEPAGE= http://mummer.sourceforge.net/
COMMENT= System for aligning whole genome sequences
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_TOOLS+= csh:run gmake perl:run
USE_LANGUAGES= c c++
@@ -22,15 +24,16 @@ INSTALLATION_DIRS= bin share/doc/mummer share/mummer
do-install:
.for p in annotate combineMUMs delta-filter gaps mgaps mummer \
repeat-match show-aligns show-coords show-snps show-tiling
- ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${p} ${DESTDIR}${PREFIX}/bin
.endfor
.for p in postnuc postpro prenuc prepro
- ${INSTALL_PROGRAM} ${WRKSRC}/aux_bin/${p} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/aux_bin/${p} ${DESTDIR}${PREFIX}/bin
.endfor
.for f in run-mummer1 run-mummer3 nucmer promer exact-tandems \
mapview mummerplot nucmer2xfig
- ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/share/mummer
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/mummer
.endfor
- cd ${WRKSRC}/docs && pax -wr -s ',^Makefile$$,,' * ${PREFIX}/share/doc/mummer
+ cd ${WRKSRC}/docs && pax -wr -s ',^Makefile$$,,' * \
+ ${DESTDIR}${PREFIX}/share/doc/mummer
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/pdbalign/Makefile b/biology/pdbalign/Makefile
index e0cbce296a2..a8cfeeafa55 100644
--- a/biology/pdbalign/Makefile
+++ b/biology/pdbalign/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/02/22 19:26:09 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/03 01:10:06 jlam Exp $
#
DISTNAME= pdbalign
@@ -10,12 +10,14 @@ MAINTAINER= hdp@cs.nmsu.edu
HOMEPAGE= #empty
COMMENT= Prediction of Protein Secondary Structure and Active Sites
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/pdbalign ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/distalign ${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/pdbdist ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/pdbalign ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/distalign ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/pdbdist ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/phylip/Makefile b/biology/phylip/Makefile
index ae7d8ca806a..585777b4de9 100644
--- a/biology/phylip/Makefile
+++ b/biology/phylip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2007/01/26 22:06:38 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2008/03/03 01:10:06 jlam Exp $
DISTNAME= phylip-3.61
PKGREVISION= 2
@@ -14,6 +14,8 @@ RESTRICTED= No commercial distribution without a royalty agreement with the aut
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${DISTNAME}/src
INSTALLATION_DIRS= bin
@@ -25,14 +27,14 @@ do-install:
mix move neighbor pars penny proml promlk protdist \
protpars restdist restml retree seqboot treedist \
drawgram drawtree
- ${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM} ${DESTDIR}${PREFIX}/bin
.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/share/fonts/phylip
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/fonts/phylip
.for FONT in font1 font2 font3 font4 font5 font6
- ${INSTALL_DATA} ${WRKSRC}/${FONT} ${PREFIX}/share/fonts/phylip
+ ${INSTALL_DATA} ${WRKSRC}/${FONT} ${DESTDIR}${PREFIX}/share/fonts/phylip
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/phylip
-.for HTML in clique.html consense.html contchar.html contml.html \
+.for HTML in clique.html consense.html contchar.html contml.html \
contrast.html discrete.html distance.html dnacomp.html \
dnadist.html dnainvar.html dnaml.html dnamlk.html \
dnamove.html dnapars.html dnapenny.html dollop.html \
@@ -43,7 +45,8 @@ do-install:
promlk.html protdist.html protpars.html restdist.html \
restml.html retree.html seqboot.html sequence.html \
treedist.html
- ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${HTML} ${PREFIX}/share/doc/html/phylip
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${HTML} \
+ ${DESTDIR}${PREFIX}/share/doc/html/phylip
.endfor
MAKE_ENV+= X11_LDFLAGS=${X11_LDFLAGS:Q}
diff --git a/biology/profit/Makefile b/biology/profit/Makefile
index bd71de5f1c4..de83c8fa31c 100644
--- a/biology/profit/Makefile
+++ b/biology/profit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2005/11/03 19:45:20 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/03 01:10:06 jlam Exp $
#
DISTNAME= ProFitV2.2
@@ -10,18 +10,21 @@ MAINTAINER= hdp@cs.nmsu.edu
HOMEPAGE= http://acrmwww.biochem.ucl.ac.uk/programs/profit/index.html
COMMENT= Performs least squares fits of two protein structures
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= profit
BUILD_DIRS= src
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/profit ${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/profit
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/profit ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/profit
.for sufx in dvi ps tex
- ${INSTALL_DATA} ${WRKSRC}/doc/ProFit.${sufx} ${PREFIX}/share/doc/profit
+ ${INSTALL_DATA} ${WRKSRC}/doc/ProFit.${sufx} \
+ ${DESTDIR}${PREFIX}/share/doc/profit
.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/profit
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/profit
cd ${WRKSRC}/doc/ProFit/ && \
- ${PAX} -rw . ${PREFIX}/share/doc/html/profit/
+ ${PAX} -rw . ${DESTDIR}${PREFIX}/share/doc/html/profit/
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/sewer/Makefile b/biology/sewer/Makefile
index 02f404f716b..a9169a1100f 100644
--- a/biology/sewer/Makefile
+++ b/biology/sewer/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/02/05 23:08:20 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2008/03/03 01:10:06 jlam Exp $
DISTNAME= sewer
PKGNAME= sewer-2.6
@@ -12,6 +12,7 @@ HOMEPAGE= http://iubio.bio.indiana.edu/webapps/SeWeR/
COMMENT= SEquence Analysis using WEb Resources
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
NO_CONFIGURE= YES
NO_BUILD= YES
@@ -24,8 +25,10 @@ pre-install:
.endfor
do-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/sewer
- cd ${WRKDIR} && ${PAX} -rw [a-z]* ${PREFIX}/share/doc/html/sewer/
- cd ${PREFIX}/share/doc/html/sewer && ${LN} -s sewer.htm index.html
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/html/sewer
+ cd ${WRKDIR} && ${PAX} -rw [a-z]* \
+ ${DESTDIR}${PREFIX}/share/doc/html/sewer/
+ cd ${DESTDIR}${PREFIX}/share/doc/html/sewer && \
+ ${LN} -s sewer.htm index.html
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/stride/Makefile b/biology/stride/Makefile
index 03e990d1d22..23c6bcafaae 100644
--- a/biology/stride/Makefile
+++ b/biology/stride/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2005/06/16 06:57:41 jlam Exp $
+# $NetBSD: Makefile,v 1.7 2008/03/03 01:10:06 jlam Exp $
#
DISTNAME= stride
@@ -10,10 +10,12 @@ MAINTAINER= hdp@cs.nmsu.edu
HOMEPAGE= http://wolf.bi.umist.ac.uk/unix/stride.html
COMMENT= Protein secondary structure assignment from atomic coordinates
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/stride ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/stride ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
diff --git a/biology/xylem/Makefile b/biology/xylem/Makefile
index 4f07a820766..58a674e3a03 100644
--- a/biology/xylem/Makefile
+++ b/biology/xylem/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2007/02/22 19:26:09 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/03 01:10:06 jlam Exp $
#
DISTNAME= xylem.1.8.7
@@ -11,6 +11,8 @@ MAINTAINER= hdp@cs.nmsu.edu
HOMEPAGE= http://home.cc.umanitoba.ca/~psgendb/XYLEM.html
COMMENT= Tools for manipulation of genetic databases
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/xylem
BUILD_DIRS= src.c # yes, it's a directory
INSTALLATION_DIRS= bin
@@ -27,12 +29,14 @@ post-build:
do-install:
.for PROGRAM in dbstat getloc getob xyl-identify prot2nuc reform ribosome \
splitdb xyl-shuffle flat2phyl phyl2flat
- ${INSTALL_PROGRAM} ${WRKSRC}/src.c/${PROGRAM} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/src.c/${PROGRAM} ${DESTDIR}${PREFIX}/bin
.endfor
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xylem
- ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/xylem/
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xylem
- ${INSTALL_DATA} ${WRKSRC}/test/sample.* ${PREFIX}/share/examples/xylem
- ${INSTALL_SCRIPT} ${WRKSRC}/test/testxylem.csh ${PREFIX}/share/examples/xylem
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/xylem
+ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DESTDIR}${PREFIX}/share/doc/xylem/
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/xylem
+ ${INSTALL_DATA} ${WRKSRC}/test/sample.* \
+ ${DESTDIR}${PREFIX}/share/examples/xylem
+ ${INSTALL_SCRIPT} ${WRKSRC}/test/testxylem.csh \
+ ${DESTDIR}${PREFIX}/share/examples/xylem
.include "../../mk/bsd.pkg.mk"