1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00
freebsd-ports/print/py-fonttools/Makefile

40 lines
956 B
Makefile
Raw Normal View History

# New ports collection makefile for: py-fonttools
# Date created: 2 January 2001
# Whom: Joseph Koshy <jkoshy@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fonttools
PORTVERSION= 2.3
CATEGORIES= print python
2011-08-02 16:22:15 +00:00
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
2008-04-10 09:21:53 +00:00
MAINTAINER= ports@FreeBSD.org
COMMENT= An open source library for manipulating fonts, written in Python
BUILD_DEPENDS= ${PYNUMPY} ${PYXML}
RUN_DEPENDS= ${PYNUMPY} ${PYXML}
USE_PYTHON= yes
2002-04-29 18:37:38 +00:00
USE_PYDISTUTILS= yes
PYDISTUTILS_EGGINFODIR= ${PYTHON_SITELIBDIR}/FontTools
MAN1= ttx.1
DOCSDIR= ${PREFIX}/share/doc/py-fonttools
post-patch:
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' ${WRKSRC}/setup.py
2002-04-29 18:37:38 +00:00
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Doc/ChangeLog ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Doc/*.html ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Doc/*.txt ${DOCSDIR}
.endif
.include <bsd.port.mk>