RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/textproc/texinfo/Portfile,v
retrieving revision 1.1
diff -b -u -r1.1 Portfile
|
|
|
18 | 18 | ftp://gatekeeper.dec.com/pub/GNU/${name}/ \ |
19 | 19 | ftp://ftp.keystealth.org/pub/gnu/${name}/ |
20 | 20 | checksums md5 5730c8c0c7484494cca7a7e2d7459c64 |
| 21 | |
| 22 | configure.args-append --infodir=${prefix}/share/info --mandir=${prefix}/share/man |
| 23 | |
| 24 | post-destroot { system "rm ${destroot}/${prefix}/share/info/dir" } |
RCS file: postinstall
diff -N postinstall
-
|
+
|
|
| 1 | #!/bin/sh |
| 2 | # $1: the full path to the installation package; for example: |
| 3 | # /Volumes/Projects/Testing/Simple_Carbon_App.pkg |
| 4 | # $2: the full path to the installation destination; for example: |
| 5 | # /Applications |
| 6 | # $3: the mountpoint of the destination volume; for example: |
| 7 | # / or /Volumes/External_Drive |
| 8 | # $4: the root directory for the current System folder: |
| 9 | # / |
| 10 | |
| 11 | infodir=@PREFIX@/share/info |
| 12 | |
| 13 | # we need to add info file entries to the installed info directory |
| 14 | info_files="texinfo info-stnd.info info.info" |
| 15 | |
| 16 | for file in $(echo $info_files) |
| 17 | do |
| 18 | relfile=`echo "$file" | sed 's|^.*/||'` |
| 19 | install-info --info-dir=${infodir} ${infodir}/$relfile || : |
| 20 | done |