Changeset 82480
- Timestamp:
- 08/14/11 06:31:07 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/math/pspp-devel/Portfile (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/math/pspp-devel/Portfile
r82195 r82480 5 5 6 6 name pspp-devel 7 set buildstamp 2011081 00305018 set buildhash g 9ec9907 set buildstamp 20110814030502 8 set buildhash ge30f5e 9 9 version 0.7.8 10 revision 510 revision 6 11 11 # depends_test port:p5-text-diff 12 # 2011-08-14: no_* variants obsoleted 12 13 categories math 13 14 license GPL-3+ … … 38 39 port:libtool 39 40 40 checksums rmd160 878e4bd94e551be5e4c6d78257cacd5e8c8fdb87\41 sha256 f 71398b96d4c4d4862e945e8c78a077fac48a36ba10757cddd2355b7c0bc9c5b41 checksums rmd160 1dd8f31bd491c83f858b60781cf7b2a23f52b74c \ 42 sha256 f9532a35554a1dcd8a0612f3fb8d24d0c0c2c9b3017db958da4774a0d5d118c8 42 43 43 44 #configure.optflags -O0 … … 57 58 test.target check 58 59 59 variant help conflicts no_gui description {Provide in-application help via yelp} { 60 if {[variant_isset no_gui]} { 61 if {[variant_isset no_graph]} { 62 default_variants -gui -graph 63 } else { 64 default_variants -gui +graph 65 } 66 } else { 67 if {[variant_isset no_graph]} { 68 default_variants +gui -graph 69 } else { 70 default_variants +gui +graph 71 } 72 } 73 74 variant help requires gui conflicts no_gui description {Provide in-application help via yelp} { 60 75 depends_run-append port:yelp 61 76 } … … 78 93 79 94 variant postgres description {Enables reading of postgresql databases} { 80 depends_lib-append port:postgresql 8395 depends_lib-append port:postgresql90 81 96 configure.args-delete --without-libpq 82 configure.ldflags-append -L${prefix}/lib/postgresql 8397 configure.ldflags-append -L${prefix}/lib/postgresql90 83 98 } 84 99 85 variant no_graph description {Disable graphing features} { 86 depends_lib-delete port:plotutils 87 configure.args-append --without-libplot 100 variant no_graph conflicts graph description {Obsolete} { } 101 102 variant graph conflicts no_graph description {Enable graphing features} { 103 depends_lib-append port:plotutils 104 configure.args-delete --without-libplot 88 105 } 89 106 90 variant no_gui conflicts help description {Disable PSPPIRE, the graphical interface} { 91 depends_lib-delete port:pkgconfig \ 107 variant no_gui conflicts gui description {Obsolete} { } 108 109 variant gui conflicts no_gui description {Build PSPPIRE, the graphical interface} { 110 depends_lib-append port:pkgconfig \ 92 111 port:gtk2 \ 93 112 port:libglade2 94 configure.args- append--without-gui113 configure.args-delete --without-gui 95 114 } 96 115 97 116 post-destroot { 98 if { ![variant_isset no_gui]} {117 if {[variant_isset gui]} { 99 118 xinstall -d ${destroot}${applications_dir}/PSPP.app/Contents/MacOS 100 119 xinstall -m 755 ${filespath}/PSPP.app/Contents/MacOS/psppire \
Note: See TracChangeset
for help on using the changeset viewer.

