freebsd-ports/security/py-m2crypto/Makefile
Pete Fritchman 1221547d56 - update to 0.06 final (not -snap6). bump PORTREVISION (PORTNAME was at
0.06, but DISTNAME had -snap6).
- give maintainership to the author, ngps@post1.com
- remove PLIST_SUB line (PYTHON_VERSION is automatically added now)
- specify full path to pinstall with ${LOCALBASE}

PR:		31496
Submitted by:	(old) maintainer
2001-11-06 10:43:13 +00:00

39 lines
936 B
Makefile

# New ports collection makefile for: py-m2crypto
# Date created: 27 March 2001
# Whom: Peter Haight <peterh@sapros.com>
#
# $FreeBSD$
#
PORTNAME= m2crypto
PORTVERSION= 0.06
PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= http://www.post1.com/home/ngps/m2/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ngps@post1.com
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/SWIG-devel \
pinstall:${PORTSDIR}/devel/pinstall
WRKSRC= ${WRKDIR}/${DISTNAME}/swig
USE_PYTHON= yes
USE_ZIP= yes
USE_OPENSSL= yes
PINSTALL_PLIST= ${WRKDIR}/pinstall-plist
post-build:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/../M2Crypto
do-install:
${MKDIR} ${WRKDIR}/lib/${PYTHON_VERSION}/site-packages
cd ${WRKDIR}/lib/${PYTHON_VERSION}/site-packages && ${LN} -sf ../../../${DISTNAME}/M2Crypto
post-install:
${LOCALBASE}/bin/pinstall -v -f ${TMPPLIST} -d ${WRKDIR}
.include <bsd.port.mk>