source: trunk/dports/security/cfv/Portfile @ 130088

Last change on this file since 130088 was 130088, checked in by larryv@…, 5 years ago

cfv: Use default SourceForge livecheck

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- 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
2# $Id: Portfile 130088 2014-12-27 01:32:00Z larryv@macports.org $
3
4PortSystem          1.0
5
6name                cfv
7version             1.18.3
8revision            2
9categories          security
10platforms           darwin
11supported_archs     noarch
12license             GPL-2
13maintainers         nomaintainer
14
15description         cfv is a utility to both test and create .sfv, .csv, \
16                    .crc, .md5(sfv-like), md5sum, bsd md5, sha1sum, and \
17                    .torrent files.
18long_description    ${description} These files are commonly used to \
19                    ensure the correct retrieval or storage of data.
20homepage            http://cfv.sourceforge.net/
21
22master_sites        sourceforge
23checksums           rmd160 d239e5fe212b2458f5a3612b55591c7625a2318d
24
25patchfiles          patch-Makefile.diff \
26                    patch-cfv.diff
27post-patch {
28    reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
29}
30
31use_configure       no
32
33build               {}
34
35if {![variant_isset python27] && ![variant_isset python32]} {
36    default_variants    +python27
37}
38
39variant python27 conflicts python32 description {Use Python 2.7} {
40    depends_lib port:python27
41
42    post-patch {
43        reinplace "s|@PYTHON@|${prefix}/bin/python2.7|" \
44                ${worksrcpath}/Makefile ${worksrcpath}/cfv
45    }
46}
47
48variant python32 conflicts python27 description {Use Python 3.2} {
49    depends_lib port:python32
50
51    post-patch {
52        reinplace "s|@PYTHON@|${prefix}/bin/python3.2|" \
53                ${worksrcpath}/Makefile ${worksrcpath}/cfv
54    }
55}
Note: See TracBrowser for help on using the repository browser.