# $Id: Portfile 66188 2010-04-06 23:35:42Z ryandesign@macports.org $

PortSystem      1.0

name            pwman
version         0.4.0
categories      security
platforms       darwin
maintainers     oaf.dk:mni
description     curses based password management program

long_description \
    PWman is a curses based password storage application.\
    It uses GnuPG to encrypt and decrypt the password file.\
    The interface was inspired by Jaako Heinonen's abook.

homepage        http://sourceforge.net/projects/pwman
master_sites    sourceforge

checksums       md5     1da7d9ff1d2acb39a2bc5e959f9d34d4 \
                sha1    9ac46bc55e605fdabfc9cc5ff84491a65638df57 \
                rmd160  2d020cfe9e9df4731b4047967ea5fb8f12b630fb

depends_lib     port:ncurses \
                port:libxml2 \
                port:gnupg

configure.args  --mandir=${prefix}/share/man

livecheck.regex "<title>pwman pwman-(.*) released.*</title>"

post-configure {
  reinplace "s|-lcurses|-lncurses|" ${worksrcpath}/src/Makefile
}
