Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2015 13:22:00 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r381189 - head/security/py-mcrypt
Message-ID:  <201503131322.t2DDM0ab086093@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Mar 13 13:21:59 2015
New Revision: 381189
URL: https://svnweb.freebsd.org/changeset/ports/381189
QAT: https://qat.redports.org/buildarchive/r381189/

Log:
  - Add LICENSE
  - Strip library

Modified:
  head/security/py-mcrypt/Makefile

Modified: head/security/py-mcrypt/Makefile
==============================================================================
--- head/security/py-mcrypt/Makefile	Fri Mar 13 13:21:53 2015	(r381188)
+++ head/security/py-mcrypt/Makefile	Fri Mar 13 13:21:59 2015	(r381189)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503131322.t2DDM0ab086093>