pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/awf user-destdir support
details: https://anonhg.NetBSD.org/pkgsrc/rev/25cc11041a34
branches: trunk
changeset: 395400:25cc11041a34
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jul 07 22:24:37 2009 +0000
description:
user-destdir support
diffstat:
textproc/awf/Makefile | 6 +++++-
textproc/awf/distinfo | 4 ++--
textproc/awf/patches/patch-aa | 19 ++++++++++++-------
3 files changed, 19 insertions(+), 10 deletions(-)
diffs (72 lines):
diff -r 3ee8c4d0afcc -r 25cc11041a34 textproc/awf/Makefile
--- a/textproc/awf/Makefile Tue Jul 07 22:23:07 2009 +0000
+++ b/textproc/awf/Makefile Tue Jul 07 22:24:37 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/04/22 09:22:15 rillig Exp $
+# $NetBSD: Makefile,v 1.11 2009/07/07 22:24:37 joerg Exp $
#
DISTNAME= nroff-clone
@@ -12,6 +12,8 @@
HOMEPAGE= http://www.scn.rain.com/pub/text/
COMMENT= Text formatter (nroff-clone) written in awk
+PKG_DESTDIR_SUPPORT= user-destdir
+
EXTRACT_CMD= ${GZCAT} ${DOWNLOADED_DISTFILE} | ${SED} -e '1,/^\#!/d' | ${SH}
WRKSRC= ${WRKDIR}
@@ -22,4 +24,6 @@
SUBST_SED.awflib+= -e 's|@AWK@|${AWK}|g'
SUBST_STAGE.awflib= pre-configure
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
+
.include "../../mk/bsd.pkg.mk"
diff -r 3ee8c4d0afcc -r 25cc11041a34 textproc/awf/distinfo
--- a/textproc/awf/distinfo Tue Jul 07 22:23:07 2009 +0000
+++ b/textproc/awf/distinfo Tue Jul 07 22:24:37 2009 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 14:48:40 agc Exp $
+$NetBSD: distinfo,v 1.4 2009/07/07 22:24:37 joerg Exp $
SHA1 (nroff-clone.shar.Z) = 4e4527234f97b16f62341b4b844d128b4cabd617
RMD160 (nroff-clone.shar.Z) = fcbea3f84521bd3694d17ec07230824d69733a94
Size (nroff-clone.shar.Z) = 26302 bytes
-SHA1 (patch-aa) = 486c404fcd90638c59fb3df01eb41ffeb2595982
+SHA1 (patch-aa) = 9169ba9db29a63316fc0adb891d5e718c3352093
SHA1 (patch-ab) = c2574a55bb9a9ab3b79c3a59d639ef534015a45c
diff -r 3ee8c4d0afcc -r 25cc11041a34 textproc/awf/patches/patch-aa
--- a/textproc/awf/patches/patch-aa Tue Jul 07 22:23:07 2009 +0000
+++ b/textproc/awf/patches/patch-aa Tue Jul 07 22:24:37 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/12/04 08:33:59 agc Exp $
+$NetBSD: patch-aa,v 1.2 2009/07/07 22:24:37 joerg Exp $
---- Makefile 2003/11/04 18:25:04 1.1
-+++ Makefile 2003/11/04 18:23:55
-@@ -1,17 +1,15 @@
+--- Makefile.orig 2009-07-08 00:23:21.000000000 +0200
++++ Makefile
+@@ -1,29 +1,27 @@
-AWFLIB = /usr/lib/awf # beware, awf itself knows this
-BIN = /usr/bin
-MAN = /usr/man/man1
@@ -25,9 +25,14 @@
+ AWFLIB=. ./awf -man awf.1 >tmp
install:
- -if test ! -d $(AWFLIB) ; then mkdir $(AWFLIB) ; fi
-@@ -20,10 +18,10 @@
- cp awf.1 $(MAN)
+- -if test ! -d $(AWFLIB) ; then mkdir $(AWFLIB) ; fi
+- cp $(CP) $(AWFLIB)
+- cp awf $(BIN)
+- cp awf.1 $(MAN)
++ -if test ! -d ${DESTDIR}$(AWFLIB) ; then mkdir ${DESTDIR}$(AWFLIB) ; fi
++ cp $(CP) ${DESTDIR}$(AWFLIB)
++ cp awf ${DESTDIR}$(BIN)
++ cp awf.1 ${DESTDIR}$(MAN)
rr: r testm tests.Z tests.out.Z
- AWFLIB=. awf -man testm >tmp
Home |
Main Index |
Thread Index |
Old Index