Ticket #14884: Portfile-pike.diff
File Portfile-pike.diff, 3.9 KB (added by exodusd@…, 17 years ago) |
---|
-
Portfile
old new 6 6 name pike 7 7 version 7.6.112 8 8 categories lang 9 maintainers gmx.de:exodusd 9 maintainers gmx.de:exodusd openmaintainer 10 10 description dynamic programming language 11 11 long_description \ 12 12 Pike is a dynamic programming language with a syntax \ … … 26 26 patchfiles patch-Request.pike 27 27 28 28 depends_lib port:zlib port:gmp port:nettle 29 default_variants +image +pcre 29 depends_build port:zlib port:gmp port:nettle 30 31 32 variant bzip2 description {Bzip2 support for Pike} { 33 depends_lib-append port:bzip2 34 depends_build-append port:bzip2 35 } 30 36 31 37 variant image description {Images (JPEG, PNG, GIF, TIFF) support for Pike} { 32 38 configure.args-append --with-jpeglib --with-gif --with-tifflib … … 46 52 depends_build-append port:pcre 47 53 } 48 54 55 variant gdbm description {GDBM database support for Pike} { 56 configure.args-append --with-gdbm 57 depends_lib-append port:gdbm 58 depends_build-append port:gdbm 59 } 60 49 61 variant mysql description {MySQL database support for Pike} { 50 62 configure.args-append --with-mysql 51 63 depends_lib-append lib:libmysqlclient:mysql5 52 64 depends_build-append lib:libmysqlclient:mysql5 53 65 } 54 66 67 variant odbc description {ODBC database support for Pike} { 68 configure.args-append --with-odbc 69 depends_lib-append port:unixODBC 70 depends_build-append port:unixODBC 71 } 72 73 variant postgresql description {Postgres database support for Pike} { 74 configure.args-append --with-postgres 75 depends_lib-append port:postgresql83 76 depends_build-append port:postgresql83 77 } 78 79 variant gtk description {GTK support for Pike} { 80 configure.args-append --with-gtk 81 depends_lib-append port:gtk 82 depends_build-append port:gtk 83 } 84 85 variant opengl description {OpenGL support for Pike} { 86 configure.args-append --with-GL --with-GLUT 87 depends_lib-append port:glut 88 depends_build-append port:glut 89 } 90 91 #variant perl description {Perl support for Pike} { 92 # configure.args-append --with-perl 93 # depends_lib-append port:perl5.10 94 # depends_build-append port:perl5.10 95 #} 96 97 variant sane description {SANE scanner support for Pike} { 98 configure.args-append --with-sane 99 depends_lib-append port:sane-backends 100 depends_build-append port:sane-backends 101 } 102 103 variant sdl description {SDL support for Pike} { 104 configure.args-append --with-SDL 105 depends_lib-append port:libsdl port:libsdl_mixer 106 depends_build-append port:libsdl port:libsdl_mixer 107 } 108 109 variant svg description {SVG vector graphics support for Pike} { 110 configure.args-append --with-svg 111 depends_lib-append port:librsvg 112 depends_build-append port:librsvg 113 } 114 55 115 variant doc description {Pike documentation} { 56 116 build.target-append doc 57 117 } … … 64 124 configure { 65 125 # setup the build.args here, because then the configure.args from the 66 126 # variants will have been assembled: 67 build.args CONFIGUREARGS="--prefix=${prefix} ${configure.args}" \127 build.args CONFIGUREARGS="--prefix=${prefix} --without-bundles ${configure.args}" \ 68 128 INSTALLARGS="--traditional" 69 129 destroot.destdir buildroot=${destroot} INSTALLARGS="--traditional" 70 130 } … … 75 135 destroot.target install_nodoc 76 136 77 137 post-destroot { 78 # traditional, MacPorts tree compliant directory layout 79 delete file ${destroot}${prefix}/bin/pike.syms 138 file delete -force ${destroot}${prefix}/bin/pike.syms 139 file delete -force ${destroot}${prefix}/doc/pike 140 # move manpage to correct location: 80 141 move ${destroot}${prefix}/man/man1/pike.1 \ 81 142 ${destroot}${prefix}/share/man/man1/ 143 # move documentation to correct location: 82 144 xinstall -d ${destroot}${prefix}/share/doc/pike-${version} 83 145 xinstall -W ${worksrcpath} README COPYING COPYRIGHT ANNOUNCE \ 84 146 COMMITTERS ${destroot}${prefix}/share/doc/pike-${version}