Ticket #52677: Portfile

File Portfile, 1.4 KB (added by ocroquette (Olivier Croquette), 7 years ago)
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$
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        AltraMayor f3 6.0 v
8
9categories          sysutils
10license             GPL
11maintainers         nomaintainer
12description         Verifies the reliability of local storage, e.g. flash
13long_description    F3 stands for Fight Flash Fraud, or Fight Fake Flash, and will \
14                    tell if a flash drive reports more capacity than it actually \
15                    has. It writes known data on any local storage until \
16                    it is full, and in a second phase, it reads all the data back and \
17                    verifies it. If the storage is reliable, no discrepancies will \
18                    be found.
19platforms           darwin
20homepage            http://oss.digirati.com.br/f3/
21
22depends_lib-append  port:argp-standalone
23
24use_configure       no
25
26checksums           rmd160  d91b9213bb7aa804f4429bede5837373cbf66aba \
27                    sha256  b24e609ff580fb20b2058d6da4e12743050be5655d769a31dcea6e9e50f6e623
28
29destroot {
30    # The Makefile doesn't have an "install" target, so copy the files manually
31    file copy \
32            ${worksrcpath}/f3read \
33            ${worksrcpath}/f3write \
34            ${worksrcpath}/f3write.h2w \
35            ${worksrcpath}/log-f3wr \
36        ${destroot}${prefix}/bin
37}