diff options
author | asau <asau@pkgsrc.org> | 2009-12-11 16:57:12 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2009-12-11 16:57:12 +0000 |
commit | 05d968a67afa262bf008f4bc820725fab7fcadec (patch) | |
tree | 95ca92154853da6ffe086c52593c227a909a1a3f /graphics/xplot/patches | |
parent | f98b1002538b1d4d08f643ca7b515e0e64345611 (diff) | |
download | pkgsrc-05d968a67afa262bf008f4bc820725fab7fcadec.tar.gz |
Support staged installation.
Diffstat (limited to 'graphics/xplot/patches')
-rw-r--r-- | graphics/xplot/patches/patch-aa | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/graphics/xplot/patches/patch-aa b/graphics/xplot/patches/patch-aa index 769bdceffc7..1728a358223 100644 --- a/graphics/xplot/patches/patch-aa +++ b/graphics/xplot/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.7 2003/09/27 12:03:50 tron Exp $ +$NetBSD: patch-aa,v 1.8 2009/12/11 16:57:12 asau Exp $ ---- Makefile.in.orig Thu May 4 23:04:20 2000 -+++ Makefile.in Sat Sep 27 14:00:42 2003 +--- Makefile.in.orig 2000-05-05 01:04:20.000000000 +0400 ++++ Makefile.in 2009-12-11 19:54:53.000000000 +0300 @@ -62,7 +62,7 @@ all: ${PROG} @@ -11,3 +11,20 @@ $NetBSD: patch-aa,v 1.7 2003/09/27 12:03:50 tron Exp $ -mv -f $@ $@.old mv -f $@.new $@ +@@ -70,11 +70,11 @@ + echo 'char *version_string = "'`cat version`'";' >version_string.c + + install: all +- mkdir -p $(bindir) +- $(INSTALL_PROGRAM) xplot $(bindir)/xplot +- $(INSTALL) tcpdump2xplot.pl $(bindir)/tcpdump2xplot +- mkdir -p $(mandir) +- $(INSTALL_MAN) $(MANFILES) $(mandir) ++ mkdir -p $(DESTDIR)$(bindir) ++ $(INSTALL_PROGRAM) xplot $(DESTDIR)$(bindir)/xplot ++ $(INSTALL) tcpdump2xplot.pl $(DESTDIR)$(bindir)/tcpdump2xplot ++ mkdir -p $(DESTDIR)$(mandir) ++ $(INSTALL_MAN) $(MANFILES) $(DESTDIR)$(mandir) + clean: + rm -f ${PROG} ${PROG}.old *.o version_string.c + |