diff options
author | Johan van Selst <johans@FreeBSD.org> | 2008-12-28 11:27:43 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2008-12-28 11:27:43 +0000 |
commit | dccef7acdf99590388f4b6c9459f5115b65bbb6d (patch) | |
tree | 7e6d87c29a5f4d0f827367bb8ea46c0dac8d9431 /security/py-pyme/Makefile | |
parent | 52be719794c7586def12726c23580c5b4bda9289 (diff) | |
download | ports-dccef7acdf99590388f4b6c9459f5115b65bbb6d.tar.gz ports-dccef7acdf99590388f4b6c9459f5115b65bbb6d.zip |
Notes
Diffstat (limited to 'security/py-pyme/Makefile')
-rw-r--r-- | security/py-pyme/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/security/py-pyme/Makefile b/security/py-pyme/Makefile new file mode 100644 index 000000000000..47947f8ff73c --- /dev/null +++ b/security/py-pyme/Makefile @@ -0,0 +1,35 @@ +# 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> |