aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-03-01 17:15:09 +0800
committerkrion <krion@FreeBSD.org>2004-03-01 17:15:09 +0800
commit58a4517e676fd1f209db1c0256af5baf64adebcc (patch)
tree4df2ebd2686e123049e8dcbc5486de09fcb3c3fe /devel
parent7b7302c5789776e2fc78aa44f6b5b6723e96bec7 (diff)
downloadfreebsd-ports-gnome-58a4517e676fd1f209db1c0256af5baf64adebcc.tar.gz
freebsd-ports-gnome-58a4517e676fd1f209db1c0256af5baf64adebcc.tar.zst
freebsd-ports-gnome-58a4517e676fd1f209db1c0256af5baf64adebcc.zip
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>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/argp-standalone/Makefile26
-rw-r--r--devel/argp-standalone/distinfo2
-rw-r--r--devel/argp-standalone/pkg-descr2
4 files changed, 31 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index f5e47da960ff..f0f458e8b529 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -35,6 +35,7 @@
SUBDIR += apr-svn
SUBDIR += arch
SUBDIR += argouml
+ SUBDIR += argp-standalone
SUBDIR += argtable
SUBDIR += arm-aout-binutils
SUBDIR += arm-elf-binutils
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