aboutsummaryrefslogtreecommitdiffstats
path: root/security/pwman/Makefile
blob: 66f3031b6bfcf0cc1c7d8cdc0ffe2df43ca86e5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# New ports collection makefile for:    pwman
# Date created:             23 June 2002
# Whom:                 Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pwman
PORTVERSION=    0.4.0
CATEGORIES= security
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= anders@FreeBSD.org
COMMENT=    Console password management application based on gpg(me)

LIB_DEPENDS=    xml2.5:${PORTSDIR}/textproc/libxml2
RUN_DEPENDS=    gpgv:${PORTSDIR}/security/gnupg1

GNU_CONFIGURE=  yes

MAN1=       pwman.1

PLIST_FILES=    bin/convert_pwdb bin/pwdb2csv bin/pwman

PORTDOCS=   AUTHORS COPYING ChangeLog README TODO

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/bin/gpg|${LOCALBASE}/bin/gpg|g' ${WRKSRC}/src/options.c

.if !defined(NOPORTDOCS)
post-install:
    @${INSTALL} -d -m 0755 ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif

.include <bsd.port.mk>