[130087] trunk/dports/security/cfv/Portfile
larryv at macports.org
larryv at macports.org
Fri Dec 26 17:31:59 PST 2014
Revision: 130087
https://trac.macports.org/changeset/130087
Author: larryv at macports.org
Date: 2014-12-26 17:31:59 -0800 (Fri, 26 Dec 2014)
Log Message:
-----------
cfv: Add modeline, rearrange, reformat
Modified Paths:
--------------
trunk/dports/security/cfv/Portfile
Modified: trunk/dports/security/cfv/Portfile
===================================================================
--- trunk/dports/security/cfv/Portfile 2014-12-27 01:31:54 UTC (rev 130086)
+++ trunk/dports/security/cfv/Portfile 2014-12-27 01:31:59 UTC (rev 130087)
@@ -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
@@ -6,28 +7,23 @@
version 1.18.3
revision 2
categories security
-maintainers nomaintainer
platforms darwin
supported_archs noarch
+license GPL-2
+maintainers nomaintainer
description cfv is a utility to both test and create .sfv, .csv, \
.crc, .md5(sfv-like), md5sum, bsd md5, sha1sum, and \
.torrent files.
-long_description ${description} These files are commonly used to ensure \
- the correct retrieval or storage of data.
-license GPL-2
+long_description ${description} These files are commonly used to \
+ ensure the correct retrieval or storage of data.
homepage http://cfv.sourceforge.net/
-livecheck.regex {cfv-(.+)\.tar\.gz}
-livecheck.type regex
-livecheck.url ${homepage}
-
master_sites sourceforge
-
checksums rmd160 d239e5fe212b2458f5a3612b55591c7625a2318d
-patchfiles patch-Makefile.diff patch-cfv.diff
-
+patchfiles patch-Makefile.diff \
+ patch-cfv.diff
post-patch {
reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
}
@@ -44,7 +40,8 @@
depends_lib port:python27
post-patch {
- reinplace "s|@PYTHON@|${prefix}/bin/python2.7|" ${worksrcpath}/Makefile ${worksrcpath}/cfv
+ reinplace "s|@PYTHON@|${prefix}/bin/python2.7|" \
+ ${worksrcpath}/Makefile ${worksrcpath}/cfv
}
}
@@ -52,6 +49,11 @@
depends_lib port:python32
post-patch {
- reinplace "s|@PYTHON@|${prefix}/bin/python3.2|" ${worksrcpath}/Makefile ${worksrcpath}/cfv
+ reinplace "s|@PYTHON@|${prefix}/bin/python3.2|" \
+ ${worksrcpath}/Makefile ${worksrcpath}/cfv
}
}
+
+livecheck.type regex
+livecheck.url ${homepage}
+livecheck.regex {cfv-(.+)\.tar\.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141226/e362b2d1/attachment.html>
More information about the macports-changes
mailing list