# $Id: Portfile 30254 2007-10-23 02:22:51Z jmpp@macports.org $

PortSystem 1.0

name		passogva
version		1.0
categories	sysutils
platforms	darwin
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://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		{
	file mkdir ${worksrcpath}
	file copy ${distpath}/${distfiles} ${worksrcpath}
}

use_configure	no

build.cmd	gcc passogva.c -o passogva
build.target

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