aboutsummaryrefslogblamecommitdiff
path: root/security/pwman/Makefile
blob: ae0b722597e7b3394e64c6669696215d990b3dc0 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                

                     
                     
                 
                        
                                                                     
 
                                 
                                                                        
 
                      
                                 
 
                                    
 
                             
                       
                   
                                         
 
                                             
                                                                           

                                      
 

                    
           

                                                                      
 
                     
                                       
                                                                           

                      
# Created by: Anders Nordby <anders@FreeBSD.org>

PORTNAME=	pwman
DISTVERSION=	0.4.5
PORTREVISION=	1
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>