aboutsummaryrefslogtreecommitdiff
path: root/math/octave-forge-base
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2008-09-08 00:34:17 +0000
committerMaho Nakata <maho@FreeBSD.org>2008-09-08 00:34:17 +0000
commit75cd39c216f6680a7c060d49977b1dffd879eb83 (patch)
tree65bc2bb5564f1b97ec2c5048b5535eced17d67c8 /math/octave-forge-base
parent0f9186f111696aecf5db6bfa0dbb9e360e693b07 (diff)
downloadports-75cd39c216f6680a7c060d49977b1dffd879eb83.tar.gz
ports-75cd39c216f6680a7c060d49977b1dffd879eb83.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>
Notes
Notes: svn path=/head/; revision=220196
Diffstat (limited to 'math/octave-forge-base')
-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
3 files changed, 53 insertions, 0 deletions
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