summaryrefslogtreecommitdiffstats
path: root/security/kc/Makefile
blob: 46c1088cc64bfdd50c631aa46fa92830e19f30bf (plain)
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: LEVAI Daniel <leva@ecentrum.hu>
# $FreeBSD$

PORTNAME=	kc
PORTVERSION=	2.3.0
CATEGORIES=	security
MASTER_SITES=	http://keychain.googlecode.com/files/

MAINTAINER=	leva@ecentrum.hu
COMMENT=	Console based password storing application

LICENSE=	BSD

LIB_DEPENDS=	libxml2.so:${PORTSDIR}/textproc/libxml2 \
		libpcre.so:${PORTSDIR}/devel/pcre
RUN_DEPENDS=	p5-HTML-Parser>=0:${PORTSDIR}/www/p5-HTML-Parser

USES=		pkgconfig

MAN1=		kc.1
MANCOMPRESSED=	yes

PLIST_DIRS=	share/kc
PLIST_FILES=	bin/kc \
		share/kc/pwsafe_to_kc.pl

MAKE_ENV+=	HAVE_PCRE=yes

NO_STAGE=	yes
post-patch:
	@${REINPLACE_CMD} -e 's|pkg-config|${LOCALBASE}/bin/pkgconf|' ${WRKSRC}/Makefile

post-install:
	${INSTALL} -d ${PREFIX}/share/kc
	${INSTALL} ${WRKSRC}/pwsafe_to_kc.pl ${PREFIX}/share/kc/

.include <bsd.port.mk>
OpenPOWER on IntegriCloud