Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Mar 2006 11:46:11 +0100
From:      "Kay Lehmann" <kay_lehmann@web.de>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/94686: [New Port] textproc/btparse: C library for parsing and processing BibTeX data files
Message-ID:  <1142765171.11992@bippes.finkenkrug.ev>
Resent-Message-ID: <200603191050.k2JAoG8l077753@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94686
>Category:       ports
>Synopsis:       [New Port] textproc/btparse: C library for parsing and processing BibTeX data files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 19 10:50:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Kay Lehmann
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:


System: FreeBSD 6.1-PRERELEASE #9: Thu Mar  2 08:59:22 CET 2006
    root@bippes.finkenkrug.ev:/usr/obj/usr/src/sys/bippes



>Description:


add btparse as an seperate port.
There are some progs needing btparse.h (for example p5-Text-Bibtex and 
literature, which is not yet in the portstree).
Currently these ports just use a workaround to compile.
With a seperate port we can handle btparse somehow more like we do 
with other libs.


>How-To-Repeat:





>Fix:


--- btparse.shar begins here ---
# 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:
#
#	btparse
#	btparse/pkg-descr
#	btparse/Makefile
#	btparse/pkg-plist
#	btparse/distinfo
#	btparse/files
#	btparse/files/patch-Makefile.in
#
echo c - btparse
mkdir -p btparse > /dev/null 2>&1
echo x - btparse/pkg-descr
sed 's/^X//' >btparse/pkg-descr << 'END-of-btparse/pkg-descr'
Xbtparse is a C library for parsing and processing BibTeX files. 
XIt provides a lexical scanner and LR parser (constructed by PCCTS), 
Xboth of which are efficient and offer good error detection and 
Xrecovery; a set of functions for traversing the AST (abstract 
Xsyntax tree) generated by the parser; and utility functions for 
Xmanipulating strings according to BibTeX conventions.
X
XWWW:	http://www.gerg.ca/software/btOOL
END-of-btparse/pkg-descr
echo x - btparse/Makefile
sed 's/^X//' >btparse/Makefile << 'END-of-btparse/Makefile'
X# New ports collection makefile for:	btparse
X# Date created:		2006-03-19
X# Whom:			Kay Lehmann <kay_lehmann@web.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	btparse
XPORTVERSION=	0.35
XCATEGORIES=	textproc
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	../by-authors/id/A/AM/AMBS/${PORTNAME}
X
XMAINTAINER=	kay_lehmann@web.de
XCOMMENT=	C library for parsing and processing BibTeX data files
X
XGNU_CONFIGURE=	yes
XINSTALLS_SHLIB=	yes
X
XMAN3=		btparse.3 bt_language.3 bt_input.3 bt_traversal.3 \
X		bt_postprocess.3 bt_macros.3 bt_split_names.3 \
X		bt_format_names.3 bt_misc.3
X
X.include <bsd.port.pre.mk>
X.include <bsd.port.post.mk>
END-of-btparse/Makefile
echo x - btparse/pkg-plist
sed 's/^X//' >btparse/pkg-plist << 'END-of-btparse/pkg-plist'
X@comment $FreeBSD$
Xbin/bibparse
Xinclude/btparse.h
Xlib/libbtparse.so.0
Xlib/libbtparse.so
Xlib/libbtparse.la
Xlib/libbtparse.a
Xlibdata/pkgconfig/btparse.pc
X@dirrmtry libdata/pkgconfig
END-of-btparse/pkg-plist
echo x - btparse/distinfo
sed 's/^X//' >btparse/distinfo << 'END-of-btparse/distinfo'
XMD5 (btparse-0.35.tar.gz) = b71ea8ccd30873356d33d62e36ac63f0
XSHA256 (btparse-0.35.tar.gz) = 631bf1b79dfd4c83377b416a12c349fe88ee37448dc82e41424b2f364a99477b
XSIZE (btparse-0.35.tar.gz) = 470546
END-of-btparse/distinfo
echo c - btparse/files
mkdir -p btparse/files > /dev/null 2>&1
echo x - btparse/files/patch-Makefile.in
sed 's/^X//' >btparse/files/patch-Makefile.in << 'END-of-btparse/files/patch-Makefile.in'
X--- Makefile.in.orig	Sun Mar 19 11:21:45 2006
X+++ Makefile.in	Sun Mar 19 11:22:15 2006
X@@ -139,7 +139,7 @@
X SUBDIRS = src tests progs doc
X EXTRA_DIST = $(wildcard pccts/*.[ch]) btparse.pc.in
X 
X-pkgconfigdir = $(libdir)/pkgconfig
X+pkgconfigdir = $(libdir)/../libdata/pkgconfig
X pkgconfig_DATA = btparse.pc
X subdir = .
X ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
END-of-btparse/files/patch-Makefile.in
exit

--- btparse.shar ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1142765171.11992>