1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/security/py-m2crypto/Makefile
Kevin Lo 2654f95fc5 Updates the port from snap4 to snap6.
PR: 28239
Submitted by: MAINTAINER
2001-06-25 04:08:18 +00:00

42 lines
999 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
CATEGORIES= security python
MASTER_SITES= http://www.post1.com/home/ngps/m2/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-${PORTVERSION}-snap6
MAINTAINER= peterh@sapros.com
BUILD_DEPENDS= swig:${PORTSDIR}/devel/SWIG \
pinstall:${PORTSDIR}/devel/pinstall
WRKSRC= ${WRKDIR}/${DISTNAME}/swig
USE_PYTHON= yes
USE_ZIP= yes
USE_OPENSSL= yes
PINSTALL_PLIST= ${WRKDIR}/pinstall-plist
PLIST_SUB+= PYTHON_VERSION=${PYTHON_VERSION}
pre-build:
${TOUCH} ${WRKSRC}/_m2crypto_wrap.doc
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:
pinstall -v -f ${TMPPLIST} -d ${WRKDIR}
.include <bsd.port.mk>