Skip to content

Commit

Permalink
Compress man pages, and indent a continued line.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1020 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Eric Melville committed Oct 9, 2002
1 parent a23fd8d commit ca10dea
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions games/fortune/Portfile
Expand Up @@ -14,7 +14,9 @@ configure { cd ${worksrcpath}
reinplace "s|/usr|${prefix}|" fortune/pathnames.h reinplace "s|/usr|${prefix}|" fortune/pathnames.h
reinplace "s|/usr/share|${prefix}/share|" fortune/fortune.6 reinplace "s|/usr/share|${prefix}/share|" fortune/fortune.6
reinplace "s|/usr/games/fortune|${prefix}/bin/fortune|" \ reinplace "s|/usr/games/fortune|${prefix}/bin/fortune|" \
fortune/fortune.6 } fortune/fortune.6
reinplace "s|MAN|MAN6|" fortune/Makefile
reinplace "s|MAN|MAN8|" strfile/Makefile }


patchfiles patch-fortune-Makefile patch-strfile-Makefile \ patchfiles patch-fortune-Makefile patch-strfile-Makefile \
patch-unstr-Makefile patch-datfiles-Makefile \ patch-unstr-Makefile patch-datfiles-Makefile \
Expand All @@ -37,12 +39,12 @@ install { cd ${worksrcpath}
${prefix}/bin" ${prefix}/bin"
system "install -o root -m 755 -c unstr/unstr \ system "install -o root -m 755 -c unstr/unstr \
${prefix}/bin" ${prefix}/bin"
system "install -o root -m 644 -c fortune/fortune.6 \ system "install -o root -m 644 -c fortune/fortune.6.gz \
${prefix}/man/man6" ${prefix}/man/man6"
system "install -o root -m 644 -c strfile/strfile.8 \ system "install -o root -m 644 -c strfile/strfile.8.gz \
${prefix}/man/man8" ${prefix}/man/man8"
system "ln ${prefix}/man/man8/strfile.8 \ system "ln ${prefix}/man/man8/strfile.8.gz \
${prefix}/man/man8/unstr.8" ${prefix}/man/man8/unstr.8.gz"


cd datfiles cd datfiles
foreach datfile $datfiles { foreach datfile $datfiles {
Expand All @@ -52,9 +54,9 @@ install { cd ${worksrcpath}
contents bin/fortune \ contents bin/fortune \
bin/strfile \ bin/strfile \
bin/unstr \ bin/unstr \
man/man6/fortune.6 \ man/man6/fortune.6.gz \
man/man8/strfile.8 \ man/man8/strfile.8.gz \
man/man8/unstr.8 \ man/man8/unstr.8.gz \
share/games/fortune/fortunes \ share/games/fortune/fortunes \
share/games/fortune/fortunes.dat \ share/games/fortune/fortunes.dat \
share/games/fortune/fortunes-o \ share/games/fortune/fortunes-o \
Expand Down

0 comments on commit ca10dea

Please sign in to comment.