aboutsummaryrefslogtreecommitdiffstats
path: root/print/py-fonttools
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-03-24 21:30:56 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-03-24 21:30:56 +0800
commitaa95b68a7b8dcea64f49fdd7ba81353928b7ec60 (patch)
tree2cb8eefdb11ae52464de124af526133fd4a9712d /print/py-fonttools
parented07a00ff873a3f4ffd980286cd1fc5caaa15cdf (diff)
downloadfreebsd-ports-gnome-aa95b68a7b8dcea64f49fdd7ba81353928b7ec60.tar.gz
freebsd-ports-gnome-aa95b68a7b8dcea64f49fdd7ba81353928b7ec60.tar.zst
freebsd-ports-gnome-aa95b68a7b8dcea64f49fdd7ba81353928b7ec60.zip
- Add LICENSE
- Strip library
Diffstat (limited to 'print/py-fonttools')
-rw-r--r--print/py-fonttools/Makefile6
1 files changed, 5 insertions, 1 deletions
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}