summaryrefslogtreecommitdiff
path: root/textproc/qsubst
diff options
context:
space:
mode:
authorsimonb <simonb>2001-04-22 05:55:05 +0000
committersimonb <simonb>2001-04-22 05:55:05 +0000
commite2677597c7b43a8b2a88e811d7f694ff55cdb088 (patch)
tree0fe6d00ea07e5f2496bf953ea450891a9ffc4c77 /textproc/qsubst
parent4eef4332ace61020220222b4fbc8208f157908cd (diff)
downloadpkgsrc-e2677597c7b43a8b2a88e811d7f694ff55cdb088.tar.gz
Add a package of der Mouse's qsubst program.
Diffstat (limited to 'textproc/qsubst')
-rw-r--r--textproc/qsubst/Makefile13
-rw-r--r--textproc/qsubst/distinfo5
-rw-r--r--textproc/qsubst/patches/patch-aa14
-rw-r--r--textproc/qsubst/pkg/DESCR4
-rw-r--r--textproc/qsubst/pkg/PLIST4
5 files changed, 40 insertions, 0 deletions
diff --git a/textproc/qsubst/Makefile b/textproc/qsubst/Makefile
new file mode 100644
index 00000000000..a953f6d8a7b
--- /dev/null
+++ b/textproc/qsubst/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/22 05:55:05 simonb Exp $
+#
+
+DISTNAME= qsubst-20010422
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+
+MAINTAINER= packages@netbsd.org
+COMMENT= query-replace strings in files
+
+WRKSRC= ${WRKDIR}/qsubst
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/qsubst/distinfo b/textproc/qsubst/distinfo
new file mode 100644
index 00000000000..d5092db777d
--- /dev/null
+++ b/textproc/qsubst/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/22 05:55:05 simonb Exp $
+
+SHA1 (qsubst-20010422.tar.gz) = 9602b274ff10266b94a96adc90ded003f8cdeda8
+Size (qsubst-20010422.tar.gz) = 5965 bytes
+SHA1 (patch-aa) = 077a6e4620bb7b674e701eca962db946a57c7e5c
diff --git a/textproc/qsubst/patches/patch-aa b/textproc/qsubst/patches/patch-aa
new file mode 100644
index 00000000000..94404a85b20
--- /dev/null
+++ b/textproc/qsubst/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/22 05:55:05 simonb Exp $
+
+--- Makefile.orig Sun Sep 5 03:07:22 1999
++++ Makefile Sun Apr 22 15:48:13 2001
+@@ -1,6 +1,9 @@
+ # $NetBSD: patch-aa,v 1.1.1.1 2001/04/22 05:55:05 simonb Exp $
+
+ PROG= qsubst
++BINDIR= ${PREFIX}/bin
++MANDIR= ${PREFIX}/man
++WARNS?= 1
+ DPADD+= $(LIBTERMCAP}
+ LDADD+= -ltermcap
+
diff --git a/textproc/qsubst/pkg/DESCR b/textproc/qsubst/pkg/DESCR
new file mode 100644
index 00000000000..6adeb6d0096
--- /dev/null
+++ b/textproc/qsubst/pkg/DESCR
@@ -0,0 +1,4 @@
+qsubst reads its options to get a list of files. For each file on this
+list, it then replaces the first string with the second string wherever
+possible in that file, depending on user input. The result is written
+back onto the original file.
diff --git a/textproc/qsubst/pkg/PLIST b/textproc/qsubst/pkg/PLIST
new file mode 100644
index 00000000000..3266bf99522
--- /dev/null
+++ b/textproc/qsubst/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/22 05:55:05 simonb Exp $
+bin/qsubst
+man/cat1/qsubst.0
+man/man1/qsubst.1