mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
4942ce5a7d
- Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav
42 lines
998 B
Makefile
42 lines
998 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= jkoshy@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>
|