1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

- Add LICENSE

- Strip library
This commit is contained in:
Dmitry Marakasov 2015-03-24 13:30:56 +00:00
parent 3407f6c2e9
commit ebce1dbe17
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382096

View File

@ -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}