svn commit: r381188 - head/security/py-mhash

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Mar 13 13:21:54 UTC 2015


Author: amdmi3
Date: Fri Mar 13 13:21:53 2015
New Revision: 381188
URL: https://svnweb.freebsd.org/changeset/ports/381188
QAT: https://qat.redports.org/buildarchive/r381188/

Log:
  - Add LICENSE
  - Strip library

Modified:
  head/security/py-mhash/Makefile

Modified: head/security/py-mhash/Makefile
==============================================================================
--- head/security/py-mhash/Makefile	Fri Mar 13 13:21:50 2015	(r381187)
+++ head/security/py-mhash/Makefile	Fri Mar 13 13:21:53 2015	(r381188)
@@ -3,6 +3,7 @@
 
 PORTNAME=	mhash
 PORTVERSION=	1.4
+PORTREVISION=	1
 CATEGORIES=	security python
 MASTER_SITES=	SF/${PORTNAME}/OldFiles
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,6 +12,9 @@ DISTNAME=	python-mhash-${PORTVERSION}
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Python mhash module
 
+LICENSE=	LGPL21 # or later
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 LIB_DEPENDS=	libmhash.so:${PORTSDIR}/security/mhash
 
 USES=		python
@@ -19,6 +23,9 @@ USE_PYTHON=	distutils autoplist
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mhash.so
+
 test: install
 	${PYTHON_CMD} ${WRKSRC}/test.py
 


More information about the svn-ports-head mailing list