mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
597afc47ba
With hat: portmgr Sponsored by: Absolight
34 lines
803 B
Makefile
34 lines
803 B
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mcrypt
|
|
PORTVERSION= 1.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= security python
|
|
MASTER_SITES= SF/python-${PORTNAME}/OldFiles
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= python-mcrypt-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Comprehensive Python interface to the mcrypt library
|
|
|
|
LICENSE= LGPL21+
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
LIB_DEPENDS= libmcrypt.so:security/libmcrypt
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
PYDISTUTILS_BUILDARGS= -L${LOCALBASE}/lib
|
|
PYDISTUTILS_BUILD_TARGET= build_ext
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
pre-patch:
|
|
# put a missed terminating quote
|
|
${REINPLACE_CMD} -e '1136s,$$,\\,g' -e '1678s,$$,\\,g' ${WRKSRC}/mcrypt.c
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mcrypt.so
|
|
|
|
.include <bsd.port.mk>
|