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

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

cfv: Revise descriptions

  • 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 130089 2014-12-27 01:32:02Z 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         Command-line File Verify
16long_description    cfv is a utility to both test and create .sfv, \
17                    .csv, .crc, .md5(sfv-like), md5sum, bsd md5, \
18                    sha1sum, and .torrent files. These files are \
19                    commonly used to ensure the correct retrieval or \
20                    storage of data.
21homepage            http://cfv.sourceforge.net/
22
23master_sites        sourceforge
24checksums           rmd160 d239e5fe212b2458f5a3612b55591c7625a2318d
25
26patchfiles          patch-Makefile.diff \
27                    patch-cfv.diff
28post-patch {
29    reinplace "s|@PREFIX@|${prefix}|" ${worksrcpath}/Makefile
30}
31
32use_configure       no
33
34build               {}
35
36if {![variant_isset python27] && ![variant_isset python32]} {
37    default_variants    +python27
38}
39
40variant python27 conflicts python32 description {Use Python 2.7} {
41    depends_lib port:python27
42
43    post-patch {
44        reinplace "s|@PYTHON@|${prefix}/bin/python2.7|" \
45                ${worksrcpath}/Makefile ${worksrcpath}/cfv
46    }
47}
48
49variant python32 conflicts python27 description {Use Python 3.2} {
50    depends_lib port:python32
51
52    post-patch {
53        reinplace "s|@PYTHON@|${prefix}/bin/python3.2|" \
54                ${worksrcpath}/Makefile ${worksrcpath}/cfv
55    }
56}
Note: See TracBrowser for help on using the repository browser.