From owner-freebsd-ports Mon Oct 28 6: 0:16 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 07B5C37B401 for ; Mon, 28 Oct 2002 06:00:12 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 332BD43E77 for ; Mon, 28 Oct 2002 06:00:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9SE0Bx3011141 for ; Mon, 28 Oct 2002 06:00:11 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9SE0BcV011140; Mon, 28 Oct 2002 06:00:11 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A38F37B401 for ; Mon, 28 Oct 2002 05:56:08 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1567843E42 for ; Mon, 28 Oct 2002 05:56:08 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.6/8.12.6) with ESMTP id g9SDu77R090103 for ; Mon, 28 Oct 2002 05:56:07 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.6/8.12.6/Submit) id g9SDu70k090102; Mon, 28 Oct 2002 05:56:07 -0800 (PST) Message-Id: <200210281356.g9SDu70k090102@www.freebsd.org> Date: Mon, 28 Oct 2002 05:56:07 -0800 (PST) From: Peter Bozarov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: ports/44565: NEW PORT: devel/libds (Useful data structures library) Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44565 >Category: ports >Synopsis: NEW PORT: devel/libds (Useful data structures library) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Oct 28 06:00:10 PST 2002 >Closed-Date: >Last-Modified: >Originator: Peter Bozarov >Release: FreeBSD 4.7-RELEASE i386 >Organization: - >Environment: FreeBSD grid 4.7-RELEASE FreeBSD 4.7-RELEASE #0: Sun Oct 27 11:54:16 CET 2002 root@grid:/usr/src/sys/compile/GRID i386 >Description: A small, but useful library of data structures. Has AVL tree, binary heap, hash table, a queue, a stack, variable length array >How-To-Repeat: >Fix: # 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: # # libds # libds/Makefile # libds/pkg-comment # libds/pkg-descr # libds/pkg-plist # libds/distinfo # echo c - libds mkdir -p libds > /dev/null 2>&1 echo x - libds/Makefile sed 's/^X//' >libds/Makefile << 'END-of-libds/Makefile' X# New ports collection makefile for: libds X# Date created: 25 October 2002 X# Whom: Peter Bozarov (kingofgib@users.sourceforge.net) X# X# $FreeBSD$ X# X XPORTNAME= libds XPORTVERSION= 1.0 XCATEGORIES= devel XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= libds XDISTNAME= libds-2.1 X XMAINTAINER= kingofgib@users.sourceforge.net X XINSTALLS_SHLIB= yes XALL_TARGET= gcc X X.include X XMAN3= libds.3 XHTML= avltree.html heap.html parray.html set.html hashtbl.html \ X index.html queue.html stack.html X X# Copy header file and libraries. Xdo-install: X ${INSTALL_DATA} ${WRKSRC}/ds.h ${PREFIX}/include X ${INSTALL_DATA} ${WRKSRC}/libds.a ${PREFIX}/lib X ${INSTALL_DATA} ${WRKSRC}/libds.so ${PREFIX}/lib/libds.so.1 X X# Make symbolic link to the shared library X# Install man pages. X# Instlal HTML pages. Xpost-install: X ${LN} -sf ${PREFIX}/lib/libds.so.1 ${PREFIX}/lib/libds.so X.for i in ${MAN3} X ${INSTALL_MAN} ${WRKSRC}/${i} ${PREFIX}/man/man3/${i} X.endfor X.if !defined(NOPORTDOCS) X ${MKDIR} ${PREFIX}/share/doc/libds X.for i in ${HTML} X ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${PREFIX}/share/doc/libds/${i} X.endfor X.endif X X.include END-of-libds/Makefile echo x - libds/pkg-comment sed 's/^X//' >libds/pkg-comment << 'END-of-libds/pkg-comment' XANSI Generic Data Structures Library END-of-libds/pkg-comment echo x - libds/pkg-descr sed 's/^X//' >libds/pkg-descr << 'END-of-libds/pkg-descr' XLibDS is a small but powerful and easy to use library containing a few Xvery useful data structures. Currently, the following data structures are Xsupported: X - a balanced binary tree (an AVL tree); X - a binary HEAP; X - a QUEUE; X - a HASH table; X - a SET and a BAG; X - a variable length array that can grows dynamically as new elements are X added or deleted (PARRAY). X - a STACK; X XLibDS has been designed to be very easy to use, without sacrificing either Xflexibility or speed. The API is small, and clean. END-of-libds/pkg-descr echo x - libds/pkg-plist sed 's/^X//' >libds/pkg-plist << 'END-of-libds/pkg-plist' Xinclude/ds.h Xlib/libds.a Xlib/libds.so.1 Xlib/libds.so X%%PORTDOCS%%share/doc/libds/avltree.html X%%PORTDOCS%%share/doc/libds/hashtbl.html X%%PORTDOCS%%share/doc/libds/heap.html X%%PORTDOCS%%share/doc/libds/index.html X%%PORTDOCS%%share/doc/libds/parray.html X%%PORTDOCS%%share/doc/libds/queue.html X%%PORTDOCS%%share/doc/libds/set.html X%%PORTDOCS%%share/doc/libds/stack.html X%%PORTDOCS%%@unexec rmdir %D/share/doc/libds 2>/dev/null || true X END-of-libds/pkg-plist echo x - libds/distinfo sed 's/^X//' >libds/distinfo << 'END-of-libds/distinfo' XMD5 (libds-2.1.tar.gz) = 91be12c3ee752ac3ae76ad2eef1b83c9 END-of-libds/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message