diff options
author | jlam <jlam> | 2008-03-03 00:51:43 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 00:51:43 +0000 |
commit | 5e34b9c7fc714e656c1f1792189c0cc3e5349236 (patch) | |
tree | cdb67462b5541a6566af441ea620d49ad326d24e /benchmarks/skampi/Makefile | |
parent | 09af58dd14701cbbb6f38bbd905462b016dc40c5 (diff) | |
download | pkgsrc-5e34b9c7fc714e656c1f1792189c0cc3e5349236.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'benchmarks/skampi/Makefile')
-rw-r--r-- | benchmarks/skampi/Makefile | 28 |
1 files changed, 15 insertions, 13 deletions
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" |