summaryrefslogtreecommitdiff
path: root/devel/argtable
diff options
context:
space:
mode:
Diffstat (limited to 'devel/argtable')
-rw-r--r--devel/argtable/Makefile17
-rw-r--r--devel/argtable/files/md53
-rw-r--r--devel/argtable/files/patch-sum3
-rw-r--r--devel/argtable/patches/patch-aa13
-rw-r--r--devel/argtable/pkg/COMMENT1
-rw-r--r--devel/argtable/pkg/DESCR4
-rw-r--r--devel/argtable/pkg/PLIST13
7 files changed, 54 insertions, 0 deletions
diff --git a/devel/argtable/Makefile b/devel/argtable/Makefile
new file mode 100644
index 00000000000..22267a27ed1
--- /dev/null
+++ b/devel/argtable/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/08/08 18:10:04 jlam Exp $
+
+DISTNAME= argtable-1.2
+CATEGORIES= devel
+MASTER_SITES= http://metalab.unc.edu/pub/Linux/devel/
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://metalab.unc.edu/pub/Linux/devel/argtable.html
+
+GNU_CONFIGURE= # defined
+
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/man/man3/*.3 ${PREFIX}/man/man3
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/argtable
+ ${INSTALL_DATA} ${WRKSRC}/COPYING.LIB ${PREFIX}/share/doc/argtable
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/argtable/files/md5 b/devel/argtable/files/md5
new file mode 100644
index 00000000000..08e1acdb231
--- /dev/null
+++ b/devel/argtable/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/08/08 18:10:04 jlam Exp $
+
+MD5 (argtable-1.2.tar.gz) = c17c7d0f2ab1ae113df2cf7bb8fc5ff8
diff --git a/devel/argtable/files/patch-sum b/devel/argtable/files/patch-sum
new file mode 100644
index 00000000000..6edc74d1a52
--- /dev/null
+++ b/devel/argtable/files/patch-sum
@@ -0,0 +1,3 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/08/08 18:10:04 jlam Exp $
+
+MD5 (patch-aa) = 0bd0efffebbe79bcf37ca9d7b8350a0a
diff --git a/devel/argtable/patches/patch-aa b/devel/argtable/patches/patch-aa
new file mode 100644
index 00000000000..9673e1feed6
--- /dev/null
+++ b/devel/argtable/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/08/08 18:10:05 jlam Exp $
+
+--- Makefile.in.orig Thu Aug 5 07:03:22 1999
++++ Makefile.in Tue Aug 8 14:00:59 2000
+@@ -31,8 +31,6 @@
+ install: all
+ $(INSTALL) -d $(incldir)
+ $(INSTALL) -d $(libdir)
+- $(INSTALL) -d $(mandir)
+- $(INSTALL) -d $(docdir)
+ $(INSTALL) src/argtable.h $(incldir)/argtable.h
+ $(INSTALL) src/libargtable.a $(libdir)/libargtable.a
+
diff --git a/devel/argtable/pkg/COMMENT b/devel/argtable/pkg/COMMENT
new file mode 100644
index 00000000000..3341f4c5cdb
--- /dev/null
+++ b/devel/argtable/pkg/COMMENT
@@ -0,0 +1 @@
+library for parsing command line arguments of a C/C++ program
diff --git a/devel/argtable/pkg/DESCR b/devel/argtable/pkg/DESCR
new file mode 100644
index 00000000000..82267233a54
--- /dev/null
+++ b/devel/argtable/pkg/DESCR
@@ -0,0 +1,4 @@
+Argtable is a freely available programmer's library for parsing the command
+line arguments of any C/C++ program. Having only a few functions and a simple
+set of rules, argtable is capable of handling most aspects of command line
+parsing and error reporting with a minimum of fuss.
diff --git a/devel/argtable/pkg/PLIST b/devel/argtable/pkg/PLIST
new file mode 100644
index 00000000000..28a5a8c4e07
--- /dev/null
+++ b/devel/argtable/pkg/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/08/08 18:10:04 jlam Exp $
+include/argtable.h
+lib/libargtable.a
+man/man3/arg_catargs.3
+man/man3/arg_dump.3
+man/man3/arg_glossary.3
+man/man3/arg_record.3
+man/man3/arg_scanargv.3
+man/man3/arg_scanstr.3
+man/man3/arg_syntax.3
+man/man3/arg_typestr.3
+share/doc/argtable/COPYING.LIB
+@dirrm share/doc/argtable