source: trunk/dports/security/fcrackzip/Portfile

Last change on this file was 118420, checked in by jmr@…, 3 years ago

fcrackzip: set license, update homepage

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 118420 2014-04-01 21:37:50Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            fcrackzip
6version         1.0
7categories      security
8license         GPL-2
9platforms       darwin
10maintainers     nomaintainer
11description     Portable, fast and featureful ZIP password cracker
12
13long_description \
14    ${description}
15
16homepage        http://oldhome.schmorp.de/marc/fcrackzip.html
17master_sites    http://oldhome.schmorp.de/marc/data/
18
19checksums       md5     254941f51759f9425965f4b05fe7ac2c \
20                sha1    92e4f8caa880c55b20e13feb7a25c8b8fd3accf8 \
21                rmd160  8c784108816c990fcd09cfafc69a5d4a0ef1d33a
22
23depends_build   path:bin/perl:perl5
24configure.perl  ${prefix}/bin/perl
25
26configure.args  --mandir=${prefix}/share/man
27
28pre-configure {
29        reinplace -E "s/^(#define USE_GCC_ASM) 1$/\\1 0/" ${worksrcpath}/configure
30}
31
32post-destroot {
33   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
34   xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING NEWS README \
35      ${name}.html ${name}.txt ${destroot}${prefix}/share/doc/${name}
36}
37
38livecheck.type  regex
39livecheck.url   ${master_sites}?M=D
40livecheck.regex ${name}-(\\d+(?:\\.\\d+)*)
Note: See TracBrowser for help on using the repository browser.