summaryrefslogtreecommitdiff
path: root/print/py-fonttools/Makefile
blob: f9ee9167f6c84267c9ee9f434af6ee761ad9f6c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:	py-fonttools
# Date created:				2 January 2001
# Whom:                 		Joseph Koshy <jkoshy@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	fonttools
PORTVERSION=	1.0b1
PORTREVISION=	1
CATEGORIES=	print python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	fonttools
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	fonttools-${PORTVERSION}

MAINTAINER=	jkoshy@freebsd.org

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

DOCDIR=		${PREFIX}/share/doc/py-fonttools

post-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>