Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2018 13:37:52 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462811 - head/www/py-http-parser
Message-ID:  <201802241337.w1ODbq4D069328@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Feb 24 13:37:51 2018
New Revision: 462811
URL: https://svnweb.freebsd.org/changeset/ports/462811

Log:
  Add LICENSE_FILE
  
  - Strip shared library in post-install:

Modified:
  head/www/py-http-parser/Makefile

Modified: head/www/py-http-parser/Makefile
==============================================================================
--- head/www/py-http-parser/Makefile	Sat Feb 24 13:37:47 2018	(r462810)
+++ head/www/py-http-parser/Makefile	Sat Feb 24 13:37:51 2018	(r462811)
@@ -11,11 +11,12 @@ MAINTAINER=	python@FreeBSD.org
 COMMENT=	HTTP request/response parser for python in C
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		python
 USE_PYTHON=	autoplist distutils
 
-post-build:
-	@${STRIP_CMD} ${WRKDIR}/${PORTNAME}-${PORTVERSION}/http_parser/parser.so
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/http_parser/parser.so
 
 .include <bsd.port.mk>



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