[151880] trunk/dports/multimedia/mythtv.28/Portfile

ctreleaven at macports.org ctreleaven at macports.org
Tue Aug 23 06:57:22 PDT 2016


Revision: 151880
          https://trac.macports.org/changeset/151880
Author:   ctreleaven at macports.org
Date:     2016-08-23 06:57:22 -0700 (Tue, 23 Aug 2016)
Log Message:
-----------
mythtv-core.28, mythtv-plugins.28:  detab

Modified Paths:
--------------
    trunk/dports/multimedia/mythtv.28/Portfile

Modified: trunk/dports/multimedia/mythtv.28/Portfile
===================================================================
--- trunk/dports/multimedia/mythtv.28/Portfile	2016-08-23 13:52:37 UTC (rev 151879)
+++ trunk/dports/multimedia/mythtv.28/Portfile	2016-08-23 13:57:22 UTC (rev 151880)
@@ -337,9 +337,9 @@
             ${destroot}${mythtvlogdir}/old \
             ${destroot}${mythtvrundir}
     
-	# move mythwikiscripts to a more useful spot
-	move ${destroot}${frameworks_dir}/Python.framework/Versions/${pythonbranch}/bin/mythwikiscripts \
-		${destroot}${prefix}/bin/
+    # move mythwikiscripts to a more useful spot
+    move ${destroot}${frameworks_dir}/Python.framework/Versions/${pythonbranch}/bin/mythwikiscripts \
+        ${destroot}${prefix}/bin/
 
     # install logrotate.mythtv
         xinstall -m 400 ${worksrcpath}/macports/logrotate.mythtv ${destroot}${prefix}/etc/logrotate.d
