freebsd-ports/print/py-fonttools/Makefile
2008-04-10 09:21:53 +00:00

41 lines
997 B
Makefile

# New ports collection makefile for: py-fonttools
# Date created: 2 January 2001
# Whom: Joseph Koshy <jkoshy@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= fonttools
PORTVERSION= 2.0b1
CATEGORIES= print python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fonttools
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= fonttools-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= An open source library for manipulating fonts, written in Python
BUILD_DEPENDS= xmlproc_val:${PORTSDIR}/textproc/py-xml \
${PYNUMERIC}
RUN_DEPENDS= xmlproc_val:${PORTSDIR}/textproc/py-xml \
${PYNUMERIC}
WRKSRC= ${WRKDIR}/fonttools
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_EGGINFODIR= ${PYTHON_SITELIBDIR}/FontTools
PYDISTUTILS_PKGNAME= FontTools
PYDISTUTILS_PKGVERSION= 1.0
DOCDIR= ${PREFIX}/share/doc/py-fonttools
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/Doc/* ${DOCDIR}
.endif
.include <bsd.port.mk>