aboutsummaryrefslogtreecommitdiff
path: root/security/revelation/Makefile
blob: 1286369e25ddd1a0d5837b002d4ff327dfca646c (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
39
40
41
# Created by: ports@c0decafe.net
# $FreeBSD$

PORTNAME=	revelation
PORTVERSION=	0.4.14
PORTREVISION=	4
CATEGORIES=	security gnome
MASTER_SITES=	https://bitbucket.org/erikg/revelation/downloads/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Password manager for the GNOME 2 desktop

LICENSE=	GPLv2

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dbus>0:${PORTSDIR}/devel/py-dbus \
		${PYTHON_PKGNAMEPREFIX}pycrypto>0:${PORTSDIR}/security/py-pycrypto
LIB_DEPENDS=	libcrack.so:${PORTSDIR}/security/cracklib
RUN_DEPENDS:=	${BUILD_DEPENDS} \
		${PYTHON_PKGNAMEPREFIX}cracklib>0:${PORTSDIR}/security/py-cracklib

USES=		desktop-file-utils gettext gmake pathfix pkgconfig python \
		shared-mime-info shebangfix tar:bzip2
SHEBANG_FILES=	src/revelation.py
USE_GNOME=	gnomeprefix pygnome2 intltool
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
CONFIGURE_ARGS=	--without-applet --disable-desktop-update --disable-mime-update

GCONF_SCHEMAS=	revelation.schemas

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

DICTPATH=	${LOCALBASE}/libdata/cracklib/pw_dict

post-patch:
	@${REINPLACE_CMD} -e \
		'/FascistCheck/s|(password)|(password, "${DICTPATH}")|' \
		${WRKSRC}/src/lib/util.py

.include <bsd.port.mk>