diff options
author | wennmach <wennmach@pkgsrc.org> | 2000-10-31 13:33:12 +0000 |
---|---|---|
committer | wennmach <wennmach@pkgsrc.org> | 2000-10-31 13:33:12 +0000 |
commit | d4789ccce8a74331056647ac822c5bebb5008c16 (patch) | |
tree | a661a74fd170e181c5978660c093baff50bc12d6 /devel | |
parent | 733a3108476388d233b8bfe626b17bf138a77f49 (diff) | |
download | pkgsrc-d4789ccce8a74331056647ac822c5bebb5008c16.tar.gz |
Initial import of popt-1.2, a command line option parsing library.
Since version 0.5.4, net/ORBit does not install it's own version of libpopt
any more. This makes devel/oaf fail during build.
The problem was noted by Love <lha@stacken.kth.se> in PR 11339, who
submitted this package for popt.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/popt/Makefile | 15 | ||||
-rw-r--r-- | devel/popt/files/md5 | 3 | ||||
-rw-r--r-- | devel/popt/files/patch-sum | 3 | ||||
-rw-r--r-- | devel/popt/patches/patch-aa | 17 | ||||
-rw-r--r-- | devel/popt/pkg/COMMENT | 1 | ||||
-rw-r--r-- | devel/popt/pkg/DESCR | 18 | ||||
-rw-r--r-- | devel/popt/pkg/PLIST | 4 |
7 files changed, 61 insertions, 0 deletions
diff --git a/devel/popt/Makefile b/devel/popt/Makefile new file mode 100644 index 00000000000..06583b074ce --- /dev/null +++ b/devel/popt/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/10/31 13:33:12 wennmach Exp $ +# + +DISTNAME= popt-1.2 +CATEGORIES= devel +MASTER_SITES= ftp://ftp.redhat.com/redhat/code/popt/ + +MAINTAINER= packages@netbsd.org + +GNU_CONFIGURE= yes +USE_GMAKE= yes + +MAKE_ENV+= LOCALEDIR=${LOCAL_BASE}/share/locale/ + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/popt/files/md5 b/devel/popt/files/md5 new file mode 100644 index 00000000000..363b607fc6b --- /dev/null +++ b/devel/popt/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/10/31 13:33:12 wennmach Exp $ + +MD5 (popt-1.2.tar.gz) = 53ab7f622fd6adf493e172ade16701ee diff --git a/devel/popt/files/patch-sum b/devel/popt/files/patch-sum new file mode 100644 index 00000000000..e80a08dde16 --- /dev/null +++ b/devel/popt/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/10/31 13:33:12 wennmach Exp $ + +MD5 (patch-aa) = fcb09b1bc3c8cf86c23a72007f99b890 diff --git a/devel/popt/patches/patch-aa b/devel/popt/patches/patch-aa new file mode 100644 index 00000000000..b4fc6bb2d67 --- /dev/null +++ b/devel/popt/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1 2000/10/31 13:33:12 wennmach Exp $ + +Adding missing install dir + +--- po/Makefile.in.in.orig Thu Oct 22 21:39:17 1998 ++++ po/Makefile.in.in Mon Oct 30 14:51:12 2000 +@@ -16,6 +16,10 @@ + LINGUAS = ro + CATALOGS = $(addsuffix .mo, $(LINGUAS)) + ++prefix = @prefix@ ++datadir = @datadir@ ++LOCALEDIR = $(datadir)/locale ++ + POTFILES = \ + + all: $(NLSPACKAGE).pot $(CATALOGS) diff --git a/devel/popt/pkg/COMMENT b/devel/popt/pkg/COMMENT new file mode 100644 index 00000000000..cb8003d44c7 --- /dev/null +++ b/devel/popt/pkg/COMMENT @@ -0,0 +1 @@ +Command line option parsing library diff --git a/devel/popt/pkg/DESCR b/devel/popt/pkg/DESCR new file mode 100644 index 00000000000..1e795cc5e2e --- /dev/null +++ b/devel/popt/pkg/DESCR @@ -0,0 +1,18 @@ +This is the popt command line option parsing library. While it is similiar +to getopt(3), it contains a number of enhancements, including: + + 1) popt is fully reentrant + 2) popt can parse arbitrary argv[] style arrays while + getopt(2) makes this quite difficult + 3) popt allows users to alias command line arguments + 4) popt provides convience functions for parsting strings + into argv[] style arrays + +popt is used by rpm, the Red Hat install program, and many other Red Hat +utilities, all of which provide excellent examples of how to use popt. +Complete documentation on popt is available in popt.ps (included in this +tarball), which is excerpted with permission from the book "Linux +Application Development" by Michael K. Johnson and Erik Troan (availble +from Addison Wesley in May, 1998). + +Comments on popt should be addressed to ewt@redhat.com. diff --git a/devel/popt/pkg/PLIST b/devel/popt/pkg/PLIST new file mode 100644 index 00000000000..2b45a789372 --- /dev/null +++ b/devel/popt/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/31 13:33:12 wennmach Exp $ +lib/libpopt.a +include/popt.h +share/locale/ro/LC_MESSAGES/rpm.mo |