Ticket #31384: pike_Portfile.diff
File pike_Portfile.diff, 2.5 KB (added by michaelld (Michael Dickens), 10 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name pike 7 version 7.6.112 8 revision 6 7 version 7.8.700 9 8 categories lang 10 license GPL-29 license {GPL-2 LGPL-2 MPL} 11 10 platforms darwin 12 11 maintainers gmx.de:exodusd openmaintainer 13 12 … … 19 18 built-in data types allowing simple and really fast \ 20 19 data manipulation. 21 20 22 homepage http://pike. ida.liu.se/21 homepage http://pike.lysator.liu.se/ 23 22 master_sites ${homepage}pub/pike/all/${version}/ 24 23 distname Pike-v${version} 25 24 26 checksums md5 3ba03096741d6df839d32a940f4a865c \ 27 sha1 211050346d8efc01068e8ea7443f4743116a51be \ 28 rmd160 8983d5bc150beabd1796ff8f05df43e5cf36f467 25 checksums rmd160 241c6d531ac74a64322ef57bdd7dee306be1e8c3 \ 26 sha256 b29b294b766bda805fc539e2cb9661bc86c54e3f735271ff760bbe20bff1de19 29 27 30 28 patchfiles patch-Request.pike 31 29 30 use_parallel_build no 31 32 32 depends_lib port:bzip2 \ 33 33 port:zlib \ 34 34 port:gmp \ … … 116 116 # variants will have been assembled: 117 117 build.args CONFIGUREARGS="${configure.pre_args} ${configure.args}" \ 118 118 INSTALLARGS="--traditional" 119 120 platform darwin { 121 if {${os.major} >= 12} { 122 123 # In 10.8+, the LANG environment variable needs to be set to 124 # "C" otherwise /usr/bin/sed fails with an error. Ideally, 125 # this port's build system would honor the environment variable 126 # ${SED} throughout; reality is that it does not, so this 127 # addition is required because /usr/bin/sed will be used. 128 129 build.args-append LANG="C" 130 } 131 } 119 132 } 120 133 121 134 test.run yes … … 127 140 post-destroot { 128 141 file delete -force ${destroot}${prefix}/bin/pike.syms 129 142 file delete -force ${destroot}${prefix}/doc/pike 130 # move manpage to correct location:131 move ${destroot}${prefix}/man/man1/pike.1 \132 ${destroot}${prefix}/share/man/man1/133 143 # move documentation to correct location: 134 144 xinstall -d ${destroot}${prefix}/share/doc/pike-${version} 135 145 xinstall -W ${worksrcpath} README COPYING COPYRIGHT ANNOUNCE \