svn commit: r437267 - head/net/py-pysendfile

Li-Wen Hsu lwhsu at FreeBSD.org
Thu Mar 30 02:40:50 UTC 2017


Author: lwhsu
Date: Thu Mar 30 02:40:48 2017
New Revision: 437267
URL: https://svnweb.freebsd.org/changeset/ports/437267

Log:
  - Add LICENSE_FILE
  - Strip sendfile.so
  
  PR:		217373
  Submitted by:	Danilo G. Baio (dbaio) <dbaio at bsd.com.br>
  Approved by:	koobs (maintainer)

Modified:
  head/net/py-pysendfile/Makefile

Modified: head/net/py-pysendfile/Makefile
==============================================================================
--- head/net/py-pysendfile/Makefile	Thu Mar 30 01:58:06 2017	(r437266)
+++ head/net/py-pysendfile/Makefile	Thu Mar 30 02:40:48 2017	(r437267)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pysendfile
 PORTVERSION=	2.0.1
+PORTREVISION=	1
 CATEGORIES=	net python devel
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +12,14 @@ MAINTAINER=	koobs at FreeBSD.org
 COMMENT=	Python interface to sendfile(2)
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 CONFLICTS_INSTALL=	py*-sendfile-[0-9]*
 
 USES=		python
 USE_PYTHON=	distutils autoplist
 
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sendfile.so
+
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list