From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 4 07:50:21 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4BF2537B401 for ; Wed, 4 Jun 2003 07:50:21 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B39B043FA3 for ; Wed, 4 Jun 2003 07:50:20 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h54EoIUp099594 for ; Wed, 4 Jun 2003 07:50:18 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h54EoIhP099593; Wed, 4 Jun 2003 07:50:18 -0700 (PDT) Date: Wed, 4 Jun 2003 07:50:18 -0700 (PDT) Message-Id: <200306041450.h54EoIhP099593@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Igor Pokrovsky Subject: Re: ports/40514: New port: graphics/linux-ac3d easy to use 3D graphics modeller X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Igor Pokrovsky List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jun 2003 14:50:21 -0000 The following reply was made to PR ports/40514; it has been noted by GNATS. From: Igor Pokrovsky To: freebsd-gnats-submit@freebsd.org Cc: Mario Sergio Fujikawa Ferreira Subject: Re: ports/40514: New port: graphics/linux-ac3d easy to use 3D graphics modeller Date: Wed, 4 Jun 2003 16:46:58 +0200 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, I've upgraded port 3.0a -> 3.6 There is only one thing I was not able to test. I didn't test program, linked against linux mesa, but it is supported by port. Please, test this option, if you will be able to. The statically linked version seems to work fine. -- Igor --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="linux-ac3d.diff" diff -ruN linux-ac3d/Makefile linux-ac3d-new/Makefile --- linux-ac3d/Makefile Mon Jan 13 11:08:34 2003 +++ linux-ac3d-new/Makefile Wed Jun 4 16:23:55 2003 @@ -5,41 +5,95 @@ # $FreeBSD$ # -PORTNAME= linux-ac3d -PORTVERSION= 3.0a -CATEGORIES= graphics linux -MASTER_SITES= http://www.incutio.net/~ac3d/ac3d/download/ -DISTNAME= ac3d3linuxtrial -EXTRACT_SUFX= .tgz - -MAINTAINER= tiamat@telegraph.spb.ru - -USE_LINUX= yes -NO_BUILD= yes -ONLY_FOR_ARCHS= i386 +PORTNAME= linux-ac3d +PORTVERSION= 3.6 +CATEGORIES= graphics linux +MASTER_SITES= http://inivis.swmirror.com/ +DISTNAME= ac3d${PORTVERSION:S/.//}lx +EXTRACT_SUFX= .tgz + +MAINTAINER= tiamat@telegraph.spb.ru +COMMENT= Easy to use and powerful 3D graphics modeller (trial version) + +.ifdef(INSTALL_DYNLINKED_VERSION) +LIB_DEPENDS= ${LINUXBASE}/usr/X11R6/libGLU.so.1:${PORTSDIR}/graphics/linux_mesa3 +.endif + +USE_LINUX= yes +NO_BUILD= yes +ONLY_FOR_ARCHS= i386 +WRKSRC= ${WRKDIR}/ac3dlx + +.ifndef(INSTALL_DYNLINKED_VERSION) +PLIST_SUB= DYNAMIC_VERSION="@comment " \ + STATIC_VERSION="" +PROGRAM= ac3ds +.else +PLIST_SUB= DYNAMIC_VERSION="" \ + STATIC_VERSION="@comment " +PROGRAM= ac3d +.endif # Linux binary should not be stripped by INSTALL_PROGRAM # because as a side effect it brands the binary as FreeBSD. STRIP= +.ifndef(INSTALL_DYNLINKED_VERSION) +pre-everything:: + @${ECHO} "Define INSTALL_DYNLINKED_VERSION=yes to install version" + @${ECHO} "of program, dynamically linked against linux MesaGL" + @${ECHO} "It may be useful with hardware accellerated MesaGL" + @${ECHO} "" +.endif + do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ac3d ${PREFIX}/bin - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/tie3.ac ${EXAMPLESDIR} + @${MKDIR} ${PREFIX}/libexec/${PORTNAME} + ${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM} ${PREFIX}/libexec/${PORTNAME}/${PROGRAM} + +# Generate startup script + @${ECHO} "#!/bin/sh" > ${PREFIX}/bin/ac3d.sh + @${ECHO} "${SETENV} AC3D_HOME=${DATADIR} ${PREFIX}/libexec/${PORTNAME}/${PROGRAM}" >> ${PREFIX}/bin/ac3d.sh + @${CHMOD} 0755 ${PREFIX}/bin/ac3d.sh + +# Install small Tcl/Tk distribution +# Tcl/Tk, installed from ports tree will also make a job, +# but AC3D wants AC3D_HOME to point to directory with +# Tcl/Tk scripts library (which is ${LOCALBASE}/lib for version +# from ports). @${MKDIR} ${DATADIR} + @${MKDIR} ${DATADIR}/lib + @${MKDIR} ${DATADIR}/lib/tcl8.3 + ${INSTALL_DATA} ${WRKSRC}/lib/tcl8.3/tclIndex ${DATADIR}/lib/tcl8.3 + ${INSTALL_DATA} ${WRKSRC}/lib/tcl8.3/*.tcl ${DATADIR}/lib/tcl8.3 + ${INSTALL_DATA} ${WRKSRC}/lib/tcl8.3/license.terms ${DATADIR}/lib/tcl8.3 + @${MKDIR} ${DATADIR}/lib/tk8.3 + ${INSTALL_DATA} ${WRKSRC}/lib/tk8.3/tclIndex ${DATADIR}/lib/tk8.3 + ${INSTALL_DATA} ${WRKSRC}/lib/tk8.3/*.tcl ${DATADIR}/lib/tk8.3 + ${INSTALL_DATA} ${WRKSRC}/lib/tk8.3/license.terms ${DATADIR}/lib/tk8.3 + + @${MKDIR} ${DATADIR}/tcl + ${INSTALL_DATA} ${WRKSRC}/tcl/*.tcl ${DATADIR}/tcl + + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/models/* ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/font.ac ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/fontwire.ac ${DATADIR} + .ifndef (NOPORTDOCS) @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/LICENCE ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/IMPORTANT ${DOCSDIR} .endif post-install: @${ECHO} "*******************************************************************************" - @${ECHO} "Fonts were installed in ${DATADIR}" + @${ECHO} "Now you can start program by running ${PREFIX}/bin/ac3d.sh" + @${ECHO} "" + @${ECHO} "TIP: Fonts were installed in ${DATADIR}" @${ECHO} "To use them, you can change variable in ~/.ac3dprefs after first run" - @${ECHO} "There is also an example, installed in ${EXAMPLESDIR}" + @${ECHO} "There is also some examples, installed in ${EXAMPLESDIR}" @${ECHO} "*******************************************************************************" .include diff -ruN linux-ac3d/distinfo linux-ac3d-new/distinfo --- linux-ac3d/distinfo Mon Jan 13 11:08:34 2003 +++ linux-ac3d-new/distinfo Wed Jun 4 10:05:32 2003 @@ -1 +1 @@ -MD5 (ac3d3linuxtrial.tgz) = 512ebe982b97ea8b3335c0fa730ba6ac +MD5 (ac3d36lx.tgz) = 8c04028b436b89c975790e9462d58cb5 diff -ruN linux-ac3d/pkg-comment linux-ac3d-new/pkg-comment --- linux-ac3d/pkg-comment Mon Jan 13 11:08:34 2003 +++ /dev/null Thu Jan 1 01:00:00 1970 @@ -1 +0,0 @@ -Easy to use and powerful 3D graphics modeller (trial version) diff -ruN linux-ac3d/pkg-plist linux-ac3d-new/pkg-plist --- linux-ac3d/pkg-plist Mon Jan 13 11:08:34 2003 +++ linux-ac3d-new/pkg-plist Wed Jun 4 15:46:23 2003 @@ -1,9 +1,64 @@ -bin/ac3d +%%DYNAMIC_VERSION%%libexec/linux-ac3d/ac3d +%%STATIC_VERSION%%libexec/linux-ac3d/ac3ds +@dirrm libexec/linux-ac3d +bin/ac3d.sh share/linux-ac3d/font.ac share/linux-ac3d/fontwire.ac +share/linux-ac3d/lib/tcl8.3/tclIndex +share/linux-ac3d/lib/tcl8.3/auto.tcl +share/linux-ac3d/lib/tcl8.3/history.tcl +share/linux-ac3d/lib/tcl8.3/init.tcl +share/linux-ac3d/lib/tcl8.3/ldAout.tcl +share/linux-ac3d/lib/tcl8.3/package.tcl +share/linux-ac3d/lib/tcl8.3/parray.tcl +share/linux-ac3d/lib/tcl8.3/safe.tcl +share/linux-ac3d/lib/tcl8.3/word.tcl +share/linux-ac3d/lib/tcl8.3/license.terms +@dirrm share/linux-ac3d/lib/tcl8.3 +share/linux-ac3d/lib/tk8.3/tclIndex +share/linux-ac3d/lib/tk8.3/bgerror.tcl +share/linux-ac3d/lib/tk8.3/button.tcl +share/linux-ac3d/lib/tk8.3/choosedir.tcl +share/linux-ac3d/lib/tk8.3/clrpick.tcl +share/linux-ac3d/lib/tk8.3/comdlg.tcl +share/linux-ac3d/lib/tk8.3/console.tcl +share/linux-ac3d/lib/tk8.3/dialog.tcl +share/linux-ac3d/lib/tk8.3/entry.tcl +share/linux-ac3d/lib/tk8.3/focus.tcl +share/linux-ac3d/lib/tk8.3/listbox.tcl +share/linux-ac3d/lib/tk8.3/menu.tcl +share/linux-ac3d/lib/tk8.3/msgbox.tcl +share/linux-ac3d/lib/tk8.3/obsolete.tcl +share/linux-ac3d/lib/tk8.3/optMenu.tcl +share/linux-ac3d/lib/tk8.3/palette.tcl +share/linux-ac3d/lib/tk8.3/safetk.tcl +share/linux-ac3d/lib/tk8.3/scale.tcl +share/linux-ac3d/lib/tk8.3/scrlbar.tcl +share/linux-ac3d/lib/tk8.3/tearoff.tcl +share/linux-ac3d/lib/tk8.3/text.tcl +share/linux-ac3d/lib/tk8.3/tk.tcl +share/linux-ac3d/lib/tk8.3/tkfbox.tcl +share/linux-ac3d/lib/tk8.3/xmfbox.tcl +share/linux-ac3d/lib/tk8.3/license.terms +@dirrm share/linux-ac3d/lib/tk8.3 +@dirrm share/linux-ac3d/lib +share/linux-ac3d/tcl/ac3d.tcl +share/linux-ac3d/tcl/ac3dfsbox.tcl +share/linux-ac3d/tcl/ac3dhier.tcl +share/linux-ac3d/tcl/ac3dops.tcl +share/linux-ac3d/tcl/ac3dpalette.tcl +share/linux-ac3d/tcl/ac3dplugins.tcl +share/linux-ac3d/tcl/ac3dprefs.tcl +share/linux-ac3d/tcl/ac3dtips.tcl +share/linux-ac3d/tcl/ac3duvedit.tcl +share/linux-ac3d/tcl/ac3dview.tcl +@dirrm share/linux-ac3d/tcl @dirrm share/linux-ac3d share/examples/linux-ac3d/tie3.ac +share/examples/linux-ac3d/tree.ac +share/examples/linux-ac3d/tree_transparent.gif @dirrm share/examples/linux-ac3d -%%PORTDOCS%%share/doc/linux-ac3d/LICENSE +%%PORTDOCS%%share/doc/linux-ac3d/IMPORTANT +%%PORTDOCS%%share/doc/linux-ac3d/LICENCE %%PORTDOCS%%share/doc/linux-ac3d/README %%PORTDOCS%%@dirrm share/doc/linux-ac3d --OXfL5xGRrasGEqWY--