2002-01-02 12:08:39 +00:00
|
|
|
# New ports collection makefile for: py-fonttools
|
|
|
|
# Date created: 2 January 2001
|
|
|
|
# Whom: Joseph Koshy <jkoshy@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fonttools
|
2009-11-20 06:06:32 +00:00
|
|
|
PORTVERSION= 2.3
|
2002-01-02 12:08:39 +00:00
|
|
|
CATEGORIES= print python
|
2011-08-02 16:22:15 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
|
2002-01-02 12:08:39 +00:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2008-04-10 09:21:53 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-19 09:25:27 +00:00
|
|
|
COMMENT= An open source library for manipulating fonts, written in Python
|
2002-01-02 12:08:39 +00:00
|
|
|
|
2009-01-20 22:48:26 +00:00
|
|
|
BUILD_DEPENDS= ${PYNUMPY} ${PYXML}
|
|
|
|
RUN_DEPENDS= ${PYNUMPY} ${PYXML}
|
2002-01-02 12:08:39 +00:00
|
|
|
|
|
|
|
USE_PYTHON= yes
|
2002-04-29 18:37:38 +00:00
|
|
|
USE_PYDISTUTILS= yes
|
2007-07-30 09:42:28 +00:00
|
|
|
PYDISTUTILS_EGGINFODIR= ${PYTHON_SITELIBDIR}/FontTools
|
2002-01-02 12:08:39 +00:00
|
|
|
|
2009-01-20 22:48:26 +00:00
|
|
|
MAN1= ttx.1
|
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-fonttools
|
2002-01-02 12:08:39 +00:00
|
|
|
|
2009-11-20 06:06:32 +00:00
|
|
|
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:
|
2002-01-02 12:08:39 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2009-01-20 22:48:26 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2009-11-20 06:06:32 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Doc/ChangeLog ${DOCSDIR}
|
2009-01-20 22:48:26 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/Doc/*.html ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Doc/*.txt ${DOCSDIR}
|
2002-01-02 12:08:39 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|