943ad93280
Mandelbrot sets. Features of mxp include: - zoom and un-zoom - dynamic resizing of drawing window - setup save/load - asynchronous image generation (buttons always work) - GIF output - animation - nine color schemes - color rotation - color change options - detailed statistics WWW: http://www.ibiblio.org/pub/Linux/apps/math/fractals/ and also fix category Approved by: portmgr(marcus) Submitted by: kris
38 lines
924 B
Makefile
38 lines
924 B
Makefile
# New ports collection makefile for: mxp
|
|
# Date Created: 18 March 2004
|
|
# Whom: NAKATA Maho <maho@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mxp
|
|
PORTVERSION= 1.3
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR=apps/math/fractals
|
|
|
|
MAINTAINER= maho@FreeBSD.org
|
|
COMMENT= Application for computing/exploring Mandelbrot set
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
USE_XPM= yes
|
|
USE_REINPLACE= yes
|
|
ALL_TARGET=
|
|
|
|
post-extract:
|
|
@${CP} ${WRKSRC}/Makefile.noimake ${WRKSRC}/Makefile
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g ; \
|
|
s|%%X11BASE%%|${X11BASE}|g ; \
|
|
s|%%CFLAGS%%|${CFLAGS}|g ; \
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g ; \
|
|
s|%%CC%%|${CC}|g' ${WRKSRC}/Makefile
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mxp ${PREFIX}/bin
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|