Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Aug 2002 19:47:22 +0400 (MSD)
From:      Igor Pokrovsky <tiamat@telegraph.spb.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/41510: New port: graphics/i3d 3D modeling program 
Message-ID:  <200208091547.g79FlMFk010734@doom.homeunix.org>

next in thread | raw e-mail | index | archive | help

>Number:         41510
>Category:       ports
>Synopsis:       New port: graphics/i3d 3D modeling program
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 09 21:40:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Igor Pokrovsky
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
MGO 
>Environment:
System: FreeBSD doom.homeunix.org 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 8 18:35:49 MSD 2002 root@doom.homeunix.org:/usr/src/sys/compile/KERNEL i386


	
>Description:
Innovation3D is an Open Source, 3-dimensional modeling program.
The goal of Innovation3D is to provide a modeling tool that allows
an artist to utilize a variety of techniques. Polygonal modeling
is currently the focus, but there is some preliminary support for
NURBS curves and surfaces, as well as basic animation.
	
>How-To-Repeat:
	
>Fix:

	

--- i3d.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:
#
#	i3d
#	i3d/pkg-plist
#	i3d/pkg-descr
#	i3d/pkg-comment
#	i3d/distinfo
#	i3d/Makefile
#	i3d/files
#	i3d/files/patch-configure
#
echo c - i3d
mkdir -p i3d > /dev/null 2>&1
echo x - i3d/pkg-plist
sed 's/^X//' >i3d/pkg-plist << 'END-of-i3d/pkg-plist'
Xbin/i3d
Xlib/i3d/libcommands.so
Xlib/i3d/libcommands.la
Xlib/i3d/libcontrols.so
Xlib/i3d/libcontrols.la
Xlib/i3d/libfileio.so
Xlib/i3d/libfileio.la
Xlib/i3d/libgui.so
Xlib/i3d/libgui.la
Xlib/i3d/libcommands.so.0
Xlib/i3d/libcontrols.so.0
Xlib/i3d/libfileio.so.0
Xlib/i3d/libgui.so.0
Xlib/i3d/libmath.so.0
Xlib/i3d/libmath.la
Xlib/i3d/libmath.so
Xlib/i3d/libmodifiers.so.0
Xlib/i3d/libmodifiers.la
Xlib/i3d/libmodifiers.so
Xlib/i3d/libplugins.so.0
Xlib/i3d/libplugins.la
Xlib/i3d/libplugins.so
Xlib/i3d/libtexturemap.so.0
Xlib/i3d/libtexturemap.la
Xlib/i3d/libtexturemap.so
Xlib/i3d/libutil.so.0
Xlib/i3d/libutil.la
Xlib/i3d/libutil.so
Xlib/i3d/libviews.so.0
Xlib/i3d/libviews.la
Xlib/i3d/libviews.so
Xlib/i3d/libMDI.so.0
Xlib/i3d/libMDI.la
Xlib/i3d/libMDI.so
Xlib/i3d/libentity.so.0
Xlib/i3d/libentity.la
Xlib/i3d/libentity.so
X@dirrm lib/i3d
END-of-i3d/pkg-plist
echo x - i3d/pkg-descr
sed 's/^X//' >i3d/pkg-descr << 'END-of-i3d/pkg-descr'
XInnovation3D is an Open Source, 3-dimensional modeling program.
XThe goal of Innovation3D is to provide a modeling tool that allows
Xan artist to utilize a variety of techniques. Polygonal modeling
Xis currently the focus, but there is some preliminary support for
XNURBS curves and surfaces, as well as basic animation.
X
XFor online tutorials and references see:
X
XWWW:	http://innovation3d.sourceforge.net
X
X- Igor Pokrovsky
Xtiamat@telegraph.spb.ru
END-of-i3d/pkg-descr
echo x - i3d/pkg-comment
sed 's/^X//' >i3d/pkg-comment << 'END-of-i3d/pkg-comment'
X3D modeling program
END-of-i3d/pkg-comment
echo x - i3d/distinfo
sed 's/^X//' >i3d/distinfo << 'END-of-i3d/distinfo'
XMD5 (i3d-0.66.tar.gz) = 24a76ac9fe576c282bd00146924a044a
END-of-i3d/distinfo
echo x - i3d/Makefile
sed 's/^X//' >i3d/Makefile << 'END-of-i3d/Makefile'
X# New ports collection makefile for:	i3d
X# Date created:		09 Aug 2002
X# Whom:			Igor Pokrovsky <tiamat@telegraph.spb.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		i3d
XPORTVERSION=		0.66
XCATEGORIES=		graphics
XMASTER_SITES=		${MASTER_SITES_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	innovation3d
X
XMAINTAINER=	tiamat@telegraph.spb.ru
X
XLIB_DEPENDS=	nurbsf.1:${PORTSDIR}/graphics/nurbs++ \
X		jpeg.9:${PORTSDIR}/graphics/jpeg
X
XUSE_QT_VER=	2
XUSE_GMAKE=	yes
XUSE_MESA=	yes
XUSE_XLIB=	yes
XUSE_REINPLACE=	yes
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-qt-prefix=${X11BASE} \
X		--with-qt-includes=${X11BASE}/include/qt2 \
X		--with-qt-moc=${X11BASE}/bin/moc2 \
X		--with-gl-prefix=${X11BASE} \
X		--with-glut-prefix=${X11BASE}
XCONFIGURE_ENV=	LDFLAGS=-I${X11BASE}/include
XINSTALLS_SHLIB=	yes
XLDCONFIG_DIRS=	%%PREFIX%%/lib/i3d
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's|qt-gl|qtgl|g; s|gl_qtu_lib|gl_qt_lib|g; \
X		s|\.hh|\.h|g' ${WRKSRC}/configure
X	@${REINPLACE_CMD} -e 's|^-lqt|-lqtgl|g' \
X		${WRKSRC}/${PORTNAME}/Makefile.am ${WRKSRC}/${PORTNAME}/Makefile.in
X	@${REINPLACE_CMD} -e 's|\.hh|\.h|g' \
X		`${FIND} ${WRKSRC}/${PORTNAME}/Entities -name "*.h"; \
X		${FIND} ${WRKSRC}/${PORTNAME}/Entities -name "*.cpp"`
X
XI3D_LIBS_DIR=	.libs
XI3D_DIRS=	Commands Controls FileIO GUI Math Modifiers Plugins TextureMap Util Views
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/${I3D_LIBS_DIR}/${PORTNAME} ${PREFIX}/bin
X
X	@${MKDIR} ${PREFIX}/lib/${PORTNAME}
X.for i in ${I3D_DIRS}
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/$i/${I3D_LIBS_DIR}/lib${i:L}.so.0 \
X		${PREFIX}/lib/${PORTNAME}
X	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/$i/${I3D_LIBS_DIR}/lib${i:L}.la \
X		${PREFIX}/lib/${PORTNAME}
X	${LN} -fs ${PREFIX}/lib/${PORTNAME}/lib${i:L}.so.0 ${PREFIX}/lib/${PORTNAME}/lib${i:L}.so
X.endfor
X
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/MDI/${I3D_LIBS_DIR}/libMDI.so.0 \
X		${PREFIX}/lib/${PORTNAME}
X	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/MDI/${I3D_LIBS_DIR}/libMDI.la \
X		${PREFIX}/lib/${PORTNAME}
X	${LN} -fs ${PREFIX}/lib/${PORTNAME}/libMDI.so.0 ${PREFIX}/lib/${PORTNAME}/libMDI.so
X
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}/Entities/${I3D_LIBS_DIR}/libentity.so.0 \
X		${PREFIX}/lib/${PORTNAME}
X	${INSTALL_DATA} ${WRKSRC}/${PORTNAME}/Entities/${I3D_LIBS_DIR}/libentity.la \
X		${PREFIX}/lib/${PORTNAME}
X	${LN} -fs ${PREFIX}/lib/${PORTNAME}/libentity.so.0 ${PREFIX}/lib/${PORTNAME}/libentity.so
X
Xpost-install:
X	@${ECHO_CMD} "************************************************************"
X	@${ECHO_CMD} "Please, set LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${PREFIX}/lib/${PORTNAME}"
X	@${ECHO_CMD} "   in your shell startup file before using Innovation3D"
X	@${ECHO_CMD} "************************************************************"
X
X.include <bsd.port.mk>
END-of-i3d/Makefile
echo c - i3d/files
mkdir -p i3d/files > /dev/null 2>&1
echo x - i3d/files/patch-configure
sed 's/^X//' >i3d/files/patch-configure << 'END-of-i3d/files/patch-configure'
X--- configure~	Fri Aug  9 15:51:23 2002
X+++ configure	Fri Aug  9 15:55:51 2002
X@@ -6463,7 +6463,9 @@
X           }
X         
X EOF
X-if { (eval echo configure:6467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
X+if { (eval echo configure:6467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} 
X+# this program requires X to run!
X+#&& (./conftest; exit) 2>/dev/null
X then
X   
X           echo "$ac_t""yes" 1>&6
END-of-i3d/files/patch-configure
exit
--- i3d.shar ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208091547.g79FlMFk010734>