diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-02-24 21:56:45 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-02-24 21:56:45 +0800 |
commit | b9c99f44f2ffd637c8ca2423f9fe83e04954bd80 (patch) | |
tree | 8b93db968cf9865d9e0167faefc0321522193815 | |
parent | 774d74739ede47afcdef9a6464c80375dc93dea1 (diff) | |
download | freebsd-ports-gnome-b9c99f44f2ffd637c8ca2423f9fe83e04954bd80.tar.gz freebsd-ports-gnome-b9c99f44f2ffd637c8ca2423f9fe83e04954bd80.tar.zst freebsd-ports-gnome-b9c99f44f2ffd637c8ca2423f9fe83e04954bd80.zip |
- Add LICENSE
- Strip libraries
-rw-r--r-- | textproc/pychm/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/textproc/pychm/Makefile b/textproc/pychm/Makefile index 7395723dfef3..d34c8a544346 100644 --- a/textproc/pychm/Makefile +++ b/textproc/pychm/Makefile @@ -9,6 +9,9 @@ MASTER_SITES= SF/gnochm/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Bindings for CHMLIB library +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING + LIB_DEPENDS= libchm.so:${PORTSDIR}/misc/chmlib NO_BUILD= yes @@ -19,4 +22,7 @@ USE_PYTHON= distutils PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS} build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/chm/*.so + .include <bsd.port.post.mk> |