aboutsummaryrefslogtreecommitdiffstats
path: root/security/revelation/Makefile
blob: 9bc68b6c6974d3618667bec3fdd66a54c699fbe7 (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
# New ports collection makefile for:    revelation
# Date created:     2004-08-10
# Whom:         ports@c0decafe.net
#
# $FreeBSD$
#

PORTNAME=   revelation
PORTVERSION=    0.3.4
PORTREVISION=   1
CATEGORIES= security gnome
MASTER_SITES=   ftp://oss.codepoet.no/revelation/

MAINTAINER= ports@c0decafe.net
COMMENT=    Password manager for the GNOME 2 desktop

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2\
        ${PYTHON_SITELIBDIR}/Crypto/test.py:${PORTSDIR}/security/py-pycrypto

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GNOME=  pygnome2
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_REINPLACE=  yes
GCONF_SCHEMAS=  revelation.schemas

post-patch:
    @${REINPLACE_CMD} 's#share/#share/gnome/#g' \
        ${WRKSRC}/setup.py ${WRKSRC}/src/lib/__init__.py
    @${REINPLACE_CMD} 's#sys\.prefix#"${PREFIX}"#g' \
        ${WRKSRC}/src/lib/__init__.py
    @${REINPLACE_CMD} 's#/etc/#${PREFIX}/etc/#' \
        ${WRKSRC}/setup.py ${WRKSRC}/src/lib/data.py

.include <bsd.port.mk>