2013-01-21 11:16:06 +01:00
|
|
|
# Created by: Douglas Thrift <douglas@douglasthrift.net>
|
2009-09-04 23:04:44 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= keyring
|
2013-01-21 11:16:06 +01:00
|
|
|
PORTVERSION= 1.2
|
2009-09-04 23:04:44 +02:00
|
|
|
CATEGORIES= security python
|
2010-08-11 06:11:45 +02:00
|
|
|
MASTER_SITES= CHEESESHOP
|
2009-09-04 23:04:44 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= douglas@douglasthrift.net
|
|
|
|
COMMENT= Store and access your passwords safely
|
|
|
|
|
2011-01-15 14:38:35 +01:00
|
|
|
LICENSE= PSFL
|
2010-08-11 06:11:45 +02:00
|
|
|
|
2009-09-04 23:04:44 +02:00
|
|
|
LATEST_LINK= py-${PORTNAME}
|
|
|
|
|
2012-02-21 22:47:27 +01:00
|
|
|
USE_ZIP= yes
|
2011-02-25 04:19:29 +01:00
|
|
|
USE_PYTHON= 2.5+
|
2012-02-21 22:47:27 +01:00
|
|
|
USE_PYDISTUTILS= easy_install
|
2009-09-04 23:04:44 +02:00
|
|
|
|
2013-01-21 11:16:06 +01:00
|
|
|
OPTIONS_DEFINE= CRYPT_FILE GNOME_KEYRING KDE_KWALLET
|
2012-06-18 03:20:15 +02:00
|
|
|
GNOME_KEYRING_DESC= GNOME Keyring backend
|
|
|
|
KDE_KWALLET_DESC= KDE KWallet backend
|
|
|
|
CRYPT_FILE_DESC= Crypt(ed) File backend
|
2009-09-04 23:04:44 +02:00
|
|
|
|
2011-01-15 14:38:35 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2009-09-04 23:04:44 +02:00
|
|
|
|
2012-06-19 11:00:36 +02:00
|
|
|
.if ${PORT_OPTIONS:MCRYPT_FILE}
|
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:${PORTSDIR}/security/py-pycrypto
|
|
|
|
.endif
|
|
|
|
|
2012-06-18 03:20:15 +02:00
|
|
|
.if ${PORT_OPTIONS:MGNOME_KEYRING}
|
2010-11-11 12:57:40 +01:00
|
|
|
USE_GNOME+= pygnomedesktop
|
2009-09-04 23:04:44 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-18 03:20:15 +02:00
|
|
|
.if ${PORT_OPTIONS:MKDE_KWALLET}
|
2010-11-11 12:57:40 +01:00
|
|
|
USE_KDE4+= pykde4
|
2009-09-04 23:04:44 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-19 11:00:36 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MCRYPT_FILE} && ${PYTHON_VERSION} == "python2.5"
|
|
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.5:${PORTSDIR}/devel/py-simplejson
|
2012-06-18 03:20:15 +02:00
|
|
|
.endif
|
|
|
|
|
2012-06-19 11:00:36 +02:00
|
|
|
.include <bsd.port.post.mk>
|