summaryrefslogtreecommitdiff
path: root/textproc/awf
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-01-18 22:10:29 +0000
committertv <tv@pkgsrc.org>2005-01-18 22:10:29 +0000
commitfe746490e140b9f45547cc87f07bc0575a680cb5 (patch)
tree222ca176da9524b110952e2f8372833abce5947f /textproc/awf
parent33ce58ee7d79493a31e897a5ce3a65e7556e7fdf (diff)
downloadpkgsrc-fe746490e140b9f45547cc87f07bc0575a680cb5.tar.gz
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 (limited to 'textproc/awf')
-rw-r--r--textproc/awf/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/textproc/awf/Makefile b/textproc/awf/Makefile
index 6db11e58837..dbcdce031c0 100644
--- a/textproc/awf/Makefile
+++ b/textproc/awf/Makefile
@@ -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 @@ MAINTAINER= tech-pkg@NetBSD.org
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