Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Mar 2015 13:21:53 +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: r381188 - head/security/py-mhash
Message-ID:  <201503131321.t2DDLrbB085938@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 



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