From 1d05d86bcde0c664b2fb894439f8a3e694fa5f14 Mon Sep 17 00:00:00 2001 From: Michael Maibaum Date: Sun, 2 Feb 2003 00:29:25 +0000 Subject: [PATCH] destroot git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1931 d073be05-634f-4543-b044-5fe20cf6d1d6 --- games/larn/Portfile | 18 +++++++----------- games/othello/Portfile | 2 -- games/wtf/Portfile | 15 ++++++--------- games/wump/Portfile | 15 ++++++--------- 4 files changed, 19 insertions(+), 31 deletions(-) diff --git a/games/larn/Portfile b/games/larn/Portfile index 5c9065a40b1ff..32da3633876c8 100644 --- a/games/larn/Portfile +++ b/games/larn/Portfile @@ -20,19 +20,15 @@ configure { reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile ${worksrcpath}/pathnames.h } install { cd ${worksrcpath} - system "install -o root -m 755 -d ${prefix}/var/games/larn" - system "install -o root -m 755 -d ${prefix}/man/man6" - system "install -o root -m 755 -d ${prefix}/share/games/larn" - system "install -o root -m 755 -c larn ${prefix}/bin" + system "install -o root -m 755 -d ${destroot}${prefix}/var/games/larn" + system "install -o root -m 755 -d ${destroot}${prefix}/man/man6" + system "install -o root -m 755 -d ${destroot}${prefix}/share/games/larn" + system "install -o root -m 755 -c larn ${destroot}${prefix}/bin" system "install -o root -m 644 -c larn.6.gz \ - ${prefix}/man/man6" + ${destroot}${prefix}/man/man6" cd datfiles system "install -o root -m 644 -c larn.help \ - ${prefix}/share/games/larn" + ${destroot}${prefix}/share/games/larn" system "install -o root -m 644 -c larnmaze \ - ${prefix}/share/games/larn" } + ${destroot}${prefix}/share/games/larn" } -contents bin/larn \ - man/man6/larn.6.gz \ - share/games/larn/larn.help \ - share/games/larn/larnmaze diff --git a/games/othello/Portfile b/games/othello/Portfile index 1cd0b786a4a37..34ca04c8e5fcb 100644 --- a/games/othello/Portfile +++ b/games/othello/Portfile @@ -8,5 +8,3 @@ platforms darwin master_sites http://david.weekly.org/othello/ checksums md5 046931bfe95f89b0f3c82f398dfedb2e -contents bin/othello \ - man/man6/othello.6 diff --git a/games/wtf/Portfile b/games/wtf/Portfile index d87614d659312..81df8a282d242 100644 --- a/games/wtf/Portfile +++ b/games/wtf/Portfile @@ -20,16 +20,13 @@ build { install { cd ${worksrcpath} - system "install wtf ${prefix}/bin" + system "install -d ${destroot}${prefix}/bin" + system "install wtf ${destroot}${prefix}/bin" - system "install -d ${prefix}/man/man6" - system "install wtf.6 ${prefix}/man/man6" + system "install -d ${destroot}${prefix}/man/man6" + system "install wtf.6 ${destroot}${prefix}/man/man6" - system "install -d ${prefix}/share/misc" - system "install acronyms ${prefix}/share/misc" + system "install -d ${destroot}${prefix}/share/misc" + system "install acronyms ${destroot}${prefix}/share/misc" } -contents \ - bin/wtf \ - man/man6/wtf.6 \ - share/misc/acronyms diff --git a/games/wump/Portfile b/games/wump/Portfile index 7f451dbb0217a..3cb80f2a8afd7 100644 --- a/games/wump/Portfile +++ b/games/wump/Portfile @@ -17,16 +17,13 @@ configure { reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile patchfiles patch-wump.c -install { system "install -o root -m 755 -d ${prefix}/bin" - system "install -o root -m 755 -d ${prefix}/man/man6" - system "install -o root -m 755 -d ${prefix}/share/games" +install { system "install -o root -m 755 -d ${destroot}${prefix}/bin" + system "install -o root -m 755 -d ${destroot}${prefix}/man/man6" + system "install -o root -m 755 -d ${destroot}${prefix}/share/games" system "install -o root -m 755 -c ${worksrcpath}/wump \ - ${prefix}/bin" + ${destroot}${prefix}/bin" system "install -o root -m 644 -c ${worksrcpath}/wump.6.gz \ - ${prefix}/man/man6" + ${destroot}${prefix}/man/man6" system "install -o root -m 644 -c ${worksrcpath}/wump.info \ - ${prefix}/share/games" } + ${destroot}${prefix}/share/games" } -contents bin/wump \ - man/man6/wump.6.gz \ - share/games/wump.info