summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2009-10-29 21:53:10 +0000
committertnn <tnn@pkgsrc.org>2009-10-29 21:53:10 +0000
commit78586534babdf828496b1122b1841cfc0feb7fe5 (patch)
treea7ba03e9e90d324d5c968204dd98c2608028ee4a /sysutils
parente2cf9d0efc0a4d7cda55cd0253b3c619274e25a3 (diff)
downloadpkgsrc-78586534babdf828496b1122b1841cfc0feb7fe5.tar.gz
Support DESTDIR and PKGMANDIR
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/wtail/Makefile3
-rw-r--r--sysutils/wtail/distinfo4
-rw-r--r--sysutils/wtail/patches/patch-aa20
3 files changed, 15 insertions, 12 deletions
diff --git a/sysutils/wtail/Makefile b/sysutils/wtail/Makefile
index d9ad13fe23d..931d8011986 100644
--- a/sysutils/wtail/Makefile
+++ b/sysutils/wtail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/03/04 21:30:43 jlam Exp $
+# $NetBSD: Makefile,v 1.12 2009/10/29 21:58:38 tnn Exp $
#
DISTNAME= wtail-0.2.2
@@ -10,6 +10,7 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.teaser.fr/~amajorel/wtail/
COMMENT= Watch multiple files at once
+PKG_DESTDIR_SUPPORT= user-destdir
MAKE_ENV+= SED=${SED:Q}
diff --git a/sysutils/wtail/distinfo b/sysutils/wtail/distinfo
index e913b9e64b7..3b00602b6d5 100644
--- a/sysutils/wtail/distinfo
+++ b/sysutils/wtail/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 13:40:59 agc Exp $
+$NetBSD: distinfo,v 1.3 2009/10/29 21:58:38 tnn Exp $
SHA1 (wtail-0.2.2.tar.gz) = 609f4ebe064c155829e96f865bee93e727b692e8
RMD160 (wtail-0.2.2.tar.gz) = cb118254ef80c2a26d0ce2b482ca6b64d0401417
Size (wtail-0.2.2.tar.gz) = 13633 bytes
-SHA1 (patch-aa) = 1605c1836fddce4c3fef589e3cf5a11d6bab33d6
+SHA1 (patch-aa) = b37d9383f512c3e14fb590d6f07b8e2fbb12ad00
diff --git a/sysutils/wtail/patches/patch-aa b/sysutils/wtail/patches/patch-aa
index 81252469b9e..524bccf9f81 100644
--- a/sysutils/wtail/patches/patch-aa
+++ b/sysutils/wtail/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/02/16 00:25:30 salo Exp $
+$NetBSD: patch-aa,v 1.2 2009/10/29 21:58:38 tnn Exp $
---- Makefile.orig Tue Jan 14 00:12:57 2003
-+++ Makefile Sun Feb 16 01:09:18 2003
+--- Makefile.orig 2003-01-14 00:12:57.000000000 +0100
++++ Makefile
@@ -5,7 +5,7 @@
@@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/02/16 00:25:30 salo Exp $
TMPDIR = ~/tmp
# Variables that you probably don't want to modify
-@@ -22,12 +22,12 @@
+@@ -22,12 +22,14 @@ clean:
rm -f $(OBJ) wtail
install:
@@ -21,16 +21,18 @@ $NetBSD: patch-aa,v 1.1.1.1 2003/02/16 00:25:30 salo Exp $
- mkdir -p "$(MAN)"/man1
- sed 's/@{VERSION}/'$(VERSION)'/g' wtail.1 >"$(MAN)"/man1/wtail.1
- touch -r wtail.1 "$(MAN)"/man1/wtail.1
-+ ${BSD_INSTALL_PROGRAM} wtail $(PREFIX)/bin/
++ ${BSD_INSTALL_PROGRAM_DIR} $(DESTDIR)$(PREFIX)/bin
++ ${BSD_INSTALL_PROGRAM} wtail $(DESTDIR)$(PREFIX)/bin
+ ${SED} 's/@{VERSION}/'$(VERSION)'/g' wtail.1 > wtail.1.fixed
-+ ${BSD_INSTALL_MAN} wtail.1.fixed $(PREFIX)/man/man1/wtail.1
-+ ${BSD_INSTALL_DATA_DIR} $(PREFIX)/share/doc/wtail
++ ${BSD_INSTALL_MAN_DIR} $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1
++ ${BSD_INSTALL_MAN} wtail.1.fixed $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/wtail.1
++ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)$(PREFIX)/share/doc/wtail
+ ${BSD_INSTALL_DATA} README CHANGES COPYING FAQ VERSION \
-+ $(PREFIX)/share/doc/wtail/
++ $(DESTDIR)$(PREFIX)/share/doc/wtail/
test: chatter
./chatter /tmp/wtail.a /tmp/wtail.b /tmp/wtail.c \
-@@ -51,7 +51,7 @@
+@@ -51,7 +53,7 @@ dist:
arc=$(ARC); cd $(TMPDIR) && tar -cf - $$arc | gzip >$$arc.tar.gz
wtail: $(OBJ)