Skip to content

Commit

Permalink
destroot
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1931 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Michael Maibaum committed Feb 2, 2003
1 parent c1b73af commit 1d05d86
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 31 deletions.
18 changes: 7 additions & 11 deletions games/larn/Portfile
Expand Up @@ -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
2 changes: 0 additions & 2 deletions games/othello/Portfile
Expand Up @@ -8,5 +8,3 @@ platforms darwin
master_sites http://david.weekly.org/othello/
checksums md5 046931bfe95f89b0f3c82f398dfedb2e

contents bin/othello \
man/man6/othello.6
15 changes: 6 additions & 9 deletions games/wtf/Portfile
Expand Up @@ -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
15 changes: 6 additions & 9 deletions games/wump/Portfile
Expand Up @@ -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

0 comments on commit 1d05d86

Please sign in to comment.