mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
6cdf88141e
* OpenGL * realtime zoom * SSE/AltiVec QuadPixel * SSE2/3DNow! DualPixel calc * FPU per pixel calc * GPU asm (Fragment/Vertex) calc * multiprocessor support * benchmarking * optimized assembler code! This port uses the standard mandelbrot fractal at near-Xaos speed. Yet every pixel is computed. There is also an interesting parameter ray algoritymn using your 3D card. A 3D card is strongly recommended for screen speed and additional coprocessing power. WWW: http://sourceforge.net/projects/ffff/ PR: 103441 Submitted by: rossiya@gmail.com
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# Ports collection makefile for: ffff
|
|
# Date created: Sep 20, 2006
|
|
# Whom: rossiya@gmail.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ffff
|
|
PORTVERSION= 323
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
DISTNAME= FFFF${PORTVERSION}-src
|
|
|
|
MAINTAINER= rossiya@gmail.com
|
|
COMMENT= A fast mandelbrot fractal generator
|
|
|
|
LIB_DEPENDS= glut.4:${PORTSDIR}/graphics/libglut
|
|
|
|
USE_DOS2UNIX= yes
|
|
USE_GCC= 3.2+
|
|
USE_GL= yes
|
|
USE_XLIB= yes
|
|
USE_ZIP= yes
|
|
|
|
SOURCE= FFFF3 FragmentProgram FragmentProgramARB10 GPUProgram \
|
|
PixelBuffer VertexProgram VertexProgramATI VertexProgramNV \
|
|
extensions vpext
|
|
|
|
CXXFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/GL ${PTHREAD_CFLAGS} \
|
|
-D__linux__
|
|
LDFLAGS+= -L${X11BASE}/lib ${PTHREAD_LIBS} -lglut -lGL -lXext -lX11 -lXmu \
|
|
-lGLU -lm
|
|
|
|
PLIST_FILES= bin/ffff
|
|
|
|
# contains x86 assembler
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
do-build:
|
|
.for f in ${SOURCE}
|
|
${CXX} ${CXXFLAGS} -c ${WRKSRC}/${f}.cpp -o ${WRKSRC}/${f}.obj
|
|
.endfor
|
|
${CXX} ${LDFLAGS} ${SOURCE:C/(.*)/${WRKSRC}\/\1.obj/} -o ${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|