aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-keyring/Makefile
blob: 07827da95bab898036f228a0eb9b254ba3160436 (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
42
43
44
# New ports collection makefile for:    py-keyring
# Date created:             2 September 2009
# Whom:                 Douglas Thrift
#
# $FreeBSD$
#

PORTNAME=   keyring
PORTVERSION=    0.9.1
CATEGORIES= security python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= douglas@douglasthrift.net
COMMENT=    Store and access your passwords safely

LICENSE=    PSFL

LATEST_LINK=    py-${PORTNAME}

USE_ZIP=    yes
USE_PYTHON= 2.5+
USE_PYDISTUTILS=    easy_install

OPTIONS_DEFINE=     CRYPT_FILE GNOME_KEYRING KDE_KWALLET
GNOME_KEYRING_DESC= GNOME Keyring backend
KDE_KWALLET_DESC=   KDE KWallet backend
CRYPT_FILE_DESC=    Crypt(ed) File backend

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGNOME_KEYRING}
USE_GNOME+= pygnomedesktop
.endif

.if ${PORT_OPTIONS:MKDE_KWALLET}
USE_KDE4+=  pykde4
.endif

.if ${PORT_OPTIONS:MCRYPT_FILE}
RUN_DEPENDS+=   ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:${PORTSDIR}/security/py-pycrypto
.endif

.include <bsd.port.mk>