openbsd-ports/graphics/gmt/patches/patch-Makefile
cathcart 79f47a17ca import graphics/gmt
DESCR:
GMT is an open source collection of ~60 tools for manipulating
geographic and Cartesian data sets (including filtering, trend fitting,
gridding, projecting, etc.) and producing PostScript illustrations
ranging from simple x-y plots via contour maps to artificially
illuminated surfaces and 3-D perspective views. GMT supports ~30 map
projections and transformations and comes with support data such as
coastlines, rivers, and political boundaries.
 
Flavors:
        high: adds high resolution coastline data
 
        full: adds full resolution coastline data
 
ok alek@
2005-11-02 00:02:50 +00:00

29 lines
1.3 KiB
Plaintext

$OpenBSD: patch-Makefile,v 1.1.1.1 2005/11/02 00:02:50 cathcart Exp $
--- Makefile.orig Thu Aug 19 00:19:44 2004
+++ Makefile Wed Jun 22 18:09:49 2005
@@ -65,9 +65,9 @@ include src/makegmt.macros # GMT-specifi
SUPPL = dbase gshhs imgsrc meca mex mgd77 mgg misc segyprogs spotter x2sys x_system xgrid
SUPPL_M = dbase imgsrc meca mgd77 mgg misc segyprogs spotter x2sys x_system
-all: gmt suppl
+all: gmt
-install-all: install install-suppl install-data install-man install-www
+install-all: install install-data install-man
uninstall-all: uninstall uninstall-suppl uninstall-data uninstall-man uninstall-www
gmt: gmtmacros
@@ -182,9 +182,9 @@ install-man: install-manl-suppl
echo "s/ l / $(mansection) /g" >> sed.tmp; \
for f in *.l; do \
echo "sed -f sed.tmp $$f > tmp" >> $(rootdir)/manjob.sh; \
- echo "\\rm -f $$f" >> $(rootdir)/manjob.sh; \
- echo "\\mv tmp $$f" | sed -e 's/.l$$/.$(mansection)/g' >> $(rootdir)/manjob.sh; \
- echo "\\rm -f $$f" | sed -e 's/.l$$/.$(mansection)/g' >> $(rootdir)/manuninstall.sh; \
+ echo "rm -f $$f" >> $(rootdir)/manjob.sh; \
+ echo "mv tmp $$f" | sed -e 's/.l$$/.$(mansection)/g' >> $(rootdir)/manjob.sh; \
+ echo "rm -f $$f" | sed -e 's/.l$$/.$(mansection)/g' >> $(rootdir)/manuninstall.sh; \
done; \
$(SHELL) $(rootdir)/manjob.sh; \
rm -f $(rootdir)/manjob.sh sed.tmp; \