1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

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>
This commit is contained in:
Kirill Ponomarev 2004-03-01 09:15:09 +00:00
parent 03c6307325
commit 7c4a243b10
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102610
4 changed files with 31 additions and 0 deletions

View File

@ -35,6 +35,7 @@
SUBDIR += apr-svn
SUBDIR += arch
SUBDIR += argouml
SUBDIR += argp-standalone
SUBDIR += argtable
SUBDIR += arm-aout-binutils
SUBDIR += arm-elf-binutils

View File

@ -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>

View File

@ -0,0 +1,2 @@
MD5 (argp-standalone-1.3.tar.gz) = 720704bac078d067111b32444e24ba69
SIZE (argp-standalone-1.3.tar.gz) = 130255

View File

@ -0,0 +1,2 @@
It is standalone version of argp - part of glibc library.
It was separated off glibc by Niels M