aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-24 13:37:51 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-02-24 13:37:51 +0000
commit378df5733a07b807b77f13656647059d43ff9751 (patch)
tree9f10f414d018ad2755fdb0171829ebb9d8040f66 /www
parent27fbbf2dd3cce9aae4501db08e6aa458dc18f53a (diff)
downloadports-378df5733a07b807b77f13656647059d43ff9751.tar.gz
ports-378df5733a07b807b77f13656647059d43ff9751.zip
Add LICENSE_FILE
- Strip shared library in post-install:
Notes
Notes: svn path=/head/; revision=462811
Diffstat (limited to 'www')
-rw-r--r--www/py-http-parser/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/py-http-parser/Makefile b/www/py-http-parser/Makefile
index 22ceb54b4ef9..f301b2a9c8a4 100644
--- a/www/py-http-parser/Makefile
+++ b/www/py-http-parser/Makefile
@@ -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>