blob: 68d5d245c5c07aff9f0cf7a868817240d2c37055 (
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
|
# Created by: Anders Nordby <anders@FreeBSD.org>
PORTNAME= pwman
DISTVERSION= 0.4.5
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Console password management application based on gpg(me)
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= gpgv:security/gnupg1
USES= gnome ncurses
USE_GNOME= libxml2
GNU_CONFIGURE= yes
CONFIGURE_ARGS= curses_loc=${NCURSESBASE}
PORTDOCS= AUTHORS ChangeLog README TODO
PLIST_FILES= bin/convert_pwdb bin/pwdb2csv bin/pwman man/man1/pwman.1.gz
CFLAGS+= -Wno-error=return-type
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
's|/usr/bin|${LOCALBASE}/bin|' ${WRKSRC}/src/options.c
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
|