[99390] trunk/dports/audio/shell-fm/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Nov 4 04:06:18 PST 2012


Revision: 99390
          http://trac.macports.org//changeset/99390
Author:   ryandesign at macports.org
Date:     2012-11-04 04:06:18 -0800 (Sun, 04 Nov 2012)
Log Message:
-----------
shell-fm: use github portgroup, simplifying port and fixing livecheck

Modified Paths:
--------------
    trunk/dports/audio/shell-fm/Portfile

Modified: trunk/dports/audio/shell-fm/Portfile
===================================================================
--- trunk/dports/audio/shell-fm/Portfile	2012-11-04 12:04:53 UTC (rev 99389)
+++ trunk/dports/audio/shell-fm/Portfile	2012-11-04 12:06:18 UTC (rev 99390)
@@ -2,18 +2,15 @@
 # $Id$
 
 PortSystem              1.0
+PortGroup               github 1.0
 
-name                    shell-fm
-version                 0.8
+github.setup            jkramer shell-fm 0.8 v
 revision                2
 categories              audio
 platforms               darwin
 maintainers             fawong.com:waf
 license                 GPL-2
 
-homepage                https://github.com/jkramer/shell-fm
-master_sites            ${homepage}/tarball/v${version}
-
 description             Console-based last.fm player
 
 long_description        shell-fm is a lightweight, console-based player for Last.FM radio streams. \
@@ -35,10 +32,6 @@
 checksums               sha1    ad35391489a4c5b216740a543f6cb46285f556c7 \
                         rmd160  1d9b53c03156b44717365c43dd6d95cea7145ca0
 
-post-extract {
-    move [glob ${workpath}/*] ${worksrcpath}
-}
-
 patchfiles              patch-Makefile.diff \
                         patch-source-sckif.c.diff
 
@@ -46,7 +39,3 @@
 
 build.args              PREFIX=${prefix} CC="${configure.cc} ${configure.cc_archflags}"
 destroot.args           PREFIX=${prefix}
-
-livecheck.type          regex
-livecheck.url           ${homepage}/downloads
-livecheck.regex         {tarball/v([0-9.]+)"}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121104/c4d4d761/attachment.html>


More information about the macports-changes mailing list