Skip to content
Permalink
Browse files

Compress man pages, and indent a continued line.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1020 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Eric Melville
Eric Melville committed Oct 9, 2002
1 parent a23fd8d commit ca10deacce94462c9b92761b8f45a8f406a91593
Showing with 10 additions and 8 deletions.
  1. +10 −8 games/fortune/Portfile
@@ -14,7 +14,9 @@ configure { cd ${worksrcpath}
reinplace "s|/usr|${prefix}|" fortune/pathnames.h
reinplace "s|/usr/share|${prefix}/share|" fortune/fortune.6
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 \
patch-unstr-Makefile patch-datfiles-Makefile \
@@ -37,12 +39,12 @@ install { cd ${worksrcpath}
${prefix}/bin"
system "install -o root -m 755 -c unstr/unstr \
${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"
system "install -o root -m 644 -c strfile/strfile.8 \
system "install -o root -m 644 -c strfile/strfile.8.gz \
${prefix}/man/man8"
system "ln ${prefix}/man/man8/strfile.8 \
${prefix}/man/man8/unstr.8"
system "ln ${prefix}/man/man8/strfile.8.gz \
${prefix}/man/man8/unstr.8.gz"

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

0 comments on commit ca10dea

Please sign in to comment.
You can’t perform that action at this time.