aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-mcrypt
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-03-13 21:21:59 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-03-13 21:21:59 +0800
commit46239b503d820cc3d2441e1ed349ff80f294d146 (patch)
tree03bf3c885b9e137f25d42a55703f09a16dbfc09e /security/py-mcrypt
parentb93e448b805083e63160020fa9de381ac87f6c9a (diff)
downloadfreebsd-ports-gnome-46239b503d820cc3d2441e1ed349ff80f294d146.tar.gz
freebsd-ports-gnome-46239b503d820cc3d2441e1ed349ff80f294d146.tar.zst
freebsd-ports-gnome-46239b503d820cc3d2441e1ed349ff80f294d146.zip
- Add LICENSE
- Strip library
Diffstat (limited to 'security/py-mcrypt')
-rw-r--r--security/py-mcrypt/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/security/py-mcrypt/Makefile b/security/py-mcrypt/Makefile
index 8a3663461e80..219f7fa5eba1 100644
--- a/security/py-mcrypt/Makefile
+++ b/security/py-mcrypt/Makefile
@@ -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>