# New ports collection makefile for:	gfont
# Date created:			09-Sep-1997
# Whom:				Ralf S. Engelschall <rse@engelschall.com>
#
# $FreeBSD: ports/graphics/gfont/Makefile,v 1.15 2004/07/01 08:08:45 krion Exp $
#

PORTNAME=	gfont
PORTVERSION=	1.0.3
PORTREVISION=	1
CATEGORIES=	graphics print www
MASTER_SITES=	http://www.engelschall.com/sw/gfont/distrib/ \
		ftp://ftp.engelschall.com/sw/gfont/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Graphics Font - Create GIF image rendered with TeX-available Font

BUILD_DEPENDS=	gsftopk:${PORTSDIR}/print/teTeX
RUN_DEPENDS=	gsftopk:${PORTSDIR}/print/teTeX

USE_GHOSTSCRIPT_BUILD=	yes
USE_PERL5=	yes
GNU_CONFIGURE=	yes

MAN1=		gfont.1

post-patch:
	@${PERL} -pi -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure

.include <bsd.port.mk>
