1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/security/py-m2crypto/Makefile
Daichi GOTO 0ad5117180 update security/py-m2crypto: 0.06 --> 0.11
PR:		53950
Submitted by:	Ng Pheng Siong <ngps@post1.com> (mainttainer)
2003-07-01 04:51:41 +00:00

40 lines
975 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.11
PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= http://www.post1.com/home/ngps/m2/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ngps@post1.com
COMMENT= Crypto and SSL toolkit for Python
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13 \
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>