[145994] trunk/dports/science/libctl/Portfile
dstrubbe at macports.org
dstrubbe at macports.org
Tue Feb 23 15:37:00 PST 2016
Revision: 145994
https://trac.macports.org/changeset/145994
Author: dstrubbe at macports.org
Date: 2016-02-23 15:37:00 -0800 (Tue, 23 Feb 2016)
Log Message:
-----------
libctl: Use compilers portgroup for Fortran variants. Remove unnecessary use of autoreconf. Add livecheck.
Modified Paths:
--------------
trunk/dports/science/libctl/Portfile
Modified: trunk/dports/science/libctl/Portfile
===================================================================
--- trunk/dports/science/libctl/Portfile 2016-02-23 23:07:39 UTC (rev 145993)
+++ trunk/dports/science/libctl/Portfile 2016-02-23 23:37:00 UTC (rev 145994)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup compilers 1.0
name libctl
version 3.2.2
@@ -27,25 +28,9 @@
depends_lib port:guile
-variant gcc45 conflicts gcc46 gcc47 gcc48 description {Compile with gcc 4.5} {
- configure.compiler macports-gcc-4.5
-}
+compilers.choose f77
+compilers.setup require_fortran
-variant gcc46 conflicts gcc45 gcc47 gcc48 description {Compile with gcc 4.6} {
- configure.compiler macports-gcc-4.6
-}
-
-variant gcc47 conflicts gcc45 gcc46 gcc48 description {Compile with gcc 4.7} {
- configure.compiler macports-gcc-4.7
-}
-
-variant gcc48 conflicts gcc45 gcc46 gcc47 description {Compile with gcc 4.8} {
- configure.compiler macports-gcc-4.8
-}
-
-if {![variant_isset gcc45] && ![variant_isset gcc46] && ![variant_isset gcc47]} {
- default_variants +gcc48
-}
-
-use_autoreconf yes
-autoreconf.args -fvi
+livecheck.type regex
+livecheck.url ${homepage}
+livecheck.regex <b>${name} (\[0-9.\]+)</b> is the current version
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160223/42af8ded/attachment-0001.html>
More information about the macports-changes
mailing list