Revision: 74186 http://trac.macports.org/changeset/74186 Author: michaelld@macports.org Date: 2010-12-06 12:37:26 -0800 (Mon, 06 Dec 2010) Log Message: ----------- libgpod changes: * Always include LIBUSB support for iPod access. * Remove unnecessary universal variant "yes" statement. * Fix comments on Python variant. * Rev bump for changes to take effect. Modified Paths: -------------- trunk/dports/multimedia/libgpod/Portfile Modified: trunk/dports/multimedia/libgpod/Portfile =================================================================== --- trunk/dports/multimedia/libgpod/Portfile 2010-12-06 20:28:38 UTC (rev 74185) +++ trunk/dports/multimedia/libgpod/Portfile 2010-12-06 20:37:26 UTC (rev 74186) @@ -5,7 +5,7 @@ name libgpod version 0.8.0 -revision 2 +revision 3 categories multimedia platforms darwin maintainers rmstonecipher openmaintainer @@ -25,10 +25,9 @@ depends_lib port:p5-xml-parser \ port:libplist \ port:gdk-pixbuf2 \ - port:taglib + port:taglib \ + port:libusb -universal_variant yes - # make sure to not use already-installed files, # to the best of our ability configure.ldflags-delete "-L${prefix}/lib" @@ -45,6 +44,8 @@ default_variants +python26 } +# allow for -python26 to disable all Python support + set python.branch "" if {[variant_isset python25]} { set python.branch 2.5 @@ -65,19 +66,8 @@ configure.args-append --disable-silent-rules -variant libusb description {Include enhanced USB support} { - depends_lib-append port:libusb -} - -post-patch { - if {![variant_isset libusb]} { - reinplace "/have_libusb/s@=yes@=no@g" \ - ${worksrcpath}/configure - } -} - post-destroot { - # fix instal location of Python stuff, if installed + # fix install location of Python stuff, if variant is selected if {${python.branch} != ""} { set dr_python_dir ${destroot}${python.prefix}/lib xinstall -m 755 -d ${dr_python_dir}
participants (1)
-
michaelld@macports.org