ports/51118: New Port: graphics/xvgr Open Look-based data/function plotting tool

Serge Gagnon gagnon__s at videotron.ca
Tue Jun 3 04:20:23 UTC 2003


The following reply was made to PR ports/51118; it has been noted by GNATS.

From: Serge Gagnon <gagnon__s at videotron.ca>
To: gnats-submit FreeBSD <freebsd-gnats-submit at FreeBSD.org>
Cc:  
Subject: Re: ports/51118: New Port: graphics/xvgr Open Look-based
	data/function plotting tool
Date: 03 Jun 2003 00:38:29 -0400

 Remove a compiler option that doesn't works with gcc and respect user's
 "CC" defenition
 
 remove the files/patch-Makefile and replace with this one
 
 --- patch-Makefile begins here ---
 --- Makefile.orig	Sun Sep 21 15:52:38 1997
 +++ Makefile	Tue Jun  3 00:30:14 2003
 @@ -6,28 +6,27 @@
  
  # you may wish to change these
  ##################################
 -MANDIR = /usr/openwin/man/man1
 -MANSECT = 1x
 -DESTDIR = /usr/openwin/bin
 +PREFIX= /usr/local
 +MANDIR = $(PREFIX)/man/man1
 +MANSECT = 1
 +DESTDIR = $(PREFIX)/bin
  
  # Location of libraries
 -LIBS = -lxview -lolgx -lX11 -lm -L/usr/X11R6/lib -L/usr/openwin/lib
 +LIBS = -lxview -lolgx -lX11 -lcompat -lm -L/usr/X11R6/lib 
  #LIBS = -L/usr/local/X11R5/lib -lxview -lolgx -lX11 -lm
  
  #
  # xvgr now has context sensitive help, see the User's manual
  # on using this feature. OpenWindows has a spot for this.
 -HELPDIR = /usr/openwin/lib/help
 +HELPDIR = $(PREFIX)/info
  
  #
  # standard location for systems using OpenWindows rather than MIT X
 -INCLUDES = -I/usr/openwin/include -I/usr/X11R6/include
 +INCLUDES = -I/usr/X11R6/include
  # this is where we have them
  #INCLUDES = -I/usr/include/xview
  #INCLUDES = -I/usr/local/X11R5/include
  
 -CC = gcc
 -
  #MY_OSVERSION = -DSVR4
  MY_OSVERSION =
  
 @@ -81,7 +80,7 @@
  # 
  # For Postscript
  # 
 -PS_PRSTR = -DPS_PRSTR='"lpr -PKalaman -h "'
 +PS_PRSTR = -DPS_PRSTR='"lpr "'
  # 
  # For FrameMaker MIF format (really goes to a file)
  # 
 @@ -118,7 +117,7 @@
  # experimenting with drag 'n drop
  #DND = -DDND
  
 -CFLAGS = -pipe -O2 -m486 -ffloat-store -double -DLOCAL -DXVIEW \
 +CFLAGS = -pipe -O2 -ffloat-store -DLOCAL -DXVIEW \
  	$(MY_OSVERSION)	$(DND) $(INCLUDES) $(MAXARR) $(HARDCOPYDEV) \
  	$(PS_PRSTR) $(MIF_PRSTR) $(HP_PRSTR1) $(LEAF_PRSTR)
  
 @@ -338,11 +337,9 @@
  #	/bin/mv y.tab.h pars.h
  
  install:
 -	install -s -m 751 xvgr $(DESTDIR)
 +	install -s -m 751 xvgr $(DESTDIR)/
  	install -c -m 644 xvgr.man $(MANDIR)/xvgr.$(MANSECT)
  	install -c -m 644 xvgr.info $(HELPDIR)/xvgr.info
 -	rm -f $(DESTDIR)/grbatch
 -	ln -s $(DESTDIR)/xvgr $(DESTDIR)/grbatch
  
  lint:
  	lint  $(INCLUDES) $(SRCS)
 --- patch-Makefile ends here ---
 
 -- 
 Serge Gagnon <gagnon__s at videotron.ca>
 



More information about the freebsd-ports-bugs mailing list