Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Mar 1998 15:45:39 -0500 (EST)
From:      mph@pobox.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6123: New port: xgfe-1.2, Qt front-end for Gnuplot
Message-ID:  <199803242045.PAA26687@mph124.rh.psu.edu>

next in thread | raw e-mail | index | archive | help

>Number:         6123
>Category:       ports
>Synopsis:       New port: xgfe-1.2, Qt front-end for Gnuplot
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 24 12:50:00 PST 1998
>Last-Modified:
>Originator:     Matthew Hunt
>Organization:
>Release:        FreeBSD 2.2.6-BETA i386
>Environment:

	

>Description:


An X11-based front-end for Gnuplot, written in C++ with the
Qt library.

Web page: http://www2.msstate.edu/~dmi1/xgfe/xgfe.html

I used it briefly, and it does most of the simple stuff.  Probably
good for the casual user.  Also includes a terminal window where you
can send arbitrary commands to Gnuplot.

>How-To-Repeat:

	

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	./Makefile
#	./pkg/PLIST
#	./pkg/COMMENT
#	./pkg/DESCR
#	./files/md5
#	./patches/patch-aa
#	./patches/patch-ab
#
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	xgfe
X# Version required:    1.2
X# Date created:        24 March 1998
X# Whom:                Matthew Hunt <mph@pobox.com>
X#
X# $Id$
X#
X
XDISTNAME=	xgfe-1.2
XCATEGORIES=	math
XMASTER_SITES=	http://www2.msstate.edu/~dmi1/xgfe/download/
X
XMAINTAINER=	mph@pobox.com
X
XUSE_X11=	yes
X
XLIB_DEPENDS=	qt\\.1\\.3:${PORTSDIR}/x11/qt
XRUN_DEPENDS=	gnuplot:${PORTSDIR}/math/gnuplot
X
XMAKE_ENV=	X11BASE=$(X11BASE) PREFIX=$(PREFIX)
X.if defined(NOPORTDOCS)
XMAKE_ENV+=	NOPORTDOCS=$(NOPORTDOCS)
X.endif
X
XWRKSRC=		$(WRKDIR)/$(DISTNAME)/source
X
Xpost-extract:
X	cd $(WRKSRC) && ${RM} Makefile && ln -s Makefile.freebsd.gcc Makefile
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./pkg/PLIST
sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
Xbin/xgfe
Xshare/doc/xgfe/CHANGES
Xshare/doc/xgfe/features.html
Xshare/doc/xgfe/file-cols-formats.gif
Xshare/doc/xgfe/filemenu.gif
Xshare/doc/xgfe/fileplottypes.gif
Xshare/doc/xgfe/filestyles.gif
Xshare/doc/xgfe/latexterm.gif
Xshare/doc/xgfe/legend-options.gif
Xshare/doc/xgfe/mainwindow.gif
Xshare/doc/xgfe/open.gif
Xshare/doc/xgfe/optionsmenu.gif
Xshare/doc/xgfe/pbmterm.gif
Xshare/doc/xgfe/plot-size.gif
Xshare/doc/xgfe/psterm.gif
Xshare/doc/xgfe/rawgnu.gif
Xshare/doc/xgfe/screenshots.html
Xshare/doc/xgfe/terminals.gif
Xshare/doc/xgfe/xgfe-abb.jpg
Xshare/doc/xgfe/xgfe-docs.html
Xshare/doc/xgfe/xgfe-main.jpg
Xshare/doc/xgfe/xgfe.html
X@dirrm share/doc/xgfe
END-of-./pkg/PLIST
echo x - ./pkg/COMMENT
sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
XAn X11 front-end for Gnuplot.
END-of-./pkg/COMMENT
echo x - ./pkg/DESCR
sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
XAn X11-based front-end for Gnuplot, written in C++ with the
XQt library.
X
XWeb page: http://www2.msstate.edu/~dmi1/xgfe/xgfe.html
END-of-./pkg/DESCR
echo x - ./files/md5
sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
XMD5 (xgfe-1.2.tar.gz) = 1bc6e169ebfaf3ef6370919e49a7b7a9
END-of-./files/md5
echo x - ./patches/patch-aa
sed 's/^X//' >./patches/patch-aa << 'END-of-./patches/patch-aa'
X--- Makefile.freebsd.gcc.orig	Mon Feb 23 17:31:22 1998
X+++ Makefile.freebsd.gcc	Tue Mar 24 13:17:49 1998
X@@ -7,12 +7,13 @@
X 
X ####### Compiler, tools and options
X 
X-CC	=	gcc
X-CFLAGS	=	-Wall -W -O2 -fno-strength-reduce
X-INCPATH	=	-I$(QTDIR)/include
X-LINK	=	gcc
X+#CC	=	gcc
X+#CFLAGS	=	-Wall -W -O2 -fno-strength-reduce
X+QTDIR	=	$(X11BASE)
X+INCPATH	=	-I$(X11BASE)/include/X11/qt
X+LINK	=	$(CXX)
X LFLAGS	=	
X-LIBS	=	-L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lX11
X+LIBS	=	-L$(QTDIR)/lib -lqt -L$(X11BASE)/lib -lX11
X MOC	=	moc
X 
X ####### Files
X@@ -115,16 +116,16 @@
X .SUFFIXES: .cpp .cxx .cc .C .c
X 
X .cpp.o:
X-	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
X+	$(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
X 
X .cxx.o:
X-	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
X+	$(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
X 
X .cc.o:
X-	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
X+	$(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
X 
X .C.o:
X-	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
X+	$(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
X 
X .c.o:
X 	$(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
END-of-./patches/patch-aa
echo x - ./patches/patch-ab
sed 's/^X//' >./patches/patch-ab << 'END-of-./patches/patch-ab'
X--- Makefile.common.orig	Mon Feb 23 17:31:22 1998
X+++ Makefile.common	Tue Mar 24 14:17:39 1998
X@@ -2,8 +2,8 @@
X 
X # modify starting here
X 
X-INSTALL_BIN = /usr/local/bin
X-INSTALL_DOC = /usr/local/doc/xgfe-$(VERSION)
X+INSTALL_BIN = $(PREFIX)/bin
X+INSTALL_DOC = $(PREFIX)/share/doc/xgfe
X STATIC_TARGET = xgfe-static
X 
X # end modifications
X@@ -15,10 +15,11 @@
X 	strip $(STATIC_TARGET)
X 
X install:
X-	cp $(TARGET) $(INSTALL_BIN)
X-	mkdir $(INSTALL_DOC)
X-	cp ../doc/* $(INSTALL_DOC)/
X-	strip $(INSTALL_BIN)/$(TARGET)
X+	$(BSD_INSTALL_PROGRAM) $(TARGET) $(INSTALL_BIN)
X+.if !defined(NOPORTDOCS)
X+	mkdir -p $(INSTALL_DOC)
X+	$(BSD_INSTALL_DATA) ../doc/* $(INSTALL_DOC)/
X+.endif
X 
X uninstall:
X 	rm $(INSTALL_BIN)$(TARGET)
END-of-./patches/patch-ab
exit

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803242045.PAA26687>