# New ports collection makefile for: xfractint-devel
# Date created:		8 Sep 2009
# Whom:			onemda@gmail.com
#
# $FreeBSD: ports/graphics/xfractint-devel/Makefile,v 1.1 2010/01/27 21:43:41 glarkin Exp $
#

PORTNAME=	xfractint
PORTVERSION=	20.04p09
CATEGORIES=	graphics
MASTER_SITES=	http://www.fractint.org/ftp/current/linux/ \
		http://twegner.dyndns.org/fractint/ftp/current/linux/
PKGNAMESUFFIX=	-devel
DISTNAME=	${PORTNAME}-${PORTVERSION}

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

USE_GMAKE=	yes
USE_GZIP=	yes
USE_XORG=	x11

ALL_TARGET=	${PORTNAME}

MAN1=		${PORTNAME}${PKGNAMESUFFIX}.1

DATADIR=	${PREFIX}/share/${PORTNAME}${PKGNAMESUFFIX}

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/xfractint ${PREFIX}/bin/${PORTNAME}${PKGNAMESUFFIX}
	@${INSTALL_MAN} ${WRKSRC}/unix/xfractint.man ${PREFIX}/man/man1/${MAN1}
	@${MKDIR} ${DATADIR}
	@${CP} ${WRKSRC}/fractint.hlp ${DATADIR}
	@${CP} ${WRKSRC}/sstools.ini ${DATADIR}
	@${CP} -R ${WRKSRC}/formulas ${DATADIR}
	@${CP} -R ${WRKSRC}/ifs ${DATADIR}
	@${CP} -R ${WRKSRC}/lsystem ${DATADIR}
	@${CP} -R ${WRKSRC}/maps ${DATADIR}
	@${CP} -R ${WRKSRC}/pars ${DATADIR}

.include <bsd.port.mk>
