freebsd-ports/security/py-pyme/Makefile
Jason E. Hale 784e4c52e1 - Update security/gpgme to 1.4.3
- Use USE_GNOME= ltverhack to correct the library version number
  to what the author intended.  This effectively rolls the version
  number backwards, but should prevent future unneccesary version
  bumps.
- Support staging
- Use options helpers
- Use new LIB_DEPENDS syntax
- Bump PORTREVISION on dependent ports
2013-10-20 19:20:15 +00:00

33 lines
860 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
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
LIB_DEPENDS= libgpgme.so:${PORTSDIR}/security/gpgme
USE_GMAKE= yes
USE_PYTHON= 2.5+
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=pygpgme
NO_STAGE= yes
.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>