print/py-fonttools: Fix man page install location

The man page is currently installed in share/man/man1 and not
man/man1.  uniquefiles cannot do it's job and {py27,py3*}-fonttools
cannot be installed concurrently as a result.

PR:		228014
Submitted by:	Ting-Wei Lan <lantw44@gmail.com>
Approved by:	python (maintainer timeout, 1 month)
This commit is contained in:
Tobias Kortkamp 2018-06-12 14:21:26 +00:00
parent 5216132b95
commit a12d987f1b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472258

View file

@ -3,6 +3,7 @@
PORTNAME= fonttools
PORTVERSION= 3.26.0
PORTREVISION= 1
CATEGORIES= print python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -15,9 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python zip
USE_PYTHON= autoplist concurrent distutils
MAKE_ENV= FONTTOOLS_MANPATH="man"
NO_ARCH= yes
post-patch:
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' ${WRKSRC}/setup.py
.include <bsd.port.mk>