aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2008-09-08 14:42:27 +0800
committermaho <maho@FreeBSD.org>2008-09-08 14:42:27 +0800
commit3ec705d7b46418270a3d81d6411d64671258424e (patch)
treeae77a581f88a7f07256ed0ac491013dbf2a1db93
parent154f4caedac4bbe253613e6b0a5b8c21dc251792 (diff)
downloadfreebsd-ports-gnome-3ec705d7b46418270a3d81d6411d64671258424e.tar.gz
freebsd-ports-gnome-3ec705d7b46418270a3d81d6411d64671258424e.tar.zst
freebsd-ports-gnome-3ec705d7b46418270a3d81d6411d64671258424e.zip
Add port math/octave-forge-xraylib
This is xraylib. Bindings to the Xraylib functions 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-xraylib/Makefile23
-rw-r--r--math/octave-forge-xraylib/distinfo3
-rw-r--r--math/octave-forge-xraylib/pkg-descr10
-rw-r--r--math/octave-forge-xraylib/pkg-plist1
5 files changed, 38 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 1b05db4cf03d..11024b8c2792 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -237,6 +237,7 @@
SUBDIR += octave-forge-video
SUBDIR += octave-forge-vrml
SUBDIR += octave-forge-windows
+ SUBDIR += octave-forge-xraylib
SUBDIR += oleo
SUBDIR += orpie
SUBDIR += p5-AI-DecisionTree
diff --git a/math/octave-forge-xraylib/Makefile b/math/octave-forge-xraylib/Makefile
new file mode 100644
index 000000000000..209121b0746d
--- /dev/null
+++ b/math/octave-forge-xraylib/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: octave-forge
+# Date created: 5 May 2004
+# Whom: Stephen Montgomery-Smith <stephen@math.missouri.edu>
+#
+# $FreeBSD$
+#
+
+PORTNAME= octave-forge-xraylib
+PORTVERSION= 1.0.7
+CATEGORIES= math
+
+MAINTAINER= stephen@math.missouri.edu
+COMMENT= Octave-forge package ${OCTAVE_PKGNAME}
+
+post-patch:
+ @${REINPLACE_CMD} s+/bin/bash+/usr/local/bin/bash+g ${WRKSRC}/src/xraylib/src/*.sh
+ @${REINPLACE_CMD} s+/bin/bash+/usr/local/bin/bash+g ${WRKSRC}/src/xraylib/src/Makefile
+ @${REINPLACE_CMD} s+/bin/bash+/usr/local/bin/bash+g ${WRKSRC}/src/xraylib/bin/xraylib
+ @${REINPLACE_CMD} s+/bin/bash+/usr/local/bin/bash+g ${WRKSRC}/src/xraylib/*.sh
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/Mk/bsd.octave.mk"
+.include <bsd.port.post.mk>
diff --git a/math/octave-forge-xraylib/distinfo b/math/octave-forge-xraylib/distinfo
new file mode 100644
index 000000000000..e9367245bc8f
--- /dev/null
+++ b/math/octave-forge-xraylib/distinfo
@@ -0,0 +1,3 @@
+MD5 (octave-forge/xraylib-1.0.7.tar.gz) = 3ed71028314b145611d218df6508f23d
+SHA256 (octave-forge/xraylib-1.0.7.tar.gz) = c55ad4dc75a7c0d34980971237069901d709e2ab7230787beeef2b6905a5a3b8
+SIZE (octave-forge/xraylib-1.0.7.tar.gz) = 794763
diff --git a/math/octave-forge-xraylib/pkg-descr b/math/octave-forge-xraylib/pkg-descr
new file mode 100644
index 000000000000..c48ba2dc1a9d
--- /dev/null
+++ b/math/octave-forge-xraylib/pkg-descr
@@ -0,0 +1,10 @@
+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 is xraylib.
+
+ Bindings to the Xraylib functions
+
+WWW: http://octave.sourceforge.net/
diff --git a/math/octave-forge-xraylib/pkg-plist b/math/octave-forge-xraylib/pkg-plist
new file mode 100644
index 000000000000..a999ec86c07e
--- /dev/null
+++ b/math/octave-forge-xraylib/pkg-plist
@@ -0,0 +1 @@
+@comment This file intentionally left empty