2008-12-28 12:27:43 +01:00
|
|
|
# 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
|
2011-07-21 14:43:39 +02:00
|
|
|
PORTREVISION= 4
|
2008-12-28 12:27:43 +01:00
|
|
|
CATEGORIES= security python
|
2009-08-22 02:35:32 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
2008-12-28 12:27:43 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2010-02-23 19:07:14 +01:00
|
|
|
MAINTAINER= johans@FreeBSD.org
|
2008-12-28 12:27:43 +01:00
|
|
|
COMMENT= Python interface to GPGME library
|
|
|
|
|
|
|
|
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
|
|
|
|
LIB_DEPENDS= gpgme:${PORTSDIR}/security/gpgme
|
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2011-02-25 04:19:29 +01:00
|
|
|
USE_PYTHON= 2.5+
|
2008-12-28 12:27:43 +01:00
|
|
|
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>
|