aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2008-09-08 08:34:17 +0800
committermaho <maho@FreeBSD.org>2008-09-08 08:34:17 +0800
commiteb6e78d69b37f43ca9e9b4dfe8ded0d5aff027fb (patch)
treecc6889b2916cc81f67ddb3a12d01cf1b143dfadc
parent46a6366d096e551c205c8deae2e2f83e2c0623b0 (diff)
downloadfreebsd-ports-gnome-eb6e78d69b37f43ca9e9b4dfe8ded0d5aff027fb.tar.gz
freebsd-ports-gnome-eb6e78d69b37f43ca9e9b4dfe8ded0d5aff027fb.tar.zst
freebsd-ports-gnome-eb6e78d69b37f43ca9e9b4dfe8ded0d5aff027fb.zip
Add math/octave-forge-base.
This baseport provides the basic directory structure. Deleting this package will completely erase all the structure, and remaining files, associated with the octave packaging system. This is useful if things go wrong with the octave packaging system. (The octave-forge package is the result of The GNU Octave Repositry project, which is intended to be a central location for custom scripts, functions and extensions for GNU Octave. contains the source for all the functions plus build and install scripts.) PR: 127030 Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
-rw-r--r--math/Makefile1
-rw-r--r--math/octave-forge-base/Makefile35
-rw-r--r--math/octave-forge-base/pkg-descr11
-rw-r--r--math/octave-forge-base/pkg-plist7
4 files changed, 54 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 9396e6d25c6c..d3b54b9a8180 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -180,6 +180,7 @@
SUBDIR += octave
SUBDIR += octave-devel
SUBDIR += octave-forge
+ SUBDIR += octave-forge-base
SUBDIR += oleo
SUBDIR += orpie
SUBDIR += p5-AI-DecisionTree
diff --git a/math/octave-forge-base/Makefile b/math/octave-forge-base/Makefile
new file mode 100644
index 000000000000..4262cf66db4a
--- /dev/null
+++ b/math/octave-forge-base/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: octave-forge
+# Date created: 5 May 2004
+# Whom: Stephen Montgomery-Smith <stephen@math.missouri.edu>
+#
+# $FreeBSD$
+#
+
+# The reason for this port is because the octave packaging system and the
+# FreeBSD packaging system are not very robust. When it works, it works
+# beautifully. But if something goes wrong, the octave packaging system
+# can be left in a rather unusable stat.
+# pkg_delete -r octave-forge-base-${PORTVERSION}
+# gives the user an opportunity to start with a completely new slate.
+
+PORTNAME= octave-forge-base
+PORTVERSION= 1.0
+CATEGORIES= math
+MASTER_SITES= #none
+DISTFILES= #none
+EXTRACT_ONLY= #none
+
+MAINTAINER= stephen@math.missouri.edu
+COMMENT= Octave-forge baseport for all packages
+
+RUN_DEPENDS+= octave:${PORTSDIR}/math/octave
+
+do-build:
+ @${DO_NADA}
+
+do-install:
+ ${MKDIR} ${LOCALBASE}/share/octave/tarballs
+ ${MKDIR} ${LOCALBASE}/share/octave/packages
+ ${MKDIR} ${LOCALBASE}/libexec/octave/packages
+
+.include <bsd.port.mk>
diff --git a/math/octave-forge-base/pkg-descr b/math/octave-forge-base/pkg-descr
new file mode 100644
index 000000000000..44089dbad7f0
--- /dev/null
+++ b/math/octave-forge-base/pkg-descr
@@ -0,0 +1,11 @@
+The octave-forge package is the result of The GNU Octave Repositry project,
+which is intended to be a central location for custom scripts, functions and
+extensions for GNU Octave. contains the source for all the functions plus
+build and install scripts.
+
+This baseport provides the basic directory structure. Deleting this package
+will completely erase all the structure, and remaining files, associated with
+the octave packaging system. This is useful if things go wrong with the
+octave packaging system.
+
+WWW: http://octave.sourceforge.net/
diff --git a/math/octave-forge-base/pkg-plist b/math/octave-forge-base/pkg-plist
new file mode 100644
index 000000000000..e450c5ec88ca
--- /dev/null
+++ b/math/octave-forge-base/pkg-plist
@@ -0,0 +1,7 @@
+@exec mkdir -p %%LOCALBASE%%/libexec/octave/packages
+@exec mkdir -p %%LOCALBASE%%/share/octave/packages
+@exec mkdir -p %%LOCALBASE%%/share/octave/tarballs
+@unexec rm -rf %%LOCALBASE%%/libexec/octave/packages
+@unexec rm -f %%LOCALBASE%%/share/octave/octave_packages
+@unexec rm -rf %%LOCALBASE%%/share/octave/packages
+@unexec rm -rf %%LOCALBASE%%/share/octave/tarballs