@@ -501,108 +501,108 @@
 }
 
 if {$subport eq "mythtv-plugins${majorversion}"} {
-	name                mythtv-plugins${majorversion}
-	version             0${majorversion}${minorversion}-Fixes-${lastcommit}
+    name                mythtv-plugins${majorversion}
+    version             0${majorversion}${minorversion}-Fixes-${lastcommit}
     revision            1
-	description         MythTV plugins for slideshows, music and weather
-	long_description    ${description}  \
-						Each plugin is a variant.  The non-default plugins currently do not \
-						work on OS X, such as MythNews, MythBrowser and MythNetVision.
-	dist_subdir			mythtv-core${majorversion}
+    description         MythTV plugins for slideshows, music and weather
+    long_description    ${description}  \
+                        Each plugin is a variant.  The non-default plugins currently do not \
+                        work on OS X, such as MythNews, MythBrowser and MythNetVision.
+    dist_subdir         mythtv-core${majorversion}
 
-	post-patch {
-		set sedPath ${worksrcpath}/mythplugins/
-		reinplace -locale C "s|check_cmd perl -e|check_cmd ${perlbin} -e|" \
-			${sedPath}configure
-		reinplace -locale C "s|python=\"python\"|python=\"${pythonbin}\"|" \
-			${sedPath}configure
-		# do fixups regardless of whether variant is selected or not
-		foreach fixfile [exec find ${sedPath}/mythweather/mythweather/scripts -name "*.p?"] {
-			reinplace "s;/usr/bin/perl;${perlbin};g" ${fixfile}
-			reinplace "s;/usr/share/mythtv;${perlbin};g" ${fixfile}
-		}
-	}
+    post-patch {
+        set sedPath ${worksrcpath}/mythplugins/
+        reinplace -locale C "s|check_cmd perl -e|check_cmd ${perlbin} -e|" \
+            ${sedPath}configure
+        reinplace -locale C "s|python=\"python\"|python=\"${pythonbin}\"|" \
+            ${sedPath}configure
+        # do fixups regardless of whether variant is selected or not
+        foreach fixfile [exec find ${sedPath}/mythweather/mythweather/scripts -name "*.p?"] {
+            reinplace "s;/usr/bin/perl;${perlbin};g" ${fixfile}
+            reinplace "s;/usr/share/mythtv;${perlbin};g" ${fixfile}
+        }
+    }
 
-	depends_lib-append  port:mythtv-core${majorversion} \
-	                    path:lib/libssl.dylib:openssl
-	# NB mythplugins/configure reads ${prefix}/include/mythtv/mythconfig.mak
-	# and sets several values from that, including cc and cxx
+    depends_lib-append  port:mythtv-core${majorversion} \
+                        path:lib/libssl.dylib:openssl
+    # NB mythplugins/configure reads ${prefix}/include/mythtv/mythconfig.mak
+    # and sets several values from that, including cc and cxx
 
-	configure.dir       ${worksrcpath}/mythplugins
+    configure.dir       ${worksrcpath}/mythplugins
 
-	# make pkg-config act like on Linux, no '-I/opt/local/include' in cflags
-	configure.env-append    PKG_CONFIG_SYSTEM_INCLUDE_PATH=${prefix}/include
+    # make pkg-config act like on Linux, no '-I/opt/local/include' in cflags
+    configure.env-append    PKG_CONFIG_SYSTEM_INCLUDE_PATH=${prefix}/include
 
-	configure.args      --compile-type=release \
-						--qmake=${qt_qmake_cmd} \
-						--python=${pythonbin} \
-						--disable-mytharchive \
-						--disable-mythgame \
-						--disable-mythzoneminder \
-						--disable-mythbrowser \
-						--disable-mythnetvision \
-						--disable-mythgallery \
-						--disable-mythmusic \
-						--disable-mythnews \
-						--disable-mythweather
+    configure.args      --compile-type=release \
+                        --qmake=${qt_qmake_cmd} \
+                        --python=${pythonbin} \
+                        --disable-mytharchive \
+                        --disable-mythgame \
+                        --disable-mythzoneminder \
+                        --disable-mythbrowser \
+                        --disable-mythnetvision \
+                        --disable-mythgallery \
+                        --disable-mythmusic \
+                        --disable-mythnews \
+                        --disable-mythweather
 
-	build.dir           ${worksrcpath}/mythplugins
-	destroot.destdir    INSTALL_ROOT=${destroot}
+    build.dir           ${worksrcpath}/mythplugins
+    destroot.destdir    INSTALL_ROOT=${destroot}
 
-	if {[variant_isset mythnetvision] || [variant_isset mythweather]} {
-	# for both MythNetvision and MythWeather (Canada)
-		depends_lib-append		port:${perlmodver}-perlmagick
-	}
+    if {[variant_isset mythnetvision] || [variant_isset mythweather]} {
+    # for both MythNetvision and MythWeather (Canada)
+        depends_lib-append      port:${perlmodver}-perlmagick
+    }
 
-	variant mytharchive description {Create DVDs from recorded shows and any video files available on Myth.} {
-		configure.args-delete	--disable-mytharchive
-		configure.args-append	--enable-mytharchive
-	}
+    variant mytharchive description {Create DVDs from recorded shows and any video files available on Myth.} {
+        configure.args-delete   --disable-mytharchive
+        configure.args-append   --enable-mytharchive
+    }
 
-	variant mythbrowser description {WebKit-based browser within Myth.} {
-		configure.args-delete	--disable-mythbrowser
-	#	configure.args-append	--enable-mythbrowser
-	}
+    variant mythbrowser description {WebKit-based browser within Myth.} {
+        configure.args-delete   --disable-mythbrowser
+    #   configure.args-append   --enable-mythbrowser
+    }
 
-	variant mythnetvision description {Find and play internet videos within Myth.} {
-		depends_lib-append		port:${pymodver}-oauth
-		configure.args-delete	--disable-mythnetvision
-	#	configure.args-append	--enable-mythnetvision
-	}
+    variant mythnetvision description {Find and play internet videos within Myth.} {
+        depends_lib-append      port:${pymodver}-oauth
+        configure.args-delete   --disable-mythnetvision
+    #   configure.args-append   --enable-mythnetvision
+    }
 
-	variant mythgallery description {Myth photo browser and slideshow plugin.} {
-		depends_lib-append		port:libexif \
-								port:dcraw
-		configure.args-delete	--disable-mythgallery
-		configure.args-append	--enable-mythgallery --enable-opengl --enable-new-exif
-	}
+    variant mythgallery description {Myth photo browser and slideshow plugin.} {
+        depends_lib-append      port:libexif \
+                                port:dcraw
+        configure.args-delete   --disable-mythgallery
+        configure.args-append   --enable-mythgallery --enable-opengl --enable-new-exif
+    }
 
-	variant mythmusic description {Myth plugin to play and manage music files.} {
-		depends_lib-append		port:libvorbis \
-								port:flac \
-								port:taglib \
-								port:lame
-	#							port:cdio port:fftw-3  -- included in mythtv-core
-		configure.args-delete	--disable-mythmusic
-		configure.args-append	--enable-mythmusic --enable-fftw  --enable-cdio
-	}
+    variant mythmusic description {Myth plugin to play and manage music files.} {
+        depends_lib-append      port:libvorbis \
+                                port:flac \
+                                port:taglib \
+                                port:lame
+    #                           port:cdio port:fftw-3  -- included in mythtv-core
+        configure.args-delete   --disable-mythmusic
+        configure.args-append   --enable-mythmusic --enable-fftw  --enable-cdio
+    }
 
-	variant mythnews description {Check news sources through RSS feeds with this Myth plugin.} {
-		configure.args-delete	--disable-mythnews
-	#	configure.args-append	--enable-mythnews
-	}
+    variant mythnews description {Check news sources through RSS feeds with this Myth plugin.} {
+        configure.args-delete   --disable-mythnews
+    #   configure.args-append   --enable-mythnews
+    }
 
-	variant mythweather description {Weather information for your chosen locations via Myth plugin.} {
-		depends_lib-append		port:${perlmodver}-datemanip\
-								port:${perlmodver}-xml-simple \
-								port:${perlmodver}-xml-xpath \
-								port:${perlmodver}-image-size \
-								port:${perlmodver}-datetime-format-iso8601 \
-								port:${perlmodver}-soap-lite \
-								port:${perlmodver}-json
-		configure.args-delete	--disable-mythweather
-	#	configure.args-append	--enable-mythweather
-	}
+    variant mythweather description {Weather information for your chosen locations via Myth plugin.} {
+        depends_lib-append      port:${perlmodver}-datemanip\
+                                port:${perlmodver}-xml-simple \
+                                port:${perlmodver}-xml-xpath \
+                                port:${perlmodver}-image-size \
+                                port:${perlmodver}-datetime-format-iso8601 \
+                                port:${perlmodver}-soap-lite \
+                                port:${perlmodver}-json
+        configure.args-delete   --disable-mythweather
+    #   configure.args-append   --enable-mythweather
+    }
     default_variants +mythgallery +mythmusic +mythweather
  
 }
@@ -615,7 +615,7 @@
     Installs a complete MythTV system including the frontend, backend, and database \
     server software plus MythWeb
 
-	depends_lib         port:mythtv-plugins${majorversion} \
+    depends_lib         port:mythtv-plugins${majorversion} \
                         port:mythweb${majorversion} \
 
     depends_run         port:mariadb-server
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160823/9aca5ad3/attachment.html>


More information about the macports-changes mailing list