# New ports collection makefile for:   imgtops
# Date created:        17 Mar 2008
# Whom:                Timothy Bourke <timbob@bigpond.com>
#
# $FreeBSD: ports/graphics/imgtops/Makefile,v 1.3 2009/08/22 00:22:52 amdmi3 Exp $
#

PORTNAME=	imgtops
PORTVERSION=	1.0
CATEGORIES=	graphics
MASTER_SITES=	SF

MAINTAINER=	timbob@bigpond.com
COMMENT=	Create efficient Encapsulated Postscript files from images

RUN_DEPENDS+=	${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging

USE_GHOSTSCRIPT_RUN=	yes
USE_PYTHON=		2.2+
USE_PYDISTUTILS=	yes

MAN1=		imgtops.1 epstoimg.1

post-install:
	${CHMOD} 644 ${MANPREFIX}/man/man1/imgtops.1
	${CHMOD} 644 ${MANPREFIX}/man/man1/epstoimg.1

.include <bsd.port.mk>
