[37049] trunk/dports/math/octave-forge/Portfile

jmr at macports.org jmr at macports.org
Sat May 24 08:22:31 PDT 2008


Revision: 37049
          http://trac.macosforge.org/projects/macports/changeset/37049
Author:   jmr at macports.org
Date:     2008-05-24 08:22:28 -0700 (Sat, 24 May 2008)

Log Message:
-----------
octave-forge: replace this port with a placeholder since it is now obsolete (#15419)

Modified Paths:
--------------
    trunk/dports/math/octave-forge/Portfile

Modified: trunk/dports/math/octave-forge/Portfile
===================================================================
--- trunk/dports/math/octave-forge/Portfile	2008-05-24 14:56:35 UTC (rev 37048)
+++ trunk/dports/math/octave-forge/Portfile	2008-05-24 15:22:28 UTC (rev 37049)
@@ -1,72 +1,26 @@
 # $Id$
 
-PortSystem 1.0
-name		octave-forge
-version		2006.07.09
-revision	1
-categories	math science
-maintainers     nomaintainer
-platforms	darwin
-description     Additional script and function files for Octave.
-long_description	\
-		The GNU Octave Repository is a central location for the   \
-		the collaborative development of packages for GNU Octave. \
-		The The octave-forge package contains the source for all  \
-		the the functions plus build and install scripts.
+PortSystem  1.0
 
-homepage	http://octave.sourceforge.net/
-master_sites	sourceforge:octave
+name        octave-forge
+version     2006.07.09
+revision    2
+categories  math science
+maintainers melix.net:alakazam andrea.damore
+platforms   darwin
+description (Obsolete) Additional functions for Octave
+long_description \
+            (This port is obsolete.) \
+            The GNU Octave Repository is a central location for the \
+            collaborative development of packages for GNU Octave. \
+            The octave-forge port has been discontinued, in favor \
+            of several independent ports. \
+            Please uninstall the octave-forge port, and install the \
+            individual octave-* ports that suit your needs.
 
-checksums	md5 94a844d1e41aca9580fde00e023e4e5b
+homepage     http://octave.sourceforge.net/
+master_sites sourceforge:octave
 
-depends_lib	port:ginac	\
-		port:gsl	\
-		port:jpeg	\
-		port:libpng	\
-		port:octave
-
-patch	{
-	# touch extra/mex/NOINSTALL because it's already in octave 2.9.9
-	close [open "${worksrcpath}/extra/mex/NOINSTALL" w]
-
-	# touch extra/Windows/NOINSTALL for hopefully obvious reasons :-)
-	close [open "${worksrcpath}/extra/Windows/NOINSTALL" w]
+pre-fetch {
+    return -code error "${name} has been discontinued in favor of several independent octave-* ports."
 }
-
-configure.args	--enable-shared	\
-		--enable-dl	\
-		--disable-static \
-		--infodir=${prefix}/share/info \
-		--mandir=${prefix}/share/man \
-                --with-mpath=${prefix}/share/octave-forge/m \
-                --with-opath=${prefix}/share/octave-forge/oct
-
-platform powerpc {
-	if {![variant_isset g95]} {
-		depends_lib-append	port:gcc40
-		configure.f77	"${prefix}/bin/gfortran-mp-4.0"
-	}
-}
-platform i386 {
-	if {![variant_isset g95]} {
-		depends_lib-append	port:gcc42
-		configure.compiler	macports-gcc-4.2
-
-		post-patch {
-			reinplace "s|-ObjC|-x objective-c|" \
-				"${worksrcpath}/extra/MacOSX/Makefile"
-		}
-	}
-}
-
-default_variants +test
-variant test	{ test.run	yes
-		  test.target	check
-		}
-
-variant g95 {
-	depends_lib-append port:g95
-	configure.f77	"${prefix}/bin/g95"
-	configure.cc	"/usr/bin/cc"
-	configure.cxx	"/usr/bin/c++"
-}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080524/fdbbbbd1/attachment.htm 


More information about the macports-changes mailing list