freebsd-ports/security/py-pyme/Makefile
Johan van Selst dccef7acdf PyMe is a Python interface to GPGME library.
PyMe's development model is GPGME + Python + SWIG (just like m2crypto is
an OpenSSL + Python + SWIG) combination which means that most of the
functions and types are converted from C into Python automatically by SWIG.
In short, to be able to use PyMe you need to be familiar with GPGME.

WWW:	http://pyme.sourceforge.net/
2008-12-28 11:27:43 +00:00

36 lines
862 B
Makefile

# New ports collection makefile for: security/py-pyme
# Date created: 28 December 2008
# Whom: Johan van Selst <johans@stack.nl>
#
# $FreeBSD$
#
PORTNAME= pyme
PORTVERSION= 0.8.1
CATEGORIES= security python
MASTER_SITES= SF
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= johans@stack.nl
COMMENT= Python interface to GPGME library
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
LIB_DEPENDS= gpgme:${PORTSDIR}/security/gpgme
USE_GMAKE= yes
USE_PYTHON= 2.3+
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=pygpgme
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's,gpgme-config,${PREFIX}/bin/&,' \
${WRKSRC}/Makefile ${WRKSRC}/setup.py
@${REINPLACE_CMD} -e 's,include/,&gpgme/,' ${WRKSRC}/Makefile
pre-build:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} build)
.include <bsd.port.post.mk>