summaryrefslogtreecommitdiff
path: root/lang/mawk
diff options
context:
space:
mode:
authoragc <agc>2007-08-20 21:42:26 +0000
committeragc <agc>2007-08-20 21:42:26 +0000
commitef8ac4efbedfb41dfe17c9fbae3baf746a7ee042 (patch)
tree2059401e9300384f7362345071e501d2f5b877a1 /lang/mawk
parent4a9524f80c3ddd91ce30f7e1b78a60d51d78d658 (diff)
downloadpkgsrc-ef8ac4efbedfb41dfe17c9fbae3baf746a7ee042.tar.gz
Add DESTDIR support
Diffstat (limited to 'lang/mawk')
-rw-r--r--lang/mawk/Makefile3
-rw-r--r--lang/mawk/distinfo4
-rw-r--r--lang/mawk/patches/patch-aa14
3 files changed, 12 insertions, 9 deletions
diff --git a/lang/mawk/Makefile b/lang/mawk/Makefile
index 2acc7b3491e..6983ccc8114 100644
--- a/lang/mawk/Makefile
+++ b/lang/mawk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2007/02/22 19:26:38 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2007/08/20 21:42:26 agc Exp $
#
DISTNAME= mawk-1.3.3
@@ -14,6 +14,7 @@ INSTALLATION_DIRS= ${PKGMANDIR}/man1
GNU_CONFIGURE= yes
CONFIGURE_HAS_MANDIR= no
TEST_TARGET= mawk_test fpe_test
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
diff --git a/lang/mawk/distinfo b/lang/mawk/distinfo
index d47b2bf7882..72285c034b6 100644
--- a/lang/mawk/distinfo
+++ b/lang/mawk/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.10 2005/12/27 21:20:49 reed Exp $
+$NetBSD: distinfo,v 1.11 2007/08/20 21:42:26 agc Exp $
SHA1 (mawk-1.3.3.tar.gz) = 314bcdb6543733f47ef4d9d9356b23f53d6a7f89
RMD160 (mawk-1.3.3.tar.gz) = f1c939aa032ec7f5e8157a9440d3520f2ecc8501
Size (mawk-1.3.3.tar.gz) = 209942 bytes
-SHA1 (patch-aa) = 1ea234849f068e6cbb216b680508c983e49bdd33
+SHA1 (patch-aa) = f8a341ca2dddad31e3ccb63a29561b5a87792c08
SHA1 (patch-ab) = b8faa90c98fac027b295336936a8e43c7087d972
SHA1 (patch-ac) = e6671c71b7fdc2c8ccc0866e530c38057a80d48f
SHA1 (patch-ad) = 1b35b227a1de472d419b034599507933a4b797dc
diff --git a/lang/mawk/patches/patch-aa b/lang/mawk/patches/patch-aa
index 5bbae945709..610be89731a 100644
--- a/lang/mawk/patches/patch-aa
+++ b/lang/mawk/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.4 2005/12/27 21:20:49 reed Exp $
+$NetBSD: patch-aa,v 1.5 2007/08/20 21:42:26 agc Exp $
--- Makefile.in.orig 1996-01-31 21:05:40.000000000 -0800
+++ Makefile.in
-@@ -11,10 +11,11 @@ MATHLIB = @MATHLIB@
+@@ -11,10 +11,11 @@
YACC = @YACC@
@@ -16,7 +16,7 @@ $NetBSD: patch-aa,v 1.4 2005/12/27 21:20:49 reed Exp $
MANEXT = @MANEXT@
#######################################
-@@ -32,6 +33,7 @@ REXP_C=rexp/rexp.c rexp/rexp0.c rexp/rex
+@@ -32,6 +33,7 @@
rexp/rexp3.c
@@ -24,7 +24,7 @@ $NetBSD: patch-aa,v 1.4 2005/12/27 21:20:49 reed Exp $
mawk_and_test : mawk mawk_test fpe_test
mawk : $(O) rexp/.done
-@@ -74,10 +76,8 @@ scancode.c : makescan.c scan.h
+@@ -74,10 +76,10 @@
MAWKMAN = $(MANDIR)/mawk.$(MANEXT)
install : mawk
@@ -32,8 +32,10 @@ $NetBSD: patch-aa,v 1.4 2005/12/27 21:20:49 reed Exp $
- chmod 0755 $(BINDIR)/mawk
- cp man/mawk.1 $(MAWKMAN)
- chmod 0644 $(MAWKMAN)
-+ ${BSD_INSTALL_PROGRAM} mawk $(BINDIR)
-+ ${BSD_INSTALL_MAN} man/mawk.1 $(MAWKMAN)
++ ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${BINDIR}
++ ${BSD_INSTALL_PROGRAM} mawk ${DESTDIR}$(BINDIR)
++ ${BSD_INSTALL_MAN_DIR} ${DESTDIR}${MANDIR}
++ ${BSD_INSTALL_MAN} man/mawk.1 ${DESTDIR}$(MAWKMAN)
clean :
rm -f *.o rexp/*.o rexp/.done test/mawk core test/core mawk