[67572] trunk/dports/security
perry at macports.org
perry at macports.org
Wed May 12 22:19:08 PDT 2010
Revision: 67572
http://trac.macports.org/changeset/67572
Author: perry at macports.org
Date: 2010-05-12 22:19:06 -0700 (Wed, 12 May 2010)
Log Message:
-----------
Added new port security/cfv.
Added Paths:
-----------
trunk/dports/security/cfv/
trunk/dports/security/cfv/Portfile
trunk/dports/security/cfv/files/
trunk/dports/security/cfv/files/patch-Makefile.diff
trunk/dports/security/cfv/files/patch-cfv.diff
Added: trunk/dports/security/cfv/Portfile
===================================================================
--- trunk/dports/security/cfv/Portfile (rev 0)
+++ trunk/dports/security/cfv/Portfile 2010-05-13 05:19:06 UTC (rev 67572)
@@ -0,0 +1,40 @@
+# $Id$
+
+PortSystem 1.0
+
+name cfv
+version 1.18.3
+categories security
+maintainers perry openmaintainer
+platforms darwin
+
+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 GPLv2
+homepage http://cfv.sourceforge.net/
+
+livecheck.regex {cfv-(.+)\.tar\.gz}
+livecheck.type regex
+livecheck.url ${homepage}
+
+depends_lib port:python26
+
+master_sites sourceforge
+
+checksums rmd160 d239e5fe212b2458f5a3612b55591c7625a2318d
+
+patchfiles patch-Makefile.diff patch-cfv.diff
+
+set python.bin ${prefix}/bin/python2.6
+
+post-patch {
+ reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
+ reinplace "s|@PYTHON@|${python.bin}|" ${worksrcpath}/Makefile ${worksrcpath}/cfv
+}
+
+use_configure no
+
+build {}
Property changes on: trunk/dports/security/cfv/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/security/cfv/files/patch-Makefile.diff
===================================================================
--- trunk/dports/security/cfv/files/patch-Makefile.diff (rev 0)
+++ trunk/dports/security/cfv/files/patch-Makefile.diff 2010-05-13 05:19:06 UTC (rev 67572)
@@ -0,0 +1,19 @@
+--- Makefile.orig 2010-05-12 22:05:06.000000000 -0700
++++ Makefile 2010-05-12 22:05:41.000000000 -0700
+@@ -1,5 +1,5 @@
+-PYTHON=python
+-prefix=/usr/local
++PYTHON=@PYTHON@
++prefix=@PREFIX@
+ exec_prefix=${prefix}
+
+ #finds the site-packages dir that matches the selected prefix, or if none do, falls back to wherever it can find one..
+@@ -7,7 +7,7 @@
+ #nice little expression, huh? ;)
+
+ bindir=${exec_prefix}/bin
+-mandir=${prefix}/man
++mandir=${prefix}/share/man
+ install=/usr/bin/install -c
+ install_dir=${install} -d
+ install_data=${install} -m 0644
Added: trunk/dports/security/cfv/files/patch-cfv.diff
===================================================================
--- trunk/dports/security/cfv/files/patch-cfv.diff (rev 0)
+++ trunk/dports/security/cfv/files/patch-cfv.diff 2010-05-13 05:19:06 UTC (rev 67572)
@@ -0,0 +1,8 @@
+--- cfv.orig 2010-05-12 21:50:42.000000000 -0700
++++ cfv 2010-05-12 21:51:19.000000000 -0700
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#!@PYTHON@
+
+ # cfv - Command-line File Verify
+ # Copyright (C) 2000-2009 Matthew Mueller <donut AT dakotacom DOT net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100512/8fb7b2ee/attachment.html>
More information about the macports-changes
mailing list