From andy@icc.surw.chel.su  Fri Apr 17 12:03:21 1998
Received: from rich.chel.su (root@mobil.surnet.ru [195.54.2.7])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA09712
          for <FreeBSD-gnats-submit@freebsd.org>; Fri, 17 Apr 1998 12:03:21 GMT
          (envelope-from andy@icc.surw.chel.su)
Received: from icc.surw.chel.su (surw.chel.su [195.54.2.162]) by rich.chel.su (8.7.2/Murphy) with ESMTP id SAA14793 for <FreeBSD-gnats-submit@freebsd.org>; Fri, 17 Apr 1998 18:03:16 +0600 (UDT)
Received: (from andy@localhost)
          by icc.surw.chel.su (8.8.5/8.8.4)
	  id QAA09356; Fri, 17 Apr 1998 16:07:58 +0400 (MSD)
Message-Id: <199804171207.QAA09356@icc.surw.chel.su>
Date: Fri, 17 Apr 1998 16:07:58 +0400 (MSD)
From: Andrey Zakhvatov <andy@icc.surw.chel.su>
Reply-To: andy@icc.surw.chel.su
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port: libshhopt-1.1.3
X-Send-Pr-Version: 3.2

>Number:         6331
>Category:       ports
>Synopsis:       New port: libshhopt-1.1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 17 05:10:00 PDT 1998
>Closed-Date:    Fri Apr 2 17:14:45 PST 1999
>Last-Modified:  Fri Apr  2 17:16:16 PST 1999
>Originator:     Andrey Zakhvatov
>Release:        FreeBSD 2.2.2-RELEASE i386
>Organization:
South Ural Railway ICC
>Environment:

>Description:

   This is a port of library for parsing command line options.

   shhopt - library for parsing command line options. It contains
