1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

- Add LICENSE

- Strip library
This commit is contained in:
Dmitry Marakasov 2015-03-13 13:21:59 +00:00
parent ce5c4f42a3
commit 994a7d97fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381189

View File

@ -3,7 +3,7 @@
PORTNAME= mcrypt
PORTVERSION= 1.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= security python
MASTER_SITES= SF/python-${PORTNAME}/OldFiles
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,6 +12,9 @@ DISTNAME= python-mcrypt-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Comprehensive Python interface to the mcrypt library
LICENSE= LGPL21 # or later
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libmcrypt.so:${PORTSDIR}/security/libmcrypt
USES= python
@ -24,4 +27,7 @@ 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>