summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-09-05 01:53:50 +0000
committerSteve Price <steve@FreeBSD.org>2000-09-05 01:53:50 +0000
commit7317302f370e179051941ce28e1373d8bc6c95b1 (patch)
tree213bf82da0bde64a41b69760c96eb227f8a25fcf /math
parentUpdate to version 4.2a. (diff)
- Remove obsolete site form MASTER_SITES
- Change location of data files from libdata/ to share/ PR: 20755 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'math')
-rw-r--r--math/plplot/Makefile7
-rw-r--r--math/plplot/files/patch-aa2
-rw-r--r--math/plplot/files/patch-ae2
-rw-r--r--math/plplot/pkg-plist16
4 files changed, 13 insertions, 14 deletions
diff --git a/math/plplot/Makefile b/math/plplot/Makefile
index b309df8313d1..6df0fe14c629 100644
--- a/math/plplot/Makefile
+++ b/math/plplot/Makefile
@@ -10,16 +10,15 @@ PORTVERSION= 4.99j
CATEGORIES= math
MASTER_SITES= ftp://ftp.uniovi.es/pub6/graphics/plotting/ \
ftp://dino.ph.utexas.edu/plplot/distrib/alpha/ \
- ftp://ftp.u-aizu.ac.jp/pub/misc/tools/plot/plplot/distrib/alpha/ \
ftp://ftp.che.utexas.edu/pub/graphics/
-DISTNAME= plplot4p99j
+DISTNAME= ${PORTNAME}4p99j
MAINTAINER= ports@FreeBSD.org
USE_XLIB= yes
-INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-gcc=yes --with-double=yes
+CONFIGURE_ARGS= --with-gcc=yes --with-double=yes
+INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
diff --git a/math/plplot/files/patch-aa b/math/plplot/files/patch-aa
index ff13bb319a2f..43b771cb94c0 100644
--- a/math/plplot/files/patch-aa
+++ b/math/plplot/files/patch-aa
@@ -72,7 +72,7 @@
+ DEMOS_DIR=$prefix/share/examples/plplot
+fi
+if test -z "$DATA_DIR"; then
-+ DATA_DIR=$prefix/libdata/plplot
++ DATA_DIR=$prefix/share/plplot
fi
cat >> confdefs.h <<EOF
diff --git a/math/plplot/files/patch-ae b/math/plplot/files/patch-ae
index b70691413dd3..530df031e806 100644
--- a/math/plplot/files/patch-ae
+++ b/math/plplot/files/patch-ae
@@ -5,7 +5,7 @@
#ifndef PLLIBDEV
-#define PLLIBDEV "/usr/local/plplot/lib"
-+#define PLLIBDEV "%%PREFIX%%/libdata/plplot"
++#define PLLIBDEV "%%PREFIX%%/share/plplot"
#endif
#endif
diff --git a/math/plplot/pkg-plist b/math/plplot/pkg-plist
index aa4adfc1dd81..1218977250a6 100644
--- a/math/plplot/pkg-plist
+++ b/math/plplot/pkg-plist
@@ -3,21 +3,15 @@ bin/plpr
bin/plrender
bin/pltek
include/plplot/pdf.h
-include/plplot/plstrm.h
include/plplot/plevent.h
include/plplot/plplot.h
include/plplot/plplotP.h
include/plplot/plstream.h
+include/plplot/plstrm.h
include/plplot/plxwd.h
lib/libplplotdX.a
lib/libplplotdX.so
lib/libplplotdX.so.4
-libdata/plplot/cglobe.map
-libdata/plplot/globe.map
-libdata/plplot/plstnd5.fnt
-libdata/plplot/plxtnd5.fnt
-libdata/plplot/usa.map
-libdata/plplot/usaglobe.map
share/doc/plplot/CHANGES
share/doc/plplot/FAQ
share/doc/plplot/NEWS
@@ -128,6 +122,13 @@ share/examples/plplot/tk/x16.tcl
share/examples/plplot/tk/xtk01.c
share/examples/plplot/tk/xtk02.c
share/examples/plplot/tk/xtk04.c
+share/plplot/cglobe.map
+share/plplot/globe.map
+share/plplot/plstnd5.fnt
+share/plplot/plxtnd5.fnt
+share/plplot/usa.map
+share/plplot/usaglobe.map
+@dirrm share/plplot
@dirrm share/examples/plplot/tk
@dirrm share/examples/plplot/tcl
@dirrm share/examples/plplot/python
@@ -135,5 +136,4 @@ share/examples/plplot/tk/xtk04.c
@dirrm share/examples/plplot/c
@dirrm share/examples/plplot
@dirrm share/doc/plplot
-@dirrm libdata/plplot
@dirrm include/plplot