On Jun 20, 2009, at 12:31, [email protected] wrote:
Revision: 52650
http://trac.macports.org/changeset/52650
Author: [email protected]
Date: 2009-06-20 10:31:24 -0700 (Sat, 20 Jun 2009)
Log Message:
-----------
Corrected maintainer
Added livecheck
Modified Paths:
--------------
trunk/dports/graphics/nifticlib/Portfile
trunk/dports/math/newmat/Portfile
trunk/dports/math/newran/Portfile
Modified: trunk/dports/graphics/nifticlib/Portfile
===================================================================
--- trunk/dports/graphics/nifticlib/Portfile 2009-06-20 13:53:27
UTC (rev 52649)
+++ trunk/dports/graphics/nifticlib/Portfile 2009-06-20 17:31:24
UTC (rev 52650)
@@ -1,19 +1,19 @@
-# vim: set syn=tcl:
+# vim: set syn=tcl:
PortSystem 1.0
name nifticlib
version 1.1.0
categories graphics science
-maintainers [email protected]
+maintainers jameskyle
description niftilib is a collection of i/o routines for
the nifti1 neuroimage data format.
long_description niftilib is a collection of i/o routines for
the nifti1 neuroimage data format. C (nifticlib), Java (niftijlib),
Matlab (niftimatlib), and Python (pynifti) code is available.
Information about the nifti format is available at http://
nifti.nimh.nih.gov/df
homepage http://sourceforge.net/projects/niftilib
-platforms darwin
-master_sites http://dl.sourceforge.net/sourceforge/niftilib/
-checksums md5 671c020b3ad54ecdae595983a7d73f79 \
- sha1 f1837fa6b99e32f9f80a73ebda56ff5e1e9d6efd \
- rmd160 3d70405085b3c432638baa48c71669b1235d385e
+platforms darwin
+master_sites sourceforge:niftilib
+checksums md5 671c020b3ad54ecdae595983a7d73f79 \
+ sha1
f1837fa6b99e32f9f80a73ebda56ff5e1e9d6efd \
+ rmd160 3d70405085b3c432638baa48c71669b1235d385e
And you re-simplified the master_sites and made some whitespace
changes. Don't forget to completely describe your commit, and also
please make whitespace changes in a separate commit from other changes.
depends_build port:cmake
configure.cmd cmake
@@ -24,3 +24,6 @@
variant universal description {Build for multiple architectures} {
configure.args-append -DCMAKE_OSX_ARCHITECTURES='ppc\;i386'
}
+
+livecheck.url http://sourceforge.net/export/rss2_projfiles.php?
project=niftilib
+livecheck.regex {nifticlib-([0-9.]+).tar.gz}
The dot means "any character" in regex syntax. If you want a literal
dot, escape it with a backslash (unless it's in a character class).
livecheck.regex {nifticlib-([0-9.]+)\.tar\.gz}
Note that instead of setting livecheck.url directly you may want to use
livecheck.check sourceforge
livecheck.name niftilib
(I think that's right.)
Modified: trunk/dports/math/newmat/Portfile
===================================================================
--- trunk/dports/math/newmat/Portfile 2009-06-20 13:53:27 UTC (rev
52649)
+++ trunk/dports/math/newmat/Portfile 2009-06-20 17:31:24 UTC (rev
52650)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode:
nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -5,13 +6,13 @@
name newmat
version 10
categories math
-maintainers ucla.edu:jameskyle
+maintainers jameskyle
description This C++ library is intended for scientists and
engineers who need to manipulate a variety of types of matrices
using standard matrix operations.
long_description This C++ library is intended for scientists and
engineers who need to manipulate a variety of types of matrices
using standard matrix operations. Emphasis is on the kind of
operations needed in statistical calculations such as least
squares, linear equation solve and eigenvalues. It supports matrix
types,e.g., Matrix (rectangular matrix), UpperTriangularMatrix,
LowerTriangularMatrix, DiagonalMatrix, SymmetricMatrix, BandMatrix,
UpperBandMatrix, LowerBandMatrix, SymmetricBandMatrix,
IdentityMatrix, RowVector, ColumnVector.
-homepage http://www.robertnz.net/index.html
+homepage http://www.robertnz.net
platforms darwin
master_sites http://www.robertnz.net/ftp/
distname ${name}${version}
And you changed the homepage URL.
@@ -30,3 +31,8 @@
pre-configure {
file copy ${filespath}/CMakeLists.txt ${worksrcpath}
}
+
+livecheck.check regex
+livecheck.url ${homepage}/download.html
+livecheck.regex {newmat([0-9.]+).tar.gz.*}
Escape the dots not in a character class, and remove ".*" at the end,
which means "any number of any character" and is unnecessary since
livecheck regexes are not anchored to the beginning or end of the
string anyway.
+livecheck.md5 cc7408a10ee3d4775fc5f86e523bf56a
The value of livecheck.md5 is not used at all unless livecheck.check
== md5 so you can remove this line.
Modified: trunk/dports/math/newran/Portfile
===================================================================
--- trunk/dports/math/newran/Portfile 2009-06-20 13:53:27 UTC (rev
52649)
+++ trunk/dports/math/newran/Portfile 2009-06-20 17:31:24 UTC (rev
52650)
@@ -5,13 +5,13 @@
name newran
version 02
categories math
-maintainers ucla.edu:jameskyle
+maintainers jameskyle
description This is a C++ library for generating sequences
of random numbers from a wide variety of distributions.
long_description This is a C++ library for generating sequences of
random numbers from a wide variety of distributions. It is
particularly appropriate for the situation where one requires
sequences of identically distributed random numbers since the set
up time for each type of distribution is relatively long but it is
efficient when generating each new random number. The library
includes classes for generating random numbers from a number of
distributions and is easily extended to be able to generate random
numbers from almost any of the standard distributions.
-homepage http://www.robertnz.net/index.html
+homepage http://www.robertnz.net/
platforms darwin
master_sites http://www.robertnz.net/ftp/
distname ${name}${version}
@@ -30,3 +30,8 @@
pre-configure {
file copy ${filespath}/CMakeLists.txt ${worksrcpath}
}
+
+livecheck.check regex
+livecheck.url ${homepage}/download.html
+livecheck.regex {newran([0-9.]+).tar.gz.*}
+livecheck.md5 db2bb22b6d96f1c04ce25f91ec7aeece
Same here.
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev