RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/print/a2ps/Portfile,v
retrieving revision 1.5
diff -b -u -r1.5 Portfile
|
|
|
17 | 17 | checksums md5 0c8e0c31b08c14f7a7198ce967eb3281 |
18 | 18 | worksrcdir ${name}-4.13 |
19 | 19 | |
| 20 | depends_build bin:makeinfo:texinfo |
| 21 | |
| 22 | configure.args --infodir=${prefix}/share/info --mandir=${prefix}/share/man |
| 23 | |
| 24 | variant letter { |
| 25 | configure.args-append --with-medium=Letter |
| 26 | } |
| 27 | |
20 | 28 | variant darwin { |
21 | 29 | pre-configure { |
22 | 30 | file copy -force /usr/share/libtool/config.guess ${worksrcpath}/auxdir/ |
23 | 31 | file copy -force /usr/share/libtool/config.sub ${worksrcpath}/auxdir/ |
| 32 | foreach makefile [ exec find ${worksrcpath} -name Makefile.in -print ] { |
| 33 | reinplace "s|\$(MAKE)|\$(MAKE) DESTDIR=\$(DESTDIR)|g" ${makefile} |
| 34 | reinplace "s|^DESTDIR|\#DESTDIR|g" ${makefile} |
24 | 35 | } |
| 36 | } |
| 37 | post-destroot { system "rm ${destroot}/${prefix}/share/info/dir" } |
25 | 38 | } |
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="a2ps.info regex.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 |
RCS file: postremove
diff -N postremove
-
|
+
|
|
| 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="a2ps.info regex.info" |
| 15 | |
| 16 | for file in $(echo $info_files) |
| 17 | do |
| 18 | relfile=`echo "$file" | sed 's|^.*/||'` |
| 19 | install-info --quiet --delete --info-dir=${infodir} $relfile || : |
| 20 | done |