# New ports collection makefile for:	xfractint
# Date created:		7 Sept 1995
# Whom:			cacho@mexicano.gdl.iteso.mx
#
# $FreeBSD: ports/graphics/xfractint/Makefile,v 1.15 2003/02/20 18:08:17 knu Exp $
#

PORTNAME=	xfractint
PORTVERSION=	3.10
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.phoenix.net/pub/USERS/twegner/ \
		http://spanky.triumf.ca/pub/fractals/programs/unix/
DISTNAME=	xfrac310

MAINTAINER=	ports@FreeBSD.org
COMMENT=	The Unix port of fractint

USE_REINPLACE=	yes
USE_ZIP=	yes
USE_XLIB=	yes
NO_WRKSUBDIR=	yes
MAN1=		xfractint.1

pre-patch:
	@${FIND} ${WRKSRC} -name "*.c" | ${XARGS} ${REINPLACE_CMD} -e \
		's|malloc\.h|stdlib.h|'

.include <bsd.port.mk>
