source: trunk/dports/sysutils/mkpwd/Portfile @ 139720

Last change on this file since 139720 was 139720, checked in by ryandesign@…, 4 years ago

mkpwd: use the right -arch flags and add a universal variant

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
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: Portfile 139720 2015-08-25 08:28:18Z ryandesign@macports.org $
3
4PortSystem 1.0
5
6name                mkpwd
7version             0.8
8categories          sysutils
9license             Permissive
10platforms           darwin
11maintainers         nomaintainer
12
13description         mkpwd is a scalable password generator
14long_description    ${description}
15
16homepage            http://www.o-schroeder.de/
17master_sites        ${homepage}/download/${name}/
18
19extract.suffix      .tgz
20set real_version    [strsed ${version} {s/\./\-/}]
21distname            ${name}-${real_version}
22
23checksums           rmd160  5bf94e92414366592573f8a92776ed2ae6b80395 \
24                    sha256  352315e531d82f6e975fe135f31505b4c356256c26da1f0303c4f01f70779a62
25
26depends_build-append    port:cctools
27
28worksrcdir          ${name}
29
30patchfiles          patch-Makefile
31
32use_configure       no
33
34variant universal {}
35
36build.target
37build.args-append   CC="${configure.cc} [get_canonical_archflags cc]"
38
39destroot.args       PREFIX=${prefix}
40
41livecheck.type      regex
42livecheck.url       ${master_sites}
43livecheck.regex     ${name}-(\[0-9.\]-\[0-9.\]+)\\${extract.suffix}
44livecheck.version   ${real_version}
Note: See TracBrowser for help on using the repository browser.