mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
619f2c0113
Changelog: https://sourceforge.net/projects/pwman/files/pwman/pwman-0.4.5/ChangeLog Additional port changes: * Changed to DISTVERSION * Updated patch-configure
38 lines
875 B
Makefile
38 lines
875 B
Makefile
# Created by: Anders Nordby <anders@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pwman
|
|
DISTVERSION= 0.4.5
|
|
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= 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>
|