Ticket #37344: Portfile.diff
File Portfile.diff, 811 bytes (added by someuser12, 12 years ago) |
---|
-
Portfile
old new 50 50 default_variants +wxwidgets_devel 51 51 } 52 52 53 if {[catch {registry_active wxwidgets30}] == 0} { 54 default_variants +wxwidgets30 55 } 56 53 57 destroot { 54 58 xinstall -m 755 -d ${destroot}${applications_dir} 55 59 file copy ${worksrcpath}/wxMaxima.app ${destroot}${applications_dir} … … 68 72 depends_lib-append port:wxWidgets-devel 69 73 supported_archs i386 x86_64 70 74 } 75 76 variant wxwidgets30 description {Build against wxWidgets30 rather than wxWidgets} { 77 # if the user has installed wxWidgets30, force using that 78 # (from gobject-introspection) 79 depends_lib-delete port:wxWidgets 80 depends_lib-append port:wxWidgets30 81 supported_archs i386 x86_64 82 }