blob: d41157ef2c9ce1a9c0aa19803edf1b400ff24b81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# $NetBSD: Makefile,v 1.41 2018/04/09 10:54:20 adam Exp $
DISTNAME= fonttools-3.25.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= fonts python
MASTER_SITES= ${MASTER_SITE_PYPI:=F/FontTools/}
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/fonttools/fonttools
COMMENT= Library for manipulating fonts
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
SUBST_CLASSES+= man
SUBST_STAGE.man= pre-configure
SUBST_MESSAGE.man= Fixing man page installation path.
SUBST_FILES.man+= setup.py
SUBST_SED.man+= -e "s,share/man,${PKGMANDIR},"
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
for i in fonttools pyftinspect pyftmerge pyftsubset ttx; do \
${MV} $${i} $${i}${PYVERSSUFFIX}; \
done
cd ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 && \
${MV} ttx.1 ttx${PYVERSSUFFIX}.1 || ${TRUE}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
|