summaryrefslogtreecommitdiff
path: root/devel/libts
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-04-27 11:47:12 +0000
committeragc <agc@pkgsrc.org>2001-04-27 11:47:12 +0000
commit78d0b2f006909d67d0f41195463d34b64944654a (patch)
tree0ed466b7740e2332dd25642d34a2cdefe60dd2a5 /devel/libts
parent2cbd51587a262ac51ebf028cbe889e0c13d87120 (diff)
downloadpkgsrc-78d0b2f006909d67d0f41195463d34b64944654a.tar.gz
Initial import of libts-1.08 into the packages collectino.
Provided in PR 12579 by Ben Collver (collver@linuxfreemail.com) libts provides source and documentation for a library implementing a simple token scanner.
Diffstat (limited to 'devel/libts')
-rw-r--r--devel/libts/Makefile26
-rw-r--r--devel/libts/distinfo5
-rw-r--r--devel/libts/patches/patch-aa12
-rw-r--r--devel/libts/pkg/DESCR1
-rw-r--r--devel/libts/pkg/PLIST5
5 files changed, 49 insertions, 0 deletions
diff --git a/devel/libts/Makefile b/devel/libts/Makefile
new file mode 100644
index 00000000000..7fecabc174b
--- /dev/null
+++ b/devel/libts/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/27 11:47:12 agc Exp $
+#
+
+DISTNAME= TS-1.08
+PKGNAME= libts-1.08
+CATEGORIES= devel
+MASTER_SITES= http://www.primate.wisc.edu/software/TS/
+
+MAINTAINER= collver@linuxfreemail.com
+HOMEPAGE= http://www.primate.wisc.edu/software/TS/
+COMMENT= library of simple token-scanning routines
+
+WRKSRC= ${WRKDIR}/tokenscan
+
+post-patch:
+ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak
+ ${SED} <${WRKSRC}/Makefile.bak >${WRKSRC}/Makefile \
+ -e "s|/usr/local|${PREFIX}|" \
+ -e "s|install.sh|${INSTALL}|"
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libts
+ groff -Tascii -ms ${WRKSRC}/tokenscan.ms \
+ >${PREFIX}/share/doc/libts/tokenscan.txt
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libts/distinfo b/devel/libts/distinfo
new file mode 100644
index 00000000000..967f871ac34
--- /dev/null
+++ b/devel/libts/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/27 11:47:12 agc Exp $
+
+SHA1 (TS-1.08.tar.gz) = b1146389c77f79b381b31c565e05cbedc4b285cf
+Size (TS-1.08.tar.gz) = 12623 bytes
+SHA1 (patch-aa) = 93523690ee520efaba0946aeeaaaeeb318efacad
diff --git a/devel/libts/patches/patch-aa b/devel/libts/patches/patch-aa
new file mode 100644
index 00000000000..4ea168d00c6
--- /dev/null
+++ b/devel/libts/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 11:47:12 agc Exp $
+
+--- Makefile.orig Sun Apr 8 19:03:45 2001
++++ Makefile Sun Apr 8 19:03:59 2001
+@@ -402,5 +402,5 @@
+
+ # DO NOT DELETE
+
+-tokenscan.o: /usr/include/stdio.h /usr/include/sys/stdsyms.h tokenscan.h
+-tstest.o: /usr/include/stdio.h /usr/include/sys/stdsyms.h tokenscan.h
++tokenscan.o: /usr/include/stdio.h tokenscan.h
++tstest.o: /usr/include/stdio.h tokenscan.h
diff --git a/devel/libts/pkg/DESCR b/devel/libts/pkg/DESCR
new file mode 100644
index 00000000000..06d258ff5af
--- /dev/null
+++ b/devel/libts/pkg/DESCR
@@ -0,0 +1 @@
+Source and documentation for a library implementing a simple token scanner.
diff --git a/devel/libts/pkg/PLIST b/devel/libts/pkg/PLIST
new file mode 100644
index 00000000000..d853b57bdd3
--- /dev/null
+++ b/devel/libts/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/27 11:47:12 agc Exp $
+lib/libtokenscan.a
+include/tokenscan.h
+share/doc/libts/tokenscan.txt
+@dirrm share/doc/libts