summaryrefslogtreecommitdiff
path: root/devel/libts/Makefile
diff options
context:
space:
mode:
authoragc <agc>2001-04-27 11:47:12 +0000
committeragc <agc>2001-04-27 11:47:12 +0000
commit97259406fa758f0d1242efa9741c07dbf325f7c1 (patch)
tree0ed466b7740e2332dd25642d34a2cdefe60dd2a5 /devel/libts/Makefile
parentf48e8ff8dfaae9f659dd9a8afd6188fa09650257 (diff)
downloadpkgsrc-97259406fa758f0d1242efa9741c07dbf325f7c1.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/Makefile')
-rw-r--r--devel/libts/Makefile26
1 files changed, 26 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"