Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2017 02:40:48 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437267 - head/net/py-pysendfile
Message-ID:  <201703300240.v2U2em0P015373@repo.freebsd.org>

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



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