Ticket #17605: Portfile.diff
File Portfile.diff, 2.8 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago) |
---|
-
Portfile
16 16 17 17 homepage http://www.gnu.org/software/pspp/ 18 18 platforms darwin 19 master_sites http://ftpmirror.gnu.org/pspp19 master_sites gnu 20 20 21 21 checksums md5 b871739200938820d8db898cd200ed06 \ 22 22 sha1 22f335053a3e1d3861bfc2d87536b9a6fc5a1ae7 \ … … 24 24 25 25 use_parallel_build yes 26 26 27 depends_build path:bin/perl:perl5 28 configure.perl ${prefix}/bin/perl 29 27 30 depends_lib port:gsl \ 28 path:bin/perl:perl5 \29 31 port:libiconv \ 30 port: plotutils\32 port:zlib \ 31 33 port:pkgconfig \ 32 port:gtk2 \33 port:libglade2 \34 port:libpqxx \35 port:zlib \36 34 port:libxml2 \ 37 port:ncursesw \ 38 port:readline \ 39 port:texinfo 35 port:readline 40 36 41 configure.perl ${prefix}/bin/perl 37 configure.args --disable-rpath \ 38 --without-gui \ 39 --without-libplot \ 40 --without-libpq \ 41 --enable-debug \ 42 --without-libncurses 42 43 43 44 patchfiles patch-config.h.in 44 45 46 variant ncurses description {Enable terminal resizing} { 47 depends_lib-append port:ncursesw 48 configure.args-delete --without-libncurses 49 } 50 51 variant doc description {Build documentation} { 52 depends_lib-append port:texinfo 53 build.target-append pdf html 54 post-destroot { 55 xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name} 56 foreach fl [glob -nocomplain -directory ${worksrcpath}/doc *.pdf *.html] { 57 copy ${fl} ${destroot}${prefix}/share/doc/${name} 58 } 59 } 60 } 61 62 variant postgres description {Enables reading of postgresql databases} { 63 depends_lib-append port:postgresql83 64 configure.args-delete --without-libpq 65 configure.ldflags-append -L${prefix}/lib/postgresql83 66 } 67 68 variant graph description {Enable graphing features (default)} { 69 depends_lib-append port:plotutils 70 configure.args-delete --without-libplot 71 } 72 73 variant gui description {Enable PSPPIRE, the graphical interface (default)} { 74 depends_lib-append port:pkgconfig \ 75 port:gtk2 \ 76 port:libglade2 77 configure.args-delete --without-gui 78 } 79 80 default_variants +graph +gui 81 45 82 post-destroot { 46 83 delete ${destroot}${prefix}/lib/charset.alias 47 84 }