1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/security/py-pyme/Makefile
Mathieu Arnold 597afc47ba Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:25:16 +00:00

34 lines
801 B
Makefile

# Created by: Johan van Selst <johans@stack.nl>
# $FreeBSD$
PORTNAME= pyme
PORTVERSION= 0.8.1
PORTREVISION= 5
CATEGORIES= security python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= johans@FreeBSD.org
COMMENT= Python interface to GPGME library
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= swig1.3:devel/swig13
LIB_DEPENDS= libgpgme.so:security/gpgme
USES= gmake python:2
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME=pygpgme
MAKE_ARGS= PYTHON=${PYTHON_CMD}
post-patch:
@${REINPLACE_CMD} 's,gpgme-config,${LOCALBASE}/bin/&,' \
${WRKSRC}/Makefile ${WRKSRC}/setup.py
pre-build:
cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} build
.include <bsd.port.mk>