diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2004-12-06 23:08:46 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-12-06 23:08:46 +0000 |
commit | 1da202f56d004f96493d34da48c63987afcc7877 (patch) | |
tree | e0e12d6dacff0f6b4e32617c87b44b87dbbbdffc /math/xppaut/files/patch-Makefile | |
parent | Update to 2.8.2 (diff) |
Add xppaut 5.85, graphical tool for solving differential equations, etc.
PR: 74254
Submitted by: Stephen Montgomery-Smith
Notes
Notes:
svn path=/head/; revision=123347
Diffstat (limited to 'math/xppaut/files/patch-Makefile')
-rw-r--r-- | math/xppaut/files/patch-Makefile | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/math/xppaut/files/patch-Makefile b/math/xppaut/files/patch-Makefile new file mode 100644 index 000000000000..994780aaa359 --- /dev/null +++ b/math/xppaut/files/patch-Makefile @@ -0,0 +1,71 @@ +--- Makefile.orig Thu Jul 17 17:32:21 2003 ++++ Makefile Mon Dec 6 23:32:28 2004 +@@ -1,8 +1,9 @@ + # Copyright (C) 1990-2002 Bard Ermentrout + # Edited for Debian GNU/Linux. + DESTDIR = +-BINDIR = $(DESTDIR)/usr/X11R6/bin +-DOCDIR = $(DESTDIR)/usr/share/doc/xppaut ++BINDIR = $(PREFIX)/bin ++DOCDIR = $(PREFIX)/share/doc/xppaut ++EXAMPLESDIR = $(PREFIX)/share/examples/xppaut + # End Debian Edit + ################################# + # +@@ -13,16 +14,16 @@ + # Standard C compiler + #CC= cc + # Use Gnu compiler +-CC= gcc ++#CC= gcc + AUTLIBS= -lf2c -lX11 -lm + OTHERLIBS= libcvode.a libf2cm.a + # + ################################## + # Standard Linux distributions # + ################################## +-CFLAGS= -g -O -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR=$(VERSION) -I/usr/X11R6/include +-LDFLAGS= -L/usr/X11R6/lib +-LIBS= -lX11 -lm -ldl ++CFLAGS+= -DAUTO -DCVODE_YES -DHAVEDLL -DMYSTR=$(VERSION) -I$(X11BASE)/include ++LDFLAGS= -L$(X11BASE)/lib ++LIBS= -lX11 -lm + # NOTE: Recent (RedHat 8) versions of GCC seem to no longer have + # the integer errno, so compile with the -DNOERRNO option as well + # +@@ -145,6 +146,9 @@ + ###################################################################### + # + # ++ ++all: xppaut ++ + xppaut: mkI77 mkcvode $(OBJECTS) $(AUTOOBJ) + # + ########################################################### +@@ -179,17 +183,18 @@ + install: xppaut + # Make necessary installation directories + mkdir -p $(BINDIR) +- mkdir -p $(DOCDIR)/html +- mkdir -p $(DOCDIR)/examples +- mkdir -p $(DESTDIR)/usr/X11R6/man/man1 ++# PORTDOCS mkdir -p $(DOCDIR)/html ++# PORTDOCS mkdir -p $(EXAMPLESDIR) ++ mkdir -p $(PREFIX)/man/man1 + # Put everything home + strip xppaut + cp xppaut $(BINDIR) +- cp -r ode* $(DOCDIR)/examples +- cp -r help/* $(DOCDIR)/html +- cp README *.pdf $(DOCDIR) +- cp xppaut.1 $(DESTDIR)/usr/X11R6/man/man1 ++# PORTDOCS cp -r ode* $(EXAMPLESDIR) ++# PORTDOCS cp -r help/* $(DOCDIR)/html ++# PORTDOCS cp README *.pdf $(DOCDIR) ++ cp xppaut.1 $(PREFIX)/man/man1 + # End Debian Ed ++ + uninstall: + # Remove everything you created + rm $(BINDIR)/xppaut |