aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-12-14 23:23:22 +0800
committerdes <des@FreeBSD.org>2003-12-14 23:23:22 +0800
commit0ce78785cbaf30dfc0ad7c17f92f1e99c6ec741a (patch)
treedca3509a6459fb47c7f7da27c1d73f7f6bf4b149 /math
parentf766beaca8afe377a750f4df99cd65aefa9090ad (diff)
downloadfreebsd-ports-gnome-0ce78785cbaf30dfc0ad7c17f92f1e99c6ec741a.tar.gz
freebsd-ports-gnome-0ce78785cbaf30dfc0ad7c17f92f1e99c6ec741a.tar.zst
freebsd-ports-gnome-0ce78785cbaf30dfc0ad7c17f92f1e99c6ec741a.zip
The Linux version of the DISLIN scientific data plotting package.
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/dislin/Makefile48
-rw-r--r--math/dislin/distinfo.alpha1
-rw-r--r--math/dislin/distinfo.i3861
-rw-r--r--math/dislin/files/dislin-wrapper.sh19
-rw-r--r--math/dislin/files/pkg-message6
-rw-r--r--math/dislin/pkg-descr14
-rw-r--r--math/dislin/pkg-plist.alpha188
-rw-r--r--math/dislin/pkg-plist.i386200
-rw-r--r--math/linux-dislin/Makefile48
-rw-r--r--math/linux-dislin/distinfo.alpha1
-rw-r--r--math/linux-dislin/distinfo.i3861
-rw-r--r--math/linux-dislin/files/dislin-wrapper.sh19
-rw-r--r--math/linux-dislin/files/pkg-message6
-rw-r--r--math/linux-dislin/pkg-descr14
-rw-r--r--math/linux-dislin/pkg-plist.alpha188
-rw-r--r--math/linux-dislin/pkg-plist.i386200
17 files changed, 955 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index 45509efe5fcf..b6363815a895 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -78,6 +78,7 @@
SUBDIR += libranlib
SUBDIR += linalg
SUBDIR += linpack
+ SUBDIR += linux-dislin
SUBDIR += linux-relview
SUBDIR += lp_solve
SUBDIR += matrix
diff --git a/math/dislin/Makefile b/math/dislin/Makefile
new file mode 100644
index 000000000000..e5d50db78a75
--- /dev/null
+++ b/math/dislin/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: linux-dislin
+# Date created: 2003-12-14
+# Whom: des
+#
+# $FreeBSD$
+#
+
+PORTNAME= dislin
+PORTVERSION= 8.1
+CATEGORIES= math
+MASTER_SITES= ftp://ftp.gwdg.de/pub/grafik/dislin/linux/${MACHINE_ARCH}/
+PKGNAMEPREFIX= linux-
+EXTRACT_SUFX= .linux.tar.gz
+DIST_SUBDIR= ${MACHINE_ARCH}
+
+MAINTAINER= des@FreeBSD.org
+COMMENT= A scientific data plotting package
+
+USE_LINUX= yes
+ONLY_FOR_ARCHS= i386 alpha
+NO_BUILD= yes
+INSTALLS_SHLIB= yes
+LDCONFIG_DIRS= ${DISLIN_DIR}/lib
+
+MD5_FILE= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
+PLIST= ${PKGDIR}/pkg-plist.${MACHINE_ARCH}
+PKGMESSAGE= ${WRKDIR}/pkg-message
+DISLIN_DIR= ${PREFIX}/dislin
+PROGRAMS= clink disaps disdrv disdrv_nw disdrv_w disgif dishlp dishpj \
+ disimg disman dismov disprv distif dlink f2clink g77link
+
+do-configure:
+ ${SED} -e 's,%%DISLIN_DIR%%,${DISLIN_DIR},' \
+ <${FILESDIR}/dislin-wrapper.sh >${WRKDIR}/dislin.sh
+ ${SED} -e 's,%%DISLIN_DIR%%,${DISLIN_DIR},' \
+ <${FILESDIR}/pkg-message >${WRKDIR}/pkg-message
+
+do-install:
+ (cd ${WRKSRC} && ${ENV} DISLIN=${DISLIN_DIR} ${SH} INSTALL)
+ ${INSTALL_SCRIPT} ${WRKDIR}/dislin.sh ${DISLIN_DIR}/bin
+.for _program in ${PROGRAMS}
+ ${LN} -s ${DISLIN_DIR}/bin/dislin.sh ${PREFIX}/bin/${_program}
+.endfor
+
+post-install:
+ ${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/math/dislin/distinfo.alpha b/math/dislin/distinfo.alpha
new file mode 100644
index 000000000000..c8881e3f2a39
--- /dev/null
+++ b/math/dislin/distinfo.alpha
@@ -0,0 +1 @@
+MD5 (alpha/dislin-8.1.linux.tar.gz) = 6505c14345f748dfb22338c483f9e2c9
diff --git a/math/dislin/distinfo.i386 b/math/dislin/distinfo.i386
new file mode 100644
index 000000000000..33fd9afd490b
--- /dev/null
+++ b/math/dislin/distinfo.i386
@@ -0,0 +1 @@
+MD5 (i386/dislin-8.1.linux.tar.gz) = 0790351f54963303b3613920f703c6e3
diff --git a/math/dislin/files/dislin-wrapper.sh b/math/dislin/files/dislin-wrapper.sh
new file mode 100644
index 000000000000..3292b671be6a
--- /dev/null
+++ b/math/dislin/files/dislin-wrapper.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# Wrapper script for DISLIN binaries.
+#
+# $FreeBSD$
+#
+
+DISLIN=%%DISLIN_DIR%%
+export DISLIN
+
+self="${0##*/}"
+program="${DISLIN}/bin/${self}"
+
+if [ -x "${program}" ] ; then
+ exec "${program}" "$@"
+else
+ echo "${self} does not seem to exist." 1>&2
+ exit 1
+fi
diff --git a/math/dislin/files/pkg-message b/math/dislin/files/pkg-message
new file mode 100644
index 000000000000..5f47813461ea
--- /dev/null
+++ b/math/dislin/files/pkg-message
@@ -0,0 +1,6 @@
+
+ DISLIN is free for non-commercial use on Linux and FreeBSD
+ only. You are advised to familiarize yourself with the terms
+ of license listed in %%DISLIN_DIR%%/DISLIN and on the DISLIN
+ website, http://www.linmpi.mpg.de/dislin/.
+
diff --git a/math/dislin/pkg-descr b/math/dislin/pkg-descr
new file mode 100644
index 000000000000..52111e5ec086
--- /dev/null
+++ b/math/dislin/pkg-descr
@@ -0,0 +1,14 @@
+DISLIN is a high-level library of subroutines and functions that display
+data graphically. It is intended to be a powerful and easy to use software
+package for programmers and scientists that does not require knowledge of
+hardware features. The software is available for the programming languages
+C, Fortran 77, Fortran 90, Perl, Python and Java.
+
+DISLIN can display graphic information directly on graphic terminals or
+store them in metafiles. The supported display types are VGA, X Windows,
+Windows API and Tektronix. The supported file formats are GKSLIN, CGM,
+HPGL, PostScript, Prescribe, WMF, PNG, BMP and TIFF. DISLIN metafiles can
+either be printed on various devices using the DISLIN driver program DIS-
+DRV or imported into third party products such as TeX and MS Word.
+
+WWW: http://www.linmpi.mpg.de/dislin/
diff --git a/math/dislin/pkg-plist.alpha b/math/dislin/pkg-plist.alpha
new file mode 100644
index 000000000000..e0e5d7414636
--- /dev/null
+++ b/math/dislin/pkg-plist.alpha
@@ -0,0 +1,188 @@
+bin/clink
+bin/disaps
+bin/disdrv
+bin/disdrv_nw
+bin/disdrv_w
+bin/disgif
+bin/dishlp
+bin/dishpj
+bin/disimg
+bin/disman
+bin/dismov
+bin/disprv
+bin/distif
+bin/dlink
+bin/f2clink
+bin/g77link
+dislin/DISLIN
+dislin/README
+dislin/bin/clink
+dislin/bin/disaps
+dislin/bin/disdrv
+dislin/bin/disdrv_nw
+dislin/bin/disdrv_w
+dislin/bin/disgif
+dislin/bin/dishlp
+dislin/bin/dishpj
+dislin/bin/disimg
+dislin/bin/dislin.sh
+dislin/bin/disman
+dislin/bin/dismov
+dislin/bin/disprv
+dislin/bin/distif
+dislin/bin/dlink
+dislin/bin/f2clink
+dislin/bin/g77link
+dislin/device.dat
+dislin/dislin.h
+dislin/dislin.log
+dislin/examples/exa_c.c
+dislin/examples/exa_f77.f
+dislin/examples/map_c.c
+dislin/examples/map_f77.f
+dislin/hlp/gclhlp0.txt
+dislin/hlp/gclhlp1.txt
+dislin/hlp/gclhlp2.txt
+dislin/hlp/gclhlp3.txt
+dislin/hlp/gclhlp4.txt
+dislin/hlp/gclhlp5.txt
+dislin/hlp/gclhlp6.txt
+dislin/hlp/gclhlp7.txt
+dislin/hlp/hlp0.txt
+dislin/hlp/hlp10.txt
+dislin/hlp/hlp11.txt
+dislin/hlp/hlp12.txt
+dislin/hlp/hlp13.txt
+dislin/hlp/hlp14.txt
+dislin/hlp/hlp15.txt
+dislin/hlp/hlp16.txt
+dislin/hlp/hlp3.txt
+dislin/hlp/hlp4.txt
+dislin/hlp/hlp5.txt
+dislin/hlp/hlp6.txt
+dislin/hlp/hlp6_1.txt
+dislin/hlp/hlp6_2.txt
+dislin/hlp/hlp7.txt
+dislin/hlp/hlp8.txt
+dislin/hlp/hlp9.txt
+dislin/java/areaf.java
+dislin/java/color3d.java
+dislin/java/conshd.java
+dislin/java/contour.java
+dislin/java/curve.java
+dislin/java/dislin-8.1.java.tar.gz
+dislin/java/dislin.jar
+dislin/java/intpol.java
+dislin/java/legend.java
+dislin/java/logscl.java
+dislin/java/map.java
+dislin/java/piegrf.java
+dislin/java/polar.java
+dislin/java/styles.java
+dislin/java/surface.java
+dislin/java/surfcp.java
+dislin/java/symbols.java
+dislin/java/vectors.java
+dislin/java/world.java
+dislin/lib/dislin-8.1.a
+dislin/lib/dislin-8.1.so
+dislin/lib/dislnc-8.1.a
+dislin/lib/dislnc-8.1.so
+dislin/libdislin.a
+dislin/libdislin.so
+dislin/libdislin.so.7
+dislin/libdislin.so.8
+dislin/libdislnc.a
+dislin/libdislnc.so
+dislin/libdislnc.so.7
+dislin/libdislnc.so.8
+dislin/man/appa.txt
+dislin/man/appb.txt
+dislin/man/appc.txt
+dislin/man/contents.txt
+dislin/man/gclman0.txt
+dislin/man/gclman1.txt
+dislin/man/gclman10.txt
+dislin/man/gclman11.txt
+dislin/man/gclman2.txt
+dislin/man/gclman3.txt
+dislin/man/gclman4.txt
+dislin/man/gclman5.txt
+dislin/man/gclman6.txt
+dislin/man/gclman7.txt
+dislin/man/gclman8.txt
+dislin/man/gclman9.txt
+dislin/man/kap0.txt
+dislin/man/kap1.txt
+dislin/man/kap10.txt
+dislin/man/kap11.txt
+dislin/man/kap12.txt
+dislin/man/kap13.txt
+dislin/man/kap14.txt
+dislin/man/kap15.txt
+dislin/man/kap16.txt
+dislin/man/kap2.txt
+dislin/man/kap3.txt
+dislin/man/kap4.txt
+dislin/man/kap5.txt
+dislin/man/kap6.txt
+dislin/man/kap6_1.txt
+dislin/man/kap6_2.txt
+dislin/man/kap6_3.txt
+dislin/man/kap7.txt
+dislin/man/kap8.txt
+dislin/man/kap9.txt
+dislin/map/map1.dat
+dislin/map/map2.dat
+dislin/map/map3.dat
+dislin/perl/Dislin.pm
+dislin/perl/Dislin.so
+dislin/perl/areaf.pl
+dislin/perl/color3d.pl
+dislin/perl/conshd.pl
+dislin/perl/contour.pl
+dislin/perl/curve.pl
+dislin/perl/dislin-8.1.perl.tar.gz
+dislin/perl/intpol.pl
+dislin/perl/legend.pl
+dislin/perl/logscl.pl
+dislin/perl/map.pl
+dislin/perl/piegrf.pl
+dislin/perl/polar.pl
+dislin/perl/styles.pl
+dislin/perl/surface.pl
+dislin/perl/surfcp.pl
+dislin/perl/symbols.pl
+dislin/perl/vectors.pl
+dislin/perl/widgets.pl
+dislin/perl/world.pl
+dislin/python/areaf.py
+dislin/python/color3d.py
+dislin/python/conshd.py
+dislin/python/contour.py
+dislin/python/curve.py
+dislin/python/dislin-8.1.python.tar.gz
+dislin/python/dislinmodule.so
+dislin/python/intpol.py
+dislin/python/legend.py
+dislin/python/logscl.py
+dislin/python/map.py
+dislin/python/piegrf.py
+dislin/python/polar.py
+dislin/python/styles.py
+dislin/python/surface.py
+dislin/python/surfcp.py
+dislin/python/symbols.py
+dislin/python/vectors.py
+dislin/python/widgets.py
+dislin/python/world.py
+@dirrm dislin/python
+@dirrm dislin/perl
+@dirrm dislin/map
+@dirrm dislin/man
+@dirrm dislin/lib
+@dirrm dislin/java
+@dirrm dislin/hlp
+@dirrm dislin/examples
+@dirrm dislin/bin
+@dirrm dislin
diff --git a/math/dislin/pkg-plist.i386 b/math/dislin/pkg-plist.i386
new file mode 100644
index 000000000000..0145800b6cda
--- /dev/null
+++ b/math/dislin/pkg-plist.i386
@@ -0,0 +1,200 @@
+bin/clink
+bin/disaps
+bin/disdrv
+bin/disdrv_nw
+bin/disdrv_w
+bin/disgif
+bin/dishlp
+bin/dishpj
+bin/disimg
+bin/disman
+bin/dismov
+bin/disprv
+bin/distif
+bin/dlink
+bin/f2clink
+bin/g77link
+dislin/DISLIN
+dislin/README
+dislin/bin/clink
+dislin/bin/disaps
+dislin/bin/disdrv
+dislin/bin/disdrv_nw
+dislin/bin/disdrv_w
+dislin/bin/disgif
+dislin/bin/dishlp
+dislin/bin/dishpj
+dislin/bin/disimg
+dislin/bin/dislin.sh
+dislin/bin/disman
+dislin/bin/dismov
+dislin/bin/disprv
+dislin/bin/distif
+dislin/bin/dlink
+dislin/bin/f2clink
+dislin/bin/g77link
+dislin/device.dat
+dislin/dislin.h
+dislin/dislin.log
+dislin/examples/exa_c.c
+dislin/examples/exa_f77.f
+dislin/examples/map_c.c
+dislin/examples/map_f77.f
+dislin/hlp/gclhlp0.txt
+dislin/hlp/gclhlp1.txt
+dislin/hlp/gclhlp2.txt
+dislin/hlp/gclhlp3.txt
+dislin/hlp/gclhlp4.txt
+dislin/hlp/gclhlp5.txt
+dislin/hlp/gclhlp6.txt
+dislin/hlp/gclhlp7.txt
+dislin/hlp/hlp0.txt
+dislin/hlp/hlp10.txt
+dislin/hlp/hlp11.txt
+dislin/hlp/hlp12.txt
+dislin/hlp/hlp13.txt
+dislin/hlp/hlp14.txt
+dislin/hlp/hlp15.txt
+dislin/hlp/hlp16.txt
+dislin/hlp/hlp3.txt
+dislin/hlp/hlp4.txt
+dislin/hlp/hlp5.txt
+dislin/hlp/hlp6.txt
+dislin/hlp/hlp6_1.txt
+dislin/hlp/hlp6_2.txt
+dislin/hlp/hlp7.txt
+dislin/hlp/hlp8.txt
+dislin/hlp/hlp9.txt
+dislin/java/areaf.java
+dislin/java/color3d.java
+dislin/java/conshd.java
+dislin/java/contour.java
+dislin/java/curve.java
+dislin/java/disjava-8.1.so
+dislin/java/dislin-8.1.java.tar.gz
+dislin/java/dislin.jar
+dislin/java/intpol.java
+dislin/java/legend.java
+dislin/java/logscl.java
+dislin/java/map.java
+dislin/java/piegrf.java
+dislin/java/polar.java
+dislin/java/styles.java
+dislin/java/surface.java
+dislin/java/surfcp.java
+dislin/java/symbols.java
+dislin/java/vectors.java
+dislin/java/world.java
+dislin/lib/dislin-8.1.a
+dislin/lib/dislin-8.1.so
+dislin/lib/dislin_d-8.1.so
+dislin/lib/dislnc-8.1.a
+dislin/lib/dislnc-8.1.so
+dislin/lib/dislnc_d-8.1.so
+dislin/libdisjava.so
+dislin/libdisjava.so.7
+dislin/libdisjava.so.8
+dislin/libdislin.a
+dislin/libdislin.so
+dislin/libdislin.so.7
+dislin/libdislin.so.8
+dislin/libdislin_d.so
+dislin/libdislin_d.so.8
+dislin/libdislnc.a
+dislin/libdislnc.so
+dislin/libdislnc.so.7
+dislin/libdislnc.so.8
+dislin/libdislnc_d.so
+dislin/libdislnc_d.so.8
+dislin/man/appa.txt
+dislin/man/appb.txt
+dislin/man/appc.txt
+dislin/man/contents.txt
+dislin/man/gclman0.txt
+dislin/man/gclman1.txt
+dislin/man/gclman10.txt
+dislin/man/gclman11.txt
+dislin/man/gclman2.txt
+dislin/man/gclman3.txt
+dislin/man/gclman4.txt
+dislin/man/gclman5.txt
+dislin/man/gclman6.txt
+dislin/man/gclman7.txt
+dislin/man/gclman8.txt
+dislin/man/gclman9.txt
+dislin/man/kap0.txt
+dislin/man/kap1.txt
+dislin/man/kap10.txt
+dislin/man/kap11.txt
+dislin/man/kap12.txt
+dislin/man/kap13.txt
+dislin/man/kap14.txt
+dislin/man/kap15.txt
+dislin/man/kap16.txt
+dislin/man/kap2.txt
+dislin/man/kap3.txt
+dislin/man/kap4.txt
+dislin/man/kap5.txt
+dislin/man/kap6.txt
+dislin/man/kap6_1.txt
+dislin/man/kap6_2.txt
+dislin/man/kap6_3.txt
+dislin/man/kap7.txt
+dislin/man/kap8.txt
+dislin/man/kap9.txt
+dislin/map/map1.dat
+dislin/map/map2.dat
+dislin/map/map3.dat
+dislin/perl/Dislin.pm
+dislin/perl/Dislin.so
+dislin/perl/areaf.pl
+dislin/perl/color3d.pl
+dislin/perl/conshd.pl
+dislin/perl/contour.pl
+dislin/perl/curve.pl
+dislin/perl/dislin-8.1.perl.tar.gz
+dislin/perl/intpol.pl
+dislin/perl/legend.pl
+dislin/perl/logscl.pl
+dislin/perl/map.pl
+dislin/perl/piegrf.pl
+dislin/perl/polar.pl
+dislin/perl/styles.pl
+dislin/perl/surface.pl
+dislin/perl/surfcp.pl
+dislin/perl/symbols.pl
+dislin/perl/vectors.pl
+dislin/perl/widgets.pl
+dislin/perl/world.pl
+dislin/python/areaf.py
+dislin/python/color3d.py
+dislin/python/conshd.py
+dislin/python/contour.py
+dislin/python/curve.py
+dislin/python/dislin-8.1.python.tar.gz
+dislin/python/dislinmodule.so
+dislin/python/intpol.py
+dislin/python/legend.py
+dislin/python/logscl.py
+dislin/python/map.py
+dislin/python/piegrf.py
+dislin/python/polar.py
+dislin/python/styles.py
+dislin/python/surface.py
+dislin/python/surfcp.py
+dislin/python/symbols.py
+dislin/python/vectors.py
+dislin/python/widgets.py
+dislin/python/world.py
+dislin/real64/dislin.h
+@dirrm dislin/real64
+@dirrm dislin/python
+@dirrm dislin/perl
+@dirrm dislin/map
+@dirrm dislin/man
+@dirrm dislin/lib
+@dirrm dislin/java
+@dirrm dislin/hlp
+@dirrm dislin/examples
+@dirrm dislin/bin
+@dirrm dislin
diff --git a/math/linux-dislin/Makefile b/math/linux-dislin/Makefile
new file mode 100644
index 000000000000..e5d50db78a75
--- /dev/null
+++ b/math/linux-dislin/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: linux-dislin
+# Date created: 2003-12-14
+# Whom: des
+#
+# $FreeBSD$
+#
+
+PORTNAME= dislin
+PORTVERSION= 8.1
+CATEGORIES= math
+MASTER_SITES= ftp://ftp.gwdg.de/pub/grafik/dislin/linux/${MACHINE_ARCH}/
+PKGNAMEPREFIX= linux-
+EXTRACT_SUFX= .linux.tar.gz
+DIST_SUBDIR= ${MACHINE_ARCH}
+
+MAINTAINER= des@FreeBSD.org
+COMMENT= A scientific data plotting package
+
+USE_LINUX= yes
+ONLY_FOR_ARCHS= i386 alpha
+NO_BUILD= yes
+INSTALLS_SHLIB= yes
+LDCONFIG_DIRS= ${DISLIN_DIR}/lib
+
+MD5_FILE= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
+PLIST= ${PKGDIR}/pkg-plist.${MACHINE_ARCH}
+PKGMESSAGE= ${WRKDIR}/pkg-message
+DISLIN_DIR= ${PREFIX}/dislin
+PROGRAMS= clink disaps disdrv disdrv_nw disdrv_w disgif dishlp dishpj \
+ disimg disman dismov disprv distif dlink f2clink g77link
+
+do-configure:
+ ${SED} -e 's,%%DISLIN_DIR%%,${DISLIN_DIR},' \
+ <${FILESDIR}/dislin-wrapper.sh >${WRKDIR}/dislin.sh
+ ${SED} -e 's,%%DISLIN_DIR%%,${DISLIN_DIR},' \
+ <${FILESDIR}/pkg-message >${WRKDIR}/pkg-message
+
+do-install:
+ (cd ${WRKSRC} && ${ENV} DISLIN=${DISLIN_DIR} ${SH} INSTALL)
+ ${INSTALL_SCRIPT} ${WRKDIR}/dislin.sh ${DISLIN_DIR}/bin
+.for _program in ${PROGRAMS}
+ ${LN} -s ${DISLIN_DIR}/bin/dislin.sh ${PREFIX}/bin/${_program}
+.endfor
+
+post-install:
+ ${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/math/linux-dislin/distinfo.alpha b/math/linux-dislin/distinfo.alpha
new file mode 100644
index 000000000000..c8881e3f2a39
--- /dev/null
+++ b/math/linux-dislin/distinfo.alpha
@@ -0,0 +1 @@
+MD5 (alpha/dislin-8.1.linux.tar.gz) = 6505c14345f748dfb22338c483f9e2c9
diff --git a/math/linux-dislin/distinfo.i386 b/math/linux-dislin/distinfo.i386
new file mode 100644
index 000000000000..33fd9afd490b
--- /dev/null
+++ b/math/linux-dislin/distinfo.i386
@@ -0,0 +1 @@
+MD5 (i386/dislin-8.1.linux.tar.gz) = 0790351f54963303b3613920f703c6e3
diff --git a/math/linux-dislin/files/dislin-wrapper.sh b/math/linux-dislin/files/dislin-wrapper.sh
new file mode 100644
index 000000000000..3292b671be6a
--- /dev/null
+++ b/math/linux-dislin/files/dislin-wrapper.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# Wrapper script for DISLIN binaries.
+#
+# $FreeBSD$
+#
+
+DISLIN=%%DISLIN_DIR%%
+export DISLIN
+
+self="${0##*/}"
+program="${DISLIN}/bin/${self}"
+
+if [ -x "${program}" ] ; then
+ exec "${program}" "$@"
+else
+ echo "${self} does not seem to exist." 1>&2
+ exit 1
+fi
diff --git a/math/linux-dislin/files/pkg-message b/math/linux-dislin/files/pkg-message
new file mode 100644
index 000000000000..5f47813461ea
--- /dev/null
+++ b/math/linux-dislin/files/pkg-message
@@ -0,0 +1,6 @@
+
+ DISLIN is free for non-commercial use on Linux and FreeBSD
+ only. You are advised to familiarize yourself with the terms
+ of license listed in %%DISLIN_DIR%%/DISLIN and on the DISLIN
+ website, http://www.linmpi.mpg.de/dislin/.
+
diff --git a/math/linux-dislin/pkg-descr b/math/linux-dislin/pkg-descr
new file mode 100644
index 000000000000..52111e5ec086
--- /dev/null
+++ b/math/linux-dislin/pkg-descr
@@ -0,0 +1,14 @@
+DISLIN is a high-level library of subroutines and functions that display
+data graphically. It is intended to be a powerful and easy to use software
+package for programmers and scientists that does not require knowledge of
+hardware features. The software is available for the programming languages
+C, Fortran 77, Fortran 90, Perl, Python and Java.
+
+DISLIN can display graphic information directly on graphic terminals or
+store them in metafiles. The supported display types are VGA, X Windows,
+Windows API and Tektronix. The supported file formats are GKSLIN, CGM,
+HPGL, PostScript, Prescribe, WMF, PNG, BMP and TIFF. DISLIN metafiles can
+either be printed on various devices using the DISLIN driver program DIS-
+DRV or imported into third party products such as TeX and MS Word.
+
+WWW: http://www.linmpi.mpg.de/dislin/
diff --git a/math/linux-dislin/pkg-plist.alpha b/math/linux-dislin/pkg-plist.alpha
new file mode 100644
index 000000000000..e0e5d7414636
--- /dev/null
+++ b/math/linux-dislin/pkg-plist.alpha
@@ -0,0 +1,188 @@
+bin/clink
+bin/disaps
+bin/disdrv
+bin/disdrv_nw
+bin/disdrv_w
+bin/disgif
+bin/dishlp
+bin/dishpj
+bin/disimg
+bin/disman
+bin/dismov
+bin/disprv
+bin/distif
+bin/dlink
+bin/f2clink
+bin/g77link
+dislin/DISLIN
+dislin/README
+dislin/bin/clink
+dislin/bin/disaps
+dislin/bin/disdrv
+dislin/bin/disdrv_nw
+dislin/bin/disdrv_w
+dislin/bin/disgif
+dislin/bin/dishlp
+dislin/bin/dishpj
+dislin/bin/disimg
+dislin/bin/dislin.sh
+dislin/bin/disman
+dislin/bin/dismov
+dislin/bin/disprv
+dislin/bin/distif
+dislin/bin/dlink
+dislin/bin/f2clink
+dislin/bin/g77link
+dislin/device.dat
+dislin/dislin.h
+dislin/dislin.log
+dislin/examples/exa_c.c
+dislin/examples/exa_f77.f
+dislin/examples/map_c.c
+dislin/examples/map_f77.f
+dislin/hlp/gclhlp0.txt
+dislin/hlp/gclhlp1.txt
+dislin/hlp/gclhlp2.txt
+dislin/hlp/gclhlp3.txt
+dislin/hlp/gclhlp4.txt
+dislin/hlp/gclhlp5.txt
+dislin/hlp/gclhlp6.txt
+dislin/hlp/gclhlp7.txt
+dislin/hlp/hlp0.txt
+dislin/hlp/hlp10.txt
+dislin/hlp/hlp11.txt
+dislin/hlp/hlp12.txt
+dislin/hlp/hlp13.txt
+dislin/hlp/hlp14.txt
+dislin/hlp/hlp15.txt
+dislin/hlp/hlp16.txt
+dislin/hlp/hlp3.txt
+dislin/hlp/hlp4.txt
+dislin/hlp/hlp5.txt
+dislin/hlp/hlp6.txt
+dislin/hlp/hlp6_1.txt
+dislin/hlp/hlp6_2.txt
+dislin/hlp/hlp7.txt
+dislin/hlp/hlp8.txt
+dislin/hlp/hlp9.txt
+dislin/java/areaf.java
+dislin/java/color3d.java
+dislin/java/conshd.java
+dislin/java/contour.java
+dislin/java/curve.java
+dislin/java/dislin-8.1.java.tar.gz
+dislin/java/dislin.jar
+dislin/java/intpol.java
+dislin/java/legend.java
+dislin/java/logscl.java
+dislin/java/map.java
+dislin/java/piegrf.java
+dislin/java/polar.java
+dislin/java/styles.java
+dislin/java/surface.java
+dislin/java/surfcp.java
+dislin/java/symbols.java
+dislin/java/vectors.java
+dislin/java/world.java
+dislin/lib/dislin-8.1.a
+dislin/lib/dislin-8.1.so
+dislin/lib/dislnc-8.1.a
+dislin/lib/dislnc-8.1.so
+dislin/libdislin.a
+dislin/libdislin.so
+dislin/libdislin.so.7
+dislin/libdislin.so.8
+dislin/libdislnc.a
+dislin/libdislnc.so
+dislin/libdislnc.so.7
+dislin/libdislnc.so.8
+dislin/man/appa.txt
+dislin/man/appb.txt
+dislin/man/appc.txt
+dislin/man/contents.txt
+dislin/man/gclman0.txt
+dislin/man/gclman1.txt
+dislin/man/gclman10.txt
+dislin/man/gclman11.txt
+dislin/man/gclman2.txt
+dislin/man/gclman3.txt
+dislin/man/gclman4.txt
+dislin/man/gclman5.txt
+dislin/man/gclman6.txt
+dislin/man/gclman7.txt
+dislin/man/gclman8.txt
+dislin/man/gclman9.txt
+dislin/man/kap0.txt
+dislin/man/kap1.txt
+dislin/man/kap10.txt
+dislin/man/kap11.txt
+dislin/man/kap12.txt
+dislin/man/kap13.txt
+dislin/man/kap14.txt
+dislin/man/kap15.txt
+dislin/man/kap16.txt
+dislin/man/kap2.txt
+dislin/man/kap3.txt
+dislin/man/kap4.txt
+dislin/man/kap5.txt
+dislin/man/kap6.txt
+dislin/man/kap6_1.txt
+dislin/man/kap6_2.txt
+dislin/man/kap6_3.txt
+dislin/man/kap7.txt
+dislin/man/kap8.txt
+dislin/man/kap9.txt
+dislin/map/map1.dat
+dislin/map/map2.dat
+dislin/map/map3.dat
+dislin/perl/Dislin.pm
+dislin/perl/Dislin.so
+dislin/perl/areaf.pl
+dislin/perl/color3d.pl
+dislin/perl/conshd.pl
+dislin/perl/contour.pl
+dislin/perl/curve.pl
+dislin/perl/dislin-8.1.perl.tar.gz
+dislin/perl/intpol.pl
+dislin/perl/legend.pl
+dislin/perl/logscl.pl
+dislin/perl/map.pl
+dislin/perl/piegrf.pl
+dislin/perl/polar.pl
+dislin/perl/styles.pl
+dislin/perl/surface.pl
+dislin/perl/surfcp.pl
+dislin/perl/symbols.pl
+dislin/perl/vectors.pl
+dislin/perl/widgets.pl
+dislin/perl/world.pl
+dislin/python/areaf.py
+dislin/python/color3d.py
+dislin/python/conshd.py
+dislin/python/contour.py
+dislin/python/curve.py
+dislin/python/dislin-8.1.python.tar.gz
+dislin/python/dislinmodule.so
+dislin/python/intpol.py
+dislin/python/legend.py
+dislin/python/logscl.py
+dislin/python/map.py
+dislin/python/piegrf.py
+dislin/python/polar.py
+dislin/python/styles.py
+dislin/python/surface.py
+dislin/python/surfcp.py
+dislin/python/symbols.py
+dislin/python/vectors.py
+dislin/python/widgets.py
+dislin/python/world.py
+@dirrm dislin/python
+@dirrm dislin/perl
+@dirrm dislin/map
+@dirrm dislin/man
+@dirrm dislin/lib
+@dirrm dislin/java
+@dirrm dislin/hlp
+@dirrm dislin/examples
+@dirrm dislin/bin
+@dirrm dislin
diff --git a/math/linux-dislin/pkg-plist.i386 b/math/linux-dislin/pkg-plist.i386
new file mode 100644
index 000000000000..0145800b6cda
--- /dev/null
+++ b/math/linux-dislin/pkg-plist.i386
@@ -0,0 +1,200 @@
+bin/clink
+bin/disaps
+bin/disdrv
+bin/disdrv_nw
+bin/disdrv_w
+bin/disgif
+bin/dishlp
+bin/dishpj
+bin/disimg
+bin/disman
+bin/dismov
+bin/disprv
+bin/distif
+bin/dlink
+bin/f2clink
+bin/g77link
+dislin/DISLIN
+dislin/README
+dislin/bin/clink
+dislin/bin/disaps
+dislin/bin/disdrv
+dislin/bin/disdrv_nw
+dislin/bin/disdrv_w
+dislin/bin/disgif
+dislin/bin/dishlp
+dislin/bin/dishpj
+dislin/bin/disimg
+dislin/bin/dislin.sh
+dislin/bin/disman
+dislin/bin/dismov
+dislin/bin/disprv
+dislin/bin/distif
+dislin/bin/dlink
+dislin/bin/f2clink
+dislin/bin/g77link
+dislin/device.dat
+dislin/dislin.h
+dislin/dislin.log
+dislin/examples/exa_c.c
+dislin/examples/exa_f77.f
+dislin/examples/map_c.c
+dislin/examples/map_f77.f
+dislin/hlp/gclhlp0.txt
+dislin/hlp/gclhlp1.txt
+dislin/hlp/gclhlp2.txt
+dislin/hlp/gclhlp3.txt
+dislin/hlp/gclhlp4.txt
+dislin/hlp/gclhlp5.txt
+dislin/hlp/gclhlp6.txt
+dislin/hlp/gclhlp7.txt
+dislin/hlp/hlp0.txt
+dislin/hlp/hlp10.txt
+dislin/hlp/hlp11.txt
+dislin/hlp/hlp12.txt
+dislin/hlp/hlp13.txt
+dislin/hlp/hlp14.txt
+dislin/hlp/hlp15.txt
+dislin/hlp/hlp16.txt
+dislin/hlp/hlp3.txt
+dislin/hlp/hlp4.txt
+dislin/hlp/hlp5.txt
+dislin/hlp/hlp6.txt
+dislin/hlp/hlp6_1.txt
+dislin/hlp/hlp6_2.txt
+dislin/hlp/hlp7.txt
+dislin/hlp/hlp8.txt
+dislin/hlp/hlp9.txt
+dislin/java/areaf.java
+dislin/java/color3d.java
+dislin/java/conshd.java
+dislin/java/contour.java
+dislin/java/curve.java
+dislin/java/disjava-8.1.so
+dislin/java/dislin-8.1.java.tar.gz
+dislin/java/dislin.jar
+dislin/java/intpol.java
+dislin/java/legend.java
+dislin/java/logscl.java
+dislin/java/map.java
+dislin/java/piegrf.java
+dislin/java/polar.java
+dislin/java/styles.java
+dislin/java/surface.java
+dislin/java/surfcp.java
+dislin/java/symbols.java
+dislin/java/vectors.java
+dislin/java/world.java
+dislin/lib/dislin-8.1.a
+dislin/lib/dislin-8.1.so
+dislin/lib/dislin_d-8.1.so
+dislin/lib/dislnc-8.1.a
+dislin/lib/dislnc-8.1.so
+dislin/lib/dislnc_d-8.1.so
+dislin/libdisjava.so
+dislin/libdisjava.so.7
+dislin/libdisjava.so.8
+dislin/libdislin.a
+dislin/libdislin.so
+dislin/libdislin.so.7
+dislin/libdislin.so.8
+dislin/libdislin_d.so
+dislin/libdislin_d.so.8
+dislin/libdislnc.a
+dislin/libdislnc.so
+dislin/libdislnc.so.7
+dislin/libdislnc.so.8
+dislin/libdislnc_d.so
+dislin/libdislnc_d.so.8
+dislin/man/appa.txt
+dislin/man/appb.txt
+dislin/man/appc.txt
+dislin/man/contents.txt
+dislin/man/gclman0.txt
+dislin/man/gclman1.txt
+dislin/man/gclman10.txt
+dislin/man/gclman11.txt
+dislin/man/gclman2.txt
+dislin/man/gclman3.txt
+dislin/man/gclman4.txt
+dislin/man/gclman5.txt
+dislin/man/gclman6.txt
+dislin/man/gclman7.txt
+dislin/man/gclman8.txt
+dislin/man/gclman9.txt
+dislin/man/kap0.txt
+dislin/man/kap1.txt
+dislin/man/kap10.txt
+dislin/man/kap11.txt
+dislin/man/kap12.txt
+dislin/man/kap13.txt
+dislin/man/kap14.txt
+dislin/man/kap15.txt
+dislin/man/kap16.txt
+dislin/man/kap2.txt
+dislin/man/kap3.txt
+dislin/man/kap4.txt
+dislin/man/kap5.txt
+dislin/man/kap6.txt
+dislin/man/kap6_1.txt
+dislin/man/kap6_2.txt
+dislin/man/kap6_3.txt
+dislin/man/kap7.txt
+dislin/man/kap8.txt
+dislin/man/kap9.txt
+dislin/map/map1.dat
+dislin/map/map2.dat
+dislin/map/map3.dat
+dislin/perl/Dislin.pm
+dislin/perl/Dislin.so
+dislin/perl/areaf.pl
+dislin/perl/color3d.pl
+dislin/perl/conshd.pl
+dislin/perl/contour.pl
+dislin/perl/curve.pl
+dislin/perl/dislin-8.1.perl.tar.gz
+dislin/perl/intpol.pl
+dislin/perl/legend.pl
+dislin/perl/logscl.pl
+dislin/perl/map.pl
+dislin/perl/piegrf.pl
+dislin/perl/polar.pl
+dislin/perl/styles.pl
+dislin/perl/surface.pl
+dislin/perl/surfcp.pl
+dislin/perl/symbols.pl
+dislin/perl/vectors.pl
+dislin/perl/widgets.pl
+dislin/perl/world.pl
+dislin/python/areaf.py
+dislin/python/color3d.py
+dislin/python/conshd.py
+dislin/python/contour.py
+dislin/python/curve.py
+dislin/python/dislin-8.1.python.tar.gz
+dislin/python/dislinmodule.so
+dislin/python/intpol.py
+dislin/python/legend.py
+dislin/python/logscl.py
+dislin/python/map.py
+dislin/python/piegrf.py
+dislin/python/polar.py
+dislin/python/styles.py
+dislin/python/surface.py
+dislin/python/surfcp.py
+dislin/python/symbols.py
+dislin/python/vectors.py
+dislin/python/widgets.py
+dislin/python/world.py
+dislin/real64/dislin.h
+@dirrm dislin/real64
+@dirrm dislin/python
+@dirrm dislin/perl
+@dirrm dislin/map
+@dirrm dislin/man
+@dirrm dislin/lib
+@dirrm dislin/java
+@dirrm dislin/hlp
+@dirrm dislin/examples
+@dirrm dislin/bin
+@dirrm dislin