# New ports collection makefile for:    xmandel
# Date created:         		18 October 1996
# Whom:                 		andreas@marvin.robin.de
#
# $FreeBSD: ports/graphics/xmandel/Makefile,v 1.7 2002/01/02 04:16:48 pat Exp $
#

PORTNAME=	xmandel
PORTVERSION=	1.0
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.cray.com/src/graphics/xmandel/
# The README says the location is ftp.cray.com:/usr/ftp/src/graphics/xmandel,
# but this has changed apparently.
DISTNAME=	${PORTNAME}
EXTRACT_SUFX=	.shar

MAINTAINER=	andreas@marvin.robin.de

EXTRACT_CMD=	${SH}
EXTRACT_BEFORE_ARGS=	# empty
EXTRACT_AFTER_ARGS=	# empty
USE_IMAKE=	yes
NO_WRKSUBDIR=	yes
MAN1=		xmandel.1

pre-patch:
	@${PERL} -pi.orig -e 's|malloc.h|stdlib.h|' ${WRKSRC}/mandel.c

.include <bsd.port.mk>
