Import argtable 2.6

Argtable is an ANSI C library for parsing GNU style command line options
with a minimum of fuss. It enables a program's command line syntax to be
defined in the source code as an array of argtable structs. 

From Jasper Lievisse Adriaanse <jasper@nedbsd.nl>
This commit is contained in:
alek 2006-05-29 21:56:50 +00:00
parent 26929fa20b
commit bac9840834
6 changed files with 86 additions and 0 deletions

25
devel/argtable/Makefile Normal file
View File

@ -0,0 +1,25 @@
# $OpenBSD: Makefile,v 1.1.1.1 2006/05/29 21:56:50 alek Exp $
COMMENT= "ANSI C command line parser"
DISTNAME= argtable2-6
PKGNAME= argtable-2.6
SHARED_LIBS= argtable2 1.1
CATEGORIES= devel
HOMEPAGE= http://argtable.sourceforge.net/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@nedbsd.nl>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=argtable/}
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
.include <bsd.port.mk>

4
devel/argtable/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (argtable2-6.tar.gz) = e1d5035992b29b45c5abad2b3487e096
RMD160 (argtable2-6.tar.gz) = aa30ad20b09fb3fb11a01d628dfedc6209ba8bf7
SHA1 (argtable2-6.tar.gz) = e4296293ce39689e7f003e953b6a89f826c64445
SIZE (argtable2-6.tar.gz) = 3335916

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_in,v 1.1.1.1 2006/05/29 21:56:50 alek Exp $
--- Makefile.in.orig Sun May 28 17:26:30 2006
+++ Makefile.in Sun May 28 17:27:14 2006
@@ -202,7 +202,7 @@
example/hasoptvalue.c example/ls.c example/multisyntax.c \
example/mv.c example/myprog.c example/myprog_C89.c \
example/rm.c example/uname.c
-dist_data_DATA = src/Makefile.nmake src/argtable2.def
+dist_data_DATA =
all: all-recursive
.SUFFIXES:

7
devel/argtable/pkg/DESCR Normal file
View File

@ -0,0 +1,7 @@
Argtable is an ANSI C library for parsing GNU style command line options
with a minimum of fuss. It enables a program's command line syntax to be
defined in the source code as an array of argtable structs. The command
line is then parsed according to that specification and the resulting
values are returned in those same structs where they are accessible to
the main program. Both tagged (-v, --verbose, --foo=bar) and untagged
arguments are supported, as are multiple instances of each argument.

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/05/29 21:56:50 alek Exp $
@lib lib/libargtable2.so.${LIBargtable2_VERSION}

36
devel/argtable/pkg/PLIST Normal file
View File

@ -0,0 +1,36 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/05/29 21:56:50 alek Exp $
%%SHARED%%
include/argtable2.h
lib/libargtable2.a
lib/libargtable2.la
@comment @man man/man3/argtable.3
@man man/man3/argtable2.3
share/doc/argtable2/
share/doc/argtable2/arg_int.gif
share/doc/argtable2/argtable2-advanced.html
share/doc/argtable2/argtable2-advanced.pdf
share/doc/argtable2/argtable2-advanced.ps
share/doc/argtable2/argtable2-intro.html
share/doc/argtable2/argtable2-intro.pdf
share/doc/argtable2/argtable2-intro.ps
share/doc/argtable2/argtable2.html
share/doc/argtable2/argtable2.pdf
share/doc/argtable2/argtable2.ps
share/doc/argtable2/argxxx.gif
share/doc/argtable2/example/
share/doc/argtable2/example/Makefile
share/doc/argtable2/example/Makefile.nmake
share/doc/argtable2/example/README.txt
share/doc/argtable2/example/argcustom.c
share/doc/argtable2/example/argxxx.c
share/doc/argtable2/example/argxxx.h
share/doc/argtable2/example/callbacks.c
share/doc/argtable2/example/echo.c
share/doc/argtable2/example/hasoptvalue.c
share/doc/argtable2/example/ls.c
share/doc/argtable2/example/multisyntax.c
share/doc/argtable2/example/mv.c
share/doc/argtable2/example/myprog.c
share/doc/argtable2/example/myprog_C89.c
share/doc/argtable2/example/rm.c
share/doc/argtable2/example/uname.c