summaryrefslogtreecommitdiff
path: root/devel/argp-standalone
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-01 09:15:09 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-01 09:15:09 +0000
commit7c4a243b10c295fb72942548d10947986106df60 (patch)
tree81df7ea07a4f573769ae09b772fdc83aa6b5ec7d /devel/argp-standalone
parentAdd bsfilter 1.0.0, a bayesian spam filter written in Ruby. (diff)
Add argp-standalone 1.3,
It is standalone version of argp - part of glibc library. It was separated off glibc by Niels Myller, Niels primary use it for inclusion in the LSH distribution, but it's useful for any package that wants to use argp and at the same time be portable to non-glibc systems. Besides portability fixes, there are a few other changes in this version. The most important is that it no longer builds upon getopt; the one or two hairy functions of GNU getopt are incorporated with the argp parser. There are longer any global variables keeping track of the parser state. PR: ports/63568 Submitted by: Sergey Matveychuk <sem@ciam.ru>
Notes
Notes: svn path=/head/; revision=102610
Diffstat (limited to 'devel/argp-standalone')
-rw-r--r--devel/argp-standalone/Makefile26
-rw-r--r--devel/argp-standalone/distinfo2
-rw-r--r--devel/argp-standalone/pkg-descr2
3 files changed, 30 insertions, 0 deletions
diff --git a/devel/argp-standalone/Makefile b/devel/argp-standalone/Makefile
new file mode 100644
index 000000000000..da1bfb677518
--- /dev/null
+++ b/devel/argp-standalone/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: argp-standalone
+# Date created: 1 March 2004
+# Whom: Sergey Matveychuk <sem@ciam.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= argp-standalone
+PORTVERSION= 1.3
+CATEGORIES= devel
+MASTER_SITES= http://www.lysator.liu.se/~nisse/misc/
+
+MAINTAINER= sem@ciam.ru
+COMMENT= Standalone version of arguments parsing functions from GLIBC
+
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+
+PLIST_FILES= lib/libargp.a include/argp.h
+
+do-install:
+ @cd ${WRKSRC}; \
+ ${INSTALL_DATA} libargp.a ${PREFIX}/lib; \
+ ${INSTALL_DATA} argp.h ${PREFIX}/include
+
+.include <bsd.port.mk>
diff --git a/devel/argp-standalone/distinfo b/devel/argp-standalone/distinfo
new file mode 100644
index 000000000000..1928178724a4
--- /dev/null
+++ b/devel/argp-standalone/distinfo
@@ -0,0 +1,2 @@
+MD5 (argp-standalone-1.3.tar.gz) = 720704bac078d067111b32444e24ba69
+SIZE (argp-standalone-1.3.tar.gz) = 130255
diff --git a/devel/argp-standalone/pkg-descr b/devel/argp-standalone/pkg-descr
new file mode 100644
index 000000000000..9bed7c0bb737
--- /dev/null
+++ b/devel/argp-standalone/pkg-descr
@@ -0,0 +1,2 @@
+It is standalone version of argp - part of glibc library.
+It was separated off glibc by Niels M