source: trunk/dports/sysutils/passogva/Portfile @ 23755

Last change on this file since 23755 was 23755, checked in by pipping@…, 13 years ago
  • rewording
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 23755 2007-04-08 22:41:24Z pipping@macports.org $
2
3PortSystem 1.0
4
5name            passogva
6version         1.0
7categories      sysutils
8platforms       darwin
9maintainers     nomaintainer@macports.org
10description     automated password generator
11long_description        passogva is a FIPS-181 automated password generator \
12                        implementation. It generates random, pronounceable \
13                        words.
14
15set website     https://dev.mosuki.com/passogva/
16homepage        ${website}index.php
17master_sites    ${website}src/
18distfiles       passogva.c
19checksums       md5 c3b188e134588efaec8acf09d3519b19
20
21# The certificate doesn't match the host.
22# fetch.ignore_sslcert  yes
23
24pre-fetch {
25    ui_msg ""
26    ui_msg ""
27    ui_msg "You need to be running MacPorts 1.5 in order to fetch this port. To do so, run  "
28    ui_msg ""
29    ui_msg "    sudo port edit $name"
30    ui_msg ""
31    ui_msg "and remove the \"#\" just before \"fetch.ignore_sslcert\". If you are running an"
32    ui_msg "older version of Macports, you can download the tarball manually. To do so, "   
33    ui_msg "execute the following commands in the given order:                              "
34    ui_msg ""
35    ui_msg "(1) url=\"[lindex $master_sites 0]${distfiles}\""
36    ui_msg ""
37    ui_msg "(2) target=\"${prefix}/var/db/dports/distfiles/${name}\""
38    ui_msg ""
39    ui_msg "(3) sudo curl -gko \${target}/${distfiles} \${url}"
40    ui_msg ""
41    ui_msg ""
42}
43
44extract         {
45        file mkdir ${worksrcpath}
46        file copy ${distpath}/${distfiles} ${worksrcpath}
47}
48
49use_configure   no
50
51build.cmd       gcc passogva.c -o passogva
52build.target
53
54destroot        {
55        xinstall -m 755 -s ${worksrcpath}/passogva ${destroot}${prefix}/bin
56}
Note: See TracBrowser for help on using the repository browser.