[67913] trunk/dports/science

ryandesign at macports.org ryandesign at macports.org
Fri May 21 06:27:01 PDT 2010


Revision: 67913
          http://trac.macports.org/changeset/67913
Author:   ryandesign at macports.org
Date:     2010-05-21 06:26:58 -0700 (Fri, 21 May 2010)
Log Message:
-----------
yorick-gl: new port, version 1.1.0.cvs20100504; see #24818

Added Paths:
-----------
    trunk/dports/science/yorick-gl/
    trunk/dports/science/yorick-gl/Portfile
    trunk/dports/science/yorick-gl/files/
    trunk/dports/science/yorick-gl/files/patch-Makefile
    trunk/dports/science/yorick-gl/files/patch-configure

Added: trunk/dports/science/yorick-gl/Portfile
===================================================================
--- trunk/dports/science/yorick-gl/Portfile	                        (rev 0)
+++ trunk/dports/science/yorick-gl/Portfile	2010-05-21 13:26:58 UTC (rev 67913)
@@ -0,0 +1,36 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                yorick-gl
+cvs.date            20100504
+version             1.1.0.cvs${cvs.date}
+categories          science
+platforms           darwin
+maintainers         users.sourceforge.net:paumard
+description         OpenGL 3D graphics support for the Yorick language
+long_description    This is a compiled add-on for yorick (an interpreted \
+                    computer language specialized for numerical and \
+                    scientific problems). Yorick-gl adds support for OpenGL \
+                    3D graphics.
+homepage            http://maumae.net/yorick/doc/plugins.php
+
+depends_lib         port:yorick \
+                    port:mesa
+
+fetch.type          cvs
+cvs.root            :pserver:anonymous at yorick.cvs.sourceforge.net:/cvsroot/yorick
+cvs.module          ${name}
+worksrcdir          ${name}
+
+patchfiles          patch-configure \
+                    patch-Makefile
+
+post-patch {
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/configure
+}
+
+universal_variant   no
+
+configure.args      --yorick=${prefix}/bin/yorick


Property changes on: trunk/dports/science/yorick-gl/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/science/yorick-gl/files/patch-Makefile
===================================================================
--- trunk/dports/science/yorick-gl/files/patch-Makefile	                        (rev 0)
+++ trunk/dports/science/yorick-gl/files/patch-Makefile	2010-05-21 13:26:58 UTC (rev 67913)
@@ -0,0 +1,24 @@
+--- Makefile.orig	2005-09-18 17:07:55.000000000 -0500
++++ Makefile	2010-05-21 07:47:18.000000000 -0500
+@@ -55,6 +55,8 @@
+ Y_HOME=$(Y_EXE_HOME)
+ Y_SITE=$(Y_EXE_SITE)
+ 
++DEST_Y_SITE=$(DESTDIR)$(Y_SITE)
++
+ # reduce chance of yorick-1.5 corrupting this Makefile
+ MAKE_TEMPLATE = protect-against-1.5
+ 
+@@ -89,10 +91,10 @@
+ oglw.o: playgl.h
+ 
+ install::
+-	$(YNSTALL) $(PKG_I_EXTRA) "$(Y_SITE)/i"
++	$(YNSTALL) $(PKG_I_EXTRA) "$(DEST_Y_SITE)/i"
+ 
+ uninstall::
+-	cd "$(Y_SITE)/i"; rm -f $(PKG_I_EXTRA)
++	cd "$(DEST_Y_SITE)/i"; rm -f $(PKG_I_EXTRA)
+ 
+ distclean::
+ 	./configure --distclean

Added: trunk/dports/science/yorick-gl/files/patch-configure
===================================================================
--- trunk/dports/science/yorick-gl/files/patch-configure	                        (rev 0)
+++ trunk/dports/science/yorick-gl/files/patch-configure	2010-05-21 13:26:58 UTC (rev 67913)
@@ -0,0 +1,12 @@
+--- configure.orig	2008-02-25 23:25:35.000000000 -0600
++++ configure	2010-05-21 07:52:39.000000000 -0500
+@@ -99,8 +99,7 @@
+ gmesapix=
+ if test $skip_gl != yes; then
+   gllist=" \
+-    /usr/X11R6/include \
+-    /usr/local/include"
++    @PREFIX@/include"
+ 
+   cat >cfg.c <<EOF
+ #include <GL/glx.h>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100521/46fb5c8d/attachment.html>


More information about the macports-changes mailing list