Ticket #29050: Portfile.2.diff
File Portfile.2.diff, 1.2 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 14 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 77595 2011-04-06 00:15:26Z blb@macports.org $ 2 2 3 3 PortSystem 1.0 4 PortGroup muniversal 1.0 5 4 6 name groff 5 7 version 1.21 8 revision 1 6 9 categories sysutils textproc 7 10 maintainers nomaintainer 8 11 description GNU Troff (Groff) … … 19 22 --mandir=${prefix}/share/man \ 20 23 --without-x 21 24 25 # README file lists the following as dependencies: 26 depends_lib-append port:ghostscript port:psutils port:netpbm port:texinfo port:bison 27 22 28 post-destroot { 23 29 delete ${destroot}${prefix}/lib/charset.alias 24 30 } 31 32 if {[variant_isset universal]} { 33 # PDF file generated for different architectures differ only in ID and timestamp. 34 # Copy file from last architecture to the rest, so the merge will be successful. 35 # See #29050 36 pre-destroot { 37 set arch1 [lindex ${universal_archs_to_use} end] 38 foreach arch [lrange ${universal_archs_to_use} 0 end-1] { 39 system "/bin/cp -pf ${worksrcpath}-${arch1}/contrib/pdfmark/pdfmark.pdf ${worksrcpath}-${arch}/contrib/pdfmark/pdfmark.pdf" 40 } 41 } 42 }