aboutsummaryrefslogtreecommitdiffstats
path: root/security/pwman/Makefile
blob: 30b98291e30796ba612df02db251a0317ad85ff8 (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
37
38
# New ports collection makefile for:    pwman
# Date created:             23 June 2002
# Whom:                 Anders Nordby <anders@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   pwman
PORTVERSION=    0.3.2
PORTREVISION=   2
CATEGORIES= security
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

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

LIB_DEPENDS=    xml2.5:${PORTSDIR}/textproc/libxml2
RUN_DEPENDS=    gpg:${PORTSDIR}/security/gnupg

GNU_CONFIGURE=  yes

MAN1=   pwman.1

DOCS=   AUTHORS COPYING ChangeLog README TODO

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

.if !defined(NOPORTDOCS)
post-install:
    @${INSTALL} -d -m 0755 ${DOCSDIR}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>