pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/awf It is not necessary to use gsharutils to ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3008d47dc835
branches:  trunk
changeset: 487707:3008d47dc835
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Jan 18 22:10:29 2005 +0000

description:
It is not necessary to use gsharutils to extract this; a simple sed
expression is good enough to strip out the non-shell header text.

diffstat:

 textproc/awf/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r 865b4600e746 -r 3008d47dc835 textproc/awf/Makefile
--- a/textproc/awf/Makefile     Tue Jan 18 22:03:55 2005 +0000
+++ b/textproc/awf/Makefile     Tue Jan 18 22:10:29 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/12/24 09:53:50 jmmv Exp $
+# $NetBSD: Makefile,v 1.3 2005/01/18 22:10:29 tv Exp $
 #
 
 DISTNAME=      nroff-clone
@@ -11,9 +11,7 @@
 HOMEPAGE=      http://www.scn.rain.com/pub/text/
 COMMENT=       Text formatter (nroff-clone) written in awk
 
-BUILD_DEPENDS= gsharutils>=4.2.1:../../archivers/gsharutils
-
-EXTRACT_CMD=   zcat ${DOWNLOADED_DISTFILE} | gunshar
+EXTRACT_CMD=   ${DECOMPRESS_CMD.shar.Z} ${DOWNLOADED_DISTFILE} | ${SED} -e '1,/^\#!/d' | ${SH}
 WRKSRC=                ${WRKDIR}
 
 SUBST_CLASSES+=                awflib



Home | Main Index | Thread Index | Old Index