C-functions for parsing command line options, both traditional
one-character options, and GNU'ish --long-options.


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	libshhopt-1.1.3
#	libshhopt-1.1.3/Makefile
#	libshhopt-1.1.3/pkg
#	libshhopt-1.1.3/pkg/PLIST
#	libshhopt-1.1.3/pkg/COMMENT
#	libshhopt-1.1.3/pkg/DESCR
#	libshhopt-1.1.3/files
#	libshhopt-1.1.3/files/md5
#	libshhopt-1.1.3/files/Makefile
#	libshhopt-1.1.3/patches
#	libshhopt-1.1.3/patches/patch-aa
#
echo c - libshhopt-1.1.3
mkdir -p libshhopt-1.1.3 > /dev/null 2>&1
echo x - libshhopt-1.1.3/Makefile
sed 's/^X//' >libshhopt-1.1.3/Makefile << 'END-of-libshhopt-1.1.3/Makefile'
X# New ports collection makefile for:	libshhopt
X# Version required:			1.1.3
X# Date created:				11 April 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=	shhopt-1.1.3
XPKGNAME=	libshhopt-1.1.3
XCATEGORIES=	devel
XMASTER_SITES=	http://www.computas.no/users/shh/pub-unix/files/
X
XMAINTAINER=	andy@icc.surw.chel.su
X
XUSE_GMAKE=	yes
X
Xdo-install:
X	@ ${INSTALL_DATA} ${WRKSRC}/shhopt.h ${PREFIX}/include
X	@ ${INSTALL_DATA} ${WRKSRC}/libshhopt.so.1.1.3 ${PREFIX}/lib
X	@ ln -s ${PREFIX}/lib/libshhopt.so.1.1.3 ${PREFIX}/lib/libshhopt.so
X	@ ${MKDIR} ${PREFIX}/share/doc/libshhopt
X	@ ${INSTALL_DATA} ${WRKSRC}/CREDITS ${PREFIX}/share/doc/libshhopt
X	@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/libshhopt
X	@ ${MKDIR} ${PREFIX}/share/examples/libshhopt
X	@ ${INSTALL_DATA} ${FILESDIR}/Makefile ${PREFIX}/share/examples/libshhopt
X	@ ${INSTALL_DATA} ${WRKSRC}/example.c ${PREFIX}/share/examples/libshhopt
X
X.include <bsd.port.mk>
END-of-libshhopt-1.1.3/Makefile
echo c - libshhopt-1.1.3/pkg
mkdir -p libshhopt-1.1.3/pkg > /dev/null 2>&1
echo x - libshhopt-1.1.3/pkg/PLIST
sed 's/^X//' >libshhopt-1.1.3/pkg/PLIST << 'END-of-libshhopt-1.1.3/pkg/PLIST'
Xinclude/shhopt.h
Xlib/libshhopt.so.1.1.3
Xlib/libshhopt.so
X@exec /sbin/ldconfig -m %D/lib
X@unexec /sbin/ldconfig -m %D/lib
Xshare/doc/libshhopt/CREDITS
Xshare/doc/libshhopt/README
Xshare/examples/libshhopt/Makefile
Xshare/examples/libshhopt/example.c
X@dirrm share/doc/libshhopt
X@dirrm share/examples/libshhopt
END-of-libshhopt-1.1.3/pkg/PLIST
echo x - libshhopt-1.1.3/pkg/COMMENT
sed 's/^X//' >libshhopt-1.1.3/pkg/COMMENT << 'END-of-libshhopt-1.1.3/pkg/COMMENT'
Xlibrary for parsing command line options.
END-of-libshhopt-1.1.3/pkg/COMMENT
echo x - libshhopt-1.1.3/pkg/DESCR
sed 's/^X//' >libshhopt-1.1.3/pkg/DESCR << 'END-of-libshhopt-1.1.3/pkg/DESCR'
Xshhopt - library for parsing command line options. It contains
XC-functions for parsing command line options, both traditional
Xone-character options, and GNU'ish --long-options.
END-of-libshhopt-1.1.3/pkg/DESCR
echo c - libshhopt-1.1.3/files
mkdir -p libshhopt-1.1.3/files > /dev/null 2>&1
echo x - libshhopt-1.1.3/files/md5
sed 's/^X//' >libshhopt-1.1.3/files/md5 << 'END-of-libshhopt-1.1.3/files/md5'
XMD5 (shhopt-1.1.3.tar.gz) = fb8b13290d76071e9da349aeebc96545
END-of-libshhopt-1.1.3/files/md5
echo x - libshhopt-1.1.3/files/Makefile
sed 's/^X//' >libshhopt-1.1.3/files/Makefile << 'END-of-libshhopt-1.1.3/files/Makefile'
XPREFIX	= /usr/local
XLIBDIR	= $(PREFIX)/lib
XINCDIR	= $(PREFIX)/include
X
XCC	= gcc
X
Xexample:
X	$(CC) -o example example.c -I$(INCDIR) -L$(LIBDIR) -lshhopt
END-of-libshhopt-1.1.3/files/Makefile
echo c - libshhopt-1.1.3/patches
mkdir -p libshhopt-1.1.3/patches > /dev/null 2>&1
echo x - libshhopt-1.1.3/patches/patch-aa
sed 's/^X//' >libshhopt-1.1.3/patches/patch-aa << 'END-of-libshhopt-1.1.3/patches/patch-aa'
X--- Makefile	Tue May 27 21:14:45 1997
X+++ /home/andy/tmp/wrk/Makefile	Mon Apr 13 11:07:11 1998
X@@ -6,7 +6,7 @@
X VERSION		= $(VERMAJ).$(VERMIN).$(VERPAT)
X 
X # Define SHARED as 1 for Linux shared ELF library
X-#SHARED		= 1
X+SHARED		= 1
X 
X ifeq ($(SHARED),1)
X LIBTARGET	= lib$(DIST).so.$(VERSION)
X@@ -45,7 +45,7 @@
X # separately.  This error is harmless.
X $(LIBTARGET): $(LIBOBJS)
X ifeq ($(SHARED),1)
X-	$(CC) -shared -Wl,-soname,$(LIBTARGETSOMAJ) -o $(LIBTARGET) $(LIBOBJS)
X+	$(CC) -shared -o $(LIBTARGET) $(LIBOBJS)
X else
X 	ar rc $(LIBTARGET) $(LIBOBJS)
X 	ranlib $(LIBTARGET) || true
END-of-libshhopt-1.1.3/patches/patch-aa
exit


>How-To-Repeat:

>Fix:

   Please, check and commit this port.

>Release-Note:
>Audit-Trail:

From: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
To: freebsd-gnats-submit@freebsd.org, andy@icc.surw.chel.su
Cc:  
Subject: Re: ports/6331: New port: libshhopt-1.1.3
Date: Thu, 18 Mar 1999 00:37:53 +0900

 I cannot get shhopt-1.1.3.tar.gz from MASTER_SITES.
 I think this port is not on ELF systems.
 
 S. TAOKA
 
 

From: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp>
To: freebsd-gnats-submit@freebsd.org, andy@icc.surw.chel.su
Cc:  
Subject: Re: ports/6331: New port: libshhopt-1.1.3
Date: Thu, 18 Mar 1999 02:07:33 +0900

 I found MASTER_SITES.  It is
 http://home.sol.no/~sverrehu/pub-unix/files/
 Please update this, ports/6473 and ports/6474.
 
 S. Taoka
 
 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Fri Apr 2 17:14:45 PST 1999 
State-Changed-Why:  
New port committed, thanks! 
>Unformatted:
