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

Last change on this file since 82553 was 82553, checked in by jmr@…, 8 years ago

update p5-* dependents to use a specific version

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