freebsd-ports/security/py-keyring/Makefile
Sunpoet Po-Chuan Hsieh 1b6a154cbc - Update to 0.9.2
Changes:	http://pypi.python.org/pypi/keyring#changes
PR:		ports/169232
Submitted by:	Douglas Thrift <douglas@douglasthrift.net> (maintainer)
2012-06-19 09:00:36 +00:00

50 lines
1.1 KiB
Makefile

# New ports collection makefile for: py-keyring
# Date created: 2 September 2009
# Whom: Douglas Thrift
#
# $FreeBSD$
#
PORTNAME= keyring
PORTVERSION= 0.9.2
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:MCRYPT_FILE}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.5:${PORTSDIR}/security/py-pycrypto
.endif
.if ${PORT_OPTIONS:MGNOME_KEYRING}
USE_GNOME+= pygnomedesktop
.endif
.if ${PORT_OPTIONS:MKDE_KWALLET}
USE_KDE4+= pykde4
.endif
.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
.endif
.include <bsd.port.post.mk>