ports/86275: New port: graphics/fracplanet An interactive generator of planets and terrain

Igor Pokrovsky ip at doom.homeunix.org
Sat Sep 17 19:40:09 UTC 2005


>Number:         86275
>Category:       ports
>Synopsis:       New port: graphics/fracplanet An interactive generator of planets and terrain
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 17 19:40:08 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Igor Pokrovsky
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD doom.homeunix.org 4.11-STABLE FreeBSD 4.11-STABLE #0: Wed Sep 7 09:26:18 MSD 2005 root at doom.homeunix.org:/usr/obj/usr/src/sys/KERNEL-p3 i386


	
>Description:
Fracplanet is an application to generate random planets and terrain
with oceans, mountains, icecaps and rivers. Parameters are specified
interactively and the results displayed using OpenGL. The generated
objects can be dumped in Pov-Ray format.

WWW:	http://www.bottlenose.demon.co.uk/share/fracplanet
	
>How-To-Repeat:
	
>Fix:

	

--- fracplanet.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	fracplanet
#	fracplanet/distinfo
#	fracplanet/pkg-descr
#	fracplanet/Makefile
#	fracplanet/files
#	fracplanet/files/patch-fracplanet.pro
#
echo c - fracplanet
mkdir -p fracplanet > /dev/null 2>&1
echo x - fracplanet/distinfo
sed 's/^X//' >fracplanet/distinfo << 'END-of-fracplanet/distinfo'
XMD5 (fracplanet-0.2.0.tar.gz) = 16c2a59fc1614f1f1c69eff16d10a39e
XSIZE (fracplanet-0.2.0.tar.gz) = 68440
END-of-fracplanet/distinfo
echo x - fracplanet/pkg-descr
sed 's/^X//' >fracplanet/pkg-descr << 'END-of-fracplanet/pkg-descr'
XFracplanet is an application to generate random planets and terrain
Xwith oceans, mountains, icecaps and rivers. Parameters are specified
Xinteractively and the results displayed using OpenGL. The generated
Xobjects can be dumped in Pov-Ray format.
X
XWWW:	http://www.bottlenose.demon.co.uk/share/fracplanet
X
X- Igor Pokrovsky
Xip at doom.homeunix.org
END-of-fracplanet/pkg-descr
echo x - fracplanet/Makefile
sed 's/^X//' >fracplanet/Makefile << 'END-of-fracplanet/Makefile'
X# New ports collection makefile for: fracplanet
X# Date created:		15 Sep 2005
X# Whom:			Igor Pokrovsky <ip at doom.homeunix.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	fracplanet
XPORTVERSION=	0.2.0
XCATEGORIES=	graphics
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	ip at doom.homeunix.org
XCOMMENT=	An interactive generator of planets and terrain
X
XUSE_REINPLACE=	yes
XUSE_GL=		yes
XUSE_QT_VER=	3
XUSE_X_PREFIX=	yes
XMAKE_ENV=	QTDIR="${X11BASE}" QMAKESPEC="${QMAKESPEC}" VERSION_NUMBER="${PORTVERSION}"
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
XQMAKE?=		${LOCALBASE}/bin/qmake
XQMAKESPEC?=	${LOCALBASE}/share/qt/mkspecs/freebsd-g++
X
XPLIST_FILES=	bin/${PORTNAME}
XPORTDOCS=	fracplanet.htm fracplanet.css
X
X.include <bsd.port.pre.mk>
X
X# not sure about the early age of 5.x however
X.if ${OSVERSION} < 500000
XBROKEN=		"Does not build on FreeBSD 4.x"
X.endif
X
Xpost-patch:
X	@${REINPLACE_CMD} -e \
X		's|%%PREFIX%%|${PREFIX}|g; s|%%DOCSDIR%%|${DOCSDIR}|g' \
X	${WRKSRC}/${PORTNAME}.pro
X
Xdo-configure:
X	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X
X.ifndef (NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-fracplanet/Makefile
echo c - fracplanet/files
mkdir -p fracplanet/files > /dev/null 2>&1
echo x - fracplanet/files/patch-fracplanet.pro
sed 's/^X//' >fracplanet/files/patch-fracplanet.pro << 'END-of-fracplanet/files/patch-fracplanet.pro'
X--- fracplanet.pro.orig
X+++ fracplanet.pro
X@@ -1,15 +1,15 @@
X TEMPLATE = app
X 
X # append debug or release
X-CONFIG+= qt opengl debug # release
X+CONFIG+= qt opengl release # debug
X 
X #######################################
X # Installation 
X 
X INSTALLS += executable documentation
X-executable.path = /usr/local/bin
X+executable.path = %%PREFIX%%/bin
X executable.files = fracplanet 
X-documentation.path = /usr/local/share/doc/fracplanet
X+documentation.path = %%DOCSDIR%%
X documentation.files = fracplanet.htm fracplanet.css
X 
X ##################
X@@ -17,8 +17,8 @@
X # Now leaving these ON for general distribution
X # -funroll-loops unproven 
X 
X-QMAKE_CXXFLAGS_RELEASE -= -O2
X-QMAKE_CXXFLAGS_RELEASE += -O3 -fomit-frame-pointer -ffast-math 
X+#QMAKE_CXXFLAGS_RELEASE -= -O2
X+#QMAKE_CXXFLAGS_RELEASE += -O3 -fomit-frame-pointer -ffast-math 
X 
X ##################
X # Architecture specific optimisations
END-of-fracplanet/files/patch-fracplanet.pro
exit
--- fracplanet.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list