6387ce5cb0
fonts, written in Python.
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# New ports collection makefile for: py-fonttools
|
|
# Date created: 2 January 2001
|
|
# Whom: Joseph Koshy <jkoshy@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fonttools
|
|
PORTVERSION= 1.0b1
|
|
CATEGORIES= print python
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= fonttools
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= fonttools-${PORTVERSION}
|
|
|
|
MAINTAINER= jkoshy@freebsd.org
|
|
|
|
BUILD_DEPENDS= ${PYDISTUTILS} \
|
|
xmlproc_val:${PORTSDIR}/textproc/py-xml \
|
|
${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric
|
|
RUN_DEPENDS= xmlproc_val:${PORTSDIR}/textproc/py-xml \
|
|
${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric
|
|
|
|
WRKSRC= ${WRKDIR}/fonttools
|
|
|
|
USE_PYTHON= yes
|
|
PYTHON_VERSION= python2.1
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/py-fonttools
|
|
|
|
do-build:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py build
|
|
|
|
do-install:
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py install
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ttDump.py ${PREFIX}/bin/
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ttCompile.py ${PREFIX}/bin/
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/Doc/index.html ${DOCDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|