aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>1998-04-10 13:00:51 +0800
committerhoek <hoek@FreeBSD.org>1998-04-10 13:00:51 +0800
commit0213af6fb4b66943a90f0a313ff0b883c9ffdf86 (patch)
tree0f88271f65334d174b3589f8f87d8e6b07a0ae26 /math
parent41edc46d2efbe50c077095b459f32407e249edfc (diff)
downloadfreebsd-ports-gnome-0213af6fb4b66943a90f0a313ff0b883c9ffdf86.tar.gz
freebsd-ports-gnome-0213af6fb4b66943a90f0a313ff0b883c9ffdf86.tar.zst
freebsd-ports-gnome-0213af6fb4b66943a90f0a313ff0b883c9ffdf86.zip
Graphical front-end to gnuplot.
PR: ports/6123 Submitted by: Matthew Hunt <mph@pobox.com>
Diffstat (limited to 'math')
-rw-r--r--math/xgfe/Makefile30
-rw-r--r--math/xgfe/distinfo1
-rw-r--r--math/xgfe/files/patch-aa42
-rw-r--r--math/xgfe/files/patch-ab29
-rw-r--r--math/xgfe/pkg-comment1
-rw-r--r--math/xgfe/pkg-descr4
-rw-r--r--math/xgfe/pkg-plist23
7 files changed, 130 insertions, 0 deletions
diff --git a/math/xgfe/Makefile b/math/xgfe/Makefile
new file mode 100644
index 000000000000..abcc86355eed
--- /dev/null
+++ b/math/xgfe/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: xgfe
+# Version required: 1.2
+# Date created: 24 March 1998
+# Whom: Matthew Hunt <mph@pobox.com>
+#
+# $Id$
+#
+
+DISTNAME= xgfe-1.2
+CATEGORIES= math
+MASTER_SITES= http://www2.msstate.edu/~dmi1/xgfe/download/
+
+MAINTAINER= mph@pobox.com
+
+LIB_DEPENDS= qt\\.1\\.3:${PORTSDIR}/x11/qt
+RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
+
+USE_X11= yes
+
+MAKE_ENV= X11BASE=$(X11BASE) PREFIX=$(PREFIX)
+.if defined(NOPORTDOCS)
+MAKE_ENV+= NOPORTDOCS=$(NOPORTDOCS)
+.endif
+
+WRKSRC= $(WRKDIR)/$(DISTNAME)/source
+
+post-extract:
+ cd $(WRKSRC) && ${RM} Makefile && ${LN} -s Makefile.freebsd.gcc Makefile
+
+.include <bsd.port.mk>
diff --git a/math/xgfe/distinfo b/math/xgfe/distinfo
new file mode 100644
index 000000000000..5d89881c000e
--- /dev/null
+++ b/math/xgfe/distinfo
@@ -0,0 +1 @@
+MD5 (xgfe-1.2.tar.gz) = 1bc6e169ebfaf3ef6370919e49a7b7a9
diff --git a/math/xgfe/files/patch-aa b/math/xgfe/files/patch-aa
new file mode 100644
index 000000000000..1938e32f2a2e
--- /dev/null
+++ b/math/xgfe/files/patch-aa
@@ -0,0 +1,42 @@
+--- Makefile.freebsd.gcc.orig Mon Feb 23 17:31:22 1998
++++ Makefile.freebsd.gcc Tue Mar 24 13:17:49 1998
+@@ -7,12 +7,13 @@
+
+ ####### Compiler, tools and options
+
+-CC = gcc
+-CFLAGS = -Wall -W -O2 -fno-strength-reduce
+-INCPATH = -I$(QTDIR)/include
+-LINK = gcc
++#CC = gcc
++#CFLAGS = -Wall -W -O2 -fno-strength-reduce
++QTDIR = $(X11BASE)
++INCPATH = -I$(X11BASE)/include/X11/qt
++LINK = $(CXX)
+ LFLAGS =
+-LIBS = -L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lX11
++LIBS = -L$(QTDIR)/lib -lqt -L$(X11BASE)/lib -lX11
+ MOC = moc
+
+ ####### Files
+@@ -115,16 +116,16 @@
+ .SUFFIXES: .cpp .cxx .cc .C .c
+
+ .cpp.o:
+- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
++ $(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
+
+ .cxx.o:
+- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
++ $(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
+
+ .cc.o:
+- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
++ $(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
+
+ .C.o:
+- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
++ $(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
+
+ .c.o:
+ $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
diff --git a/math/xgfe/files/patch-ab b/math/xgfe/files/patch-ab
new file mode 100644
index 000000000000..5faebc4695db
--- /dev/null
+++ b/math/xgfe/files/patch-ab
@@ -0,0 +1,29 @@
+--- Makefile.common.orig Mon Feb 23 17:31:22 1998
++++ Makefile.common Tue Mar 24 14:17:39 1998
+@@ -2,8 +2,8 @@
+
+ # modify starting here
+
+-INSTALL_BIN = /usr/local/bin
+-INSTALL_DOC = /usr/local/doc/xgfe-$(VERSION)
++INSTALL_BIN = $(PREFIX)/bin
++INSTALL_DOC = $(PREFIX)/share/doc/xgfe
+ STATIC_TARGET = xgfe-static
+
+ # end modifications
+@@ -15,10 +15,11 @@
+ strip $(STATIC_TARGET)
+
+ install:
+- cp $(TARGET) $(INSTALL_BIN)
+- mkdir $(INSTALL_DOC)
+- cp ../doc/* $(INSTALL_DOC)/
+- strip $(INSTALL_BIN)/$(TARGET)
++ $(BSD_INSTALL_PROGRAM) $(TARGET) $(INSTALL_BIN)
++.if !defined(NOPORTDOCS)
++ mkdir -p $(INSTALL_DOC)
++ $(BSD_INSTALL_DATA) ../doc/* $(INSTALL_DOC)/
++.endif
+
+ uninstall:
+ rm $(INSTALL_BIN)$(TARGET)
diff --git a/math/xgfe/pkg-comment b/math/xgfe/pkg-comment
new file mode 100644
index 000000000000..08ff10e98b0a
--- /dev/null
+++ b/math/xgfe/pkg-comment
@@ -0,0 +1 @@
+An X11 front-end for Gnuplot.
diff --git a/math/xgfe/pkg-descr b/math/xgfe/pkg-descr
new file mode 100644
index 000000000000..ec9a40f23d40
--- /dev/null
+++ b/math/xgfe/pkg-descr
@@ -0,0 +1,4 @@
+An X11-based front-end for Gnuplot, written in C++ with the
+Qt library.
+
+Web page: http://www2.msstate.edu/~dmi1/xgfe/xgfe.html
diff --git a/math/xgfe/pkg-plist b/math/xgfe/pkg-plist
new file mode 100644
index 000000000000..41d1b534d1de
--- /dev/null
+++ b/math/xgfe/pkg-plist
@@ -0,0 +1,23 @@
+bin/xgfe
+share/doc/xgfe/CHANGES
+share/doc/xgfe/features.html
+share/doc/xgfe/file-cols-formats.gif
+share/doc/xgfe/filemenu.gif
+share/doc/xgfe/fileplottypes.gif
+share/doc/xgfe/filestyles.gif
+share/doc/xgfe/latexterm.gif
+share/doc/xgfe/legend-options.gif
+share/doc/xgfe/mainwindow.gif
+share/doc/xgfe/open.gif
+share/doc/xgfe/optionsmenu.gif
+share/doc/xgfe/pbmterm.gif
+share/doc/xgfe/plot-size.gif
+share/doc/xgfe/psterm.gif
+share/doc/xgfe/rawgnu.gif
+share/doc/xgfe/screenshots.html
+share/doc/xgfe/terminals.gif
+share/doc/xgfe/xgfe-abb.jpg
+share/doc/xgfe/xgfe-docs.html
+share/doc/xgfe/xgfe-main.jpg
+share/doc/xgfe/xgfe.html
+@dirrm share/doc/xgfe