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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

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