PortSystem 1.0

name		passogva
version		1.0
revision	1
categories	sysutils
platforms	darwin
license		BSD
maintainers	nomaintainer
description	automated password generator
long_description	passogva is a FIPS-181 automated password generator \
			implementation. It generates random, pronounceable \
			words.

set website	https://web.archive.org/web/20080908084832/https://dev.mosuki.com/passogva/
homepage	${website}index.php
master_sites	${website}src/
distfiles	passogva.c
checksums	md5 c3b188e134588efaec8acf09d3519b19

# The certificate doesn't match the host.
fetch.ignore_sslcert	yes

extract.mkdir	yes
extract		{
	file copy ${distpath}/${distfiles} ${worksrcpath}
}

use_configure	no

variant universal {}

# "restrict" is a reserved word as of c99
configure.cflags-append -std=c89

build.cmd	${configure.cc} ${configure.cflags} [get_canonical_archflags cc] passogva.c -o passogva
build.target

destroot	{
	xinstall -m 755 -s ${worksrcpath}/passogva ${destroot}${prefix}/bin
}
