freebsd-ports/misc/earthview/files/patch-Makefile
Ying-Chieh Liao 868a6db310 add earthview 1.0
Produces a view output of an arbitrary region of the Earth
2002-09-13 15:29:01 +00:00

17 lines
524 B
Text

--- Makefile.orig Wed Jul 31 20:33:51 2002
+++ Makefile Fri Sep 13 23:09:34 2002
@@ -1,11 +1,11 @@
-BINDIR=/usr/X11R6/bin
-DATADIR=/usr/share/earthview
+BINDIR=%%PREFIX%%/bin
+DATADIR=%%PREFIX%%/share/earthview
all: earthview
cat WARNING
earthview: earthview.c
- gcc -Wall -DDATADIR=\"$(DATADIR)\" earthview.c -o earthview -L/usr/X11R6/lib -lX11 -lm -lz -lbz2
+ %%CC%% %%CFLAGS%% -DDATADIR=\"$(DATADIR)\" earthview.c -o earthview -L%%X11BASE%%/lib -lX11 -lm -lz -lbz2
install:
install -c -s earthview $(BINDIR)