1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

1: add USE_GCC=any to fix build.

2: Stagify.
This commit is contained in:
Vanilla I. Shu 2014-08-14 16:10:14 +00:00
parent 18ce3352f0
commit 8bfdf101d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364853

View File

@ -14,6 +14,7 @@ COMMENT= Fast Mandelbrot fractal generator
USE_XORG= x11 xmu xext
USE_GL= gl glut
USES= dos2unix zip
USE_GCC= any
SOURCE= FFFF3 FragmentProgram FragmentProgramARB10 GPUProgram \
PixelBuffer VertexProgram VertexProgramATI VertexProgramNV \
@ -29,7 +30,6 @@ PLIST_FILES= bin/ffff
# contains x86 assembler
ONLY_FOR_ARCHS= i386
NO_STAGE= yes
do-build:
.for f in ${SOURCE}
${CXX} ${CXXFLAGS} -c ${WRKSRC}/${f}.cpp -o ${WRKSRC}/${f}.obj
@ -37,6 +37,6 @@ do-build:
${CXX} ${LDFLAGS} ${SOURCE:C/(.*)/${WRKSRC}\/\1.obj/} -o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>