[142094] trunk/dports/net/GTorrentViewer/Portfile

mojca at macports.org mojca at macports.org
Sat Dec 12 04:18:19 PST 2015


Revision: 142094
          https://trac.macports.org/changeset/142094
Author:   mojca at macports.org
Date:     2015-11-03 04:27:53 -0800 (Tue, 03 Nov 2015)
Log Message:
-----------
GTorrentViewer: use perl5.22, fix livecheck (#48365)

Modified Paths:
--------------
    trunk/dports/net/GTorrentViewer/Portfile

Modified: trunk/dports/net/GTorrentViewer/Portfile
===================================================================
--- trunk/dports/net/GTorrentViewer/Portfile	2015-11-03 12:20:58 UTC (rev 142093)
+++ trunk/dports/net/GTorrentViewer/Portfile	2015-11-03 12:27:53 UTC (rev 142094)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                GTorrentViewer
 version             0.2b
-revision            3
+revision            4
 platforms           darwin
 categories          net x11
 license             GPL-2+
@@ -23,12 +24,12 @@
 checksums           rmd160  3a2c08b1c39c14a715fd5bfc0dbf0efb5fb49803 \
                     sha256  6e56351103f5d46a45be160baa1b7b956b4416fcdb4533b3d17a309665690c95
 
-set perl_version    5.16
+perl5.branches      5.22
 
 depends_build       port:pkgconfig
 depends_lib         lib:libgtk.2:gtk2 \
                     port:curl \
-                    port:p${perl_version}-xml-parser
+                    port:p${perl5.major}-xml-parser
 
 patchfiles          src_main.c.patch
 
@@ -38,3 +39,7 @@
 
 build.type          gnu
 build.args          LDFLAGS="-bind_at_load"
+
+livecheck.name      GTorrentViewer
+# MacPorts considers 0.2b < 0.2.0, so we temporarily use a more restricted regex
+set livecheck.regex [list "/[quotemeta ${livecheck.name}]/(\[a-zA-Z0-9\]+\\.\[a-zA-Z0-9\]+)/"]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/e45a950d/attachment.html>


More information about the macports-changes mailing list