source: trunk/dports/security/makepasswd/Portfile @ 129670

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

makepasswd: switch from perl5.12 to perl5.16, license, increment revision, silence lint errors (#44405. maintainer timeout).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 129670 2014-12-18 20:20:51Z devans@macports.org $
2
3PortSystem        1.0
4
5name              makepasswd
6version           1.10-3
7revision          2
8categories        security
9license           GPL-2
10platforms         darwin
11maintainers       gmail.com:ooburai
12description       generate and encrypt passwords
13long_description  A port of Rob Levin's makepasswd tool.
14homepage          http://packages.debian.org/stable/source/makepasswd
15master_sites      http://ftp.debian.org/debian/pool/main/m/makepasswd/
16patch_sites       http://macports.quay.net/sources/security/makepasswd/files/
17
18distfiles         ${name}_${version}_all.deb
19
20patchfiles        patch-makepasswd.diff
21
22checksums         ${name}_${version}_all.deb \
23                  sha1 6f89e016f52e43068f6feb2bda5f8a8c475a3ef5 \
24                  patch-makepasswd.diff \
25                  sha1 58b6d05b1da01ae75cb04fadd27aa6902fe9d403
26
27depends_lib       port:p5.16-crypt-passwdmd5
28
29extract.cmd       ar
30extract.pre_args  -x
31extract.post_args data.tar.gz && mkdir ${worksrcpath} && \
32                  tar -C ${worksrcpath} -xzf data.tar.gz
33
34use_configure     no
35post-configure    {
36                  reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|g" \
37                  "${worksrcpath}/usr/bin/makepasswd"
38                  }
39
40build             {}
41
42destroot        {
43                xinstall -m 0755 ${worksrcpath}/usr/bin/makepasswd \
44                ${destroot}${prefix}/bin/makepasswd
45                xinstall -m 0644 \
46                ${worksrcpath}/usr/share/man/man1/makepasswd.1.gz \
47                ${destroot}${prefix}/share/man/man1/makepasswd.1.gz
48}
Note: See TracBrowser for help on using the repository browser.