From ebce1dbe17ced93e3fe85e4871792d5c36d51c9f Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 24 Mar 2015 13:30:56 +0000 Subject: [PATCH] - Add LICENSE - Strip library --- print/py-fonttools/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/print/py-fonttools/Makefile b/print/py-fonttools/Makefile index 9490204475f6..f4b33a03d6a7 100644 --- a/print/py-fonttools/Makefile +++ b/print/py-fonttools/Makefile @@ -3,7 +3,7 @@ PORTNAME= fonttools PORTVERSION= 2.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print python MASTER_SITES= SF/${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -11,6 +11,9 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Open source library for manipulating fonts, written in Python +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + BUILD_DEPENDS= ${PYNUMPY} ${PYXML} RUN_DEPENDS= ${PYNUMPY} ${PYXML} @@ -26,6 +29,7 @@ post-patch: @${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' ${WRKSRC}/setup.py post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/FontTools/fontTools/misc/eexecOp.so @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Doc/ChangeLog ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/Doc/*.html ${STAGEDIR}${DOCSDIR}