Date: Fri, 17 Apr 1998 16:07:58 +0400 (MSD) From: Andrey Zakhvatov <andy@icc.surw.chel.su> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/6331: New port: libshhopt-1.1.3 Message-ID: <199804171207.QAA09356@icc.surw.chel.su>
next in thread | raw e-mail | index | archive | help
>Number: 6331 >Category: ports >Synopsis: New port: libshhopt-1.1.3 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Apr 17 05:10:00 PDT 1998 >Last-Modified: >Originator: Andrey Zakhvatov >Organization: South Ural Railway ICC >Release: FreeBSD 2.2.2-RELEASE i386 >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. >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804171207.QAA09356>