Date: Thu, 3 Nov 2005 22:38:03 +0800 (CST) From: Rong-En Fan <rafan@infor.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/88455: [NEW PORT] textproc/bibtool: Command line manipulation of BibTeX files Message-ID: <200511031438.jA3Ec30T094529@svm.csie.ntu.edu.tw> Resent-Message-ID: <200511031440.jA3EeCMB033860@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 88455 >Category: ports >Synopsis: [NEW PORT] textproc/bibtool: Command line manipulation of BibTeX 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: Thu Nov 03 14:40:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Rong-En Fan >Release: FreeBSD 5.4-RELEASE-p3 i386 >Organization: NTU CSIE >Environment: System: FreeBSD svm.csie.ntu.edu.tw 5.4-RELEASE-p3 FreeBSD 5.4-RELEASE-p3 #3: Thu Jun 30 11:34:40 CST 2005 >Description: Command line manipulation of BibTeX files: * Pretty-printing data bases * Syntactic checks with error recovery * Semantic checks * Sorting and merging of data bases * Generation of uniform reference keys according to predefined rules or according to user specification * Selecting references used in one publication which are found by analyzing an aux file * Controlled rewriting of fields utilising regular expressions to specify the rewriting rules * Macro (String) expansion to eliminate the need of extra string definitions * Collecting statistics about one or more data bases WWW: http://www.ctan.org/tex-archive/biblio/bibtex/utils/bibtool/ Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- bibtool-2.48.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: # # bibtool # bibtool/files # bibtool/files/patch-configure # bibtool/files/patch-main.c # bibtool/files/patch-makefile.in # bibtool/Makefile # bibtool/distinfo # bibtool/pkg-descr # bibtool/pkg-plist # echo c - bibtool mkdir -p bibtool > /dev/null 2>&1 echo c - bibtool/files mkdir -p bibtool/files > /dev/null 2>&1 echo x - bibtool/files/patch-configure sed 's/^X//' >bibtool/files/patch-configure << 'END-of-bibtool/files/patch-configure' X--- configure.orig Sun Feb 8 17:35:23 2004 X+++ configure Wed Nov 2 16:45:08 2005 X@@ -4566,12 +4566,12 @@ X kpathsea_dir= X kpathsea_lib= X kpathsea_def= X- for cand in .. ../kpse3-2 kpse3-2 . X+ for cand in ${LOCALBASE} X do X- if test -f $cand/kpathsea/tex-file.h ; then X- kpathsea_dir=$cand X- kpathsea_lib=$cand/kpathsea/STATIC/libkpathsea.a X- kpathsea_def="-DHAVE_LIBKPATHSEA -I$cand" X+ if test -f $cand/include/kpathsea/tex-file.h ; then X+ kpathsea_dir=$cand/include X+ kpathsea_lib=$cand/lib/libkpathsea.a X+ kpathsea_def="-DHAVE_LIBKPATHSEA -I$cand/include" X fi X done X if test -z "$kpathsea_dir"; then END-of-bibtool/files/patch-configure echo x - bibtool/files/patch-main.c sed 's/^X//' >bibtool/files/patch-main.c << 'END-of-bibtool/files/patch-main.c' X--- main.c.orig Wed Nov 2 16:45:23 2005 X+++ main.c Wed Nov 2 16:47:22 2005 X@@ -331,17 +331,6 @@ X X X /*----------------------------------------------------------------------------- X-** Function: true() X-** Type: static int X-** Purpose: X-** X-** Arguments: X-** X-** Returns: X-**___________________________________________________ */ X-static int true() { return TRUE; } X- X-/*----------------------------------------------------------------------------- X ** Function: keep_selected() X ** Type: static int X ** Purpose: END-of-bibtool/files/patch-main.c echo x - bibtool/files/patch-makefile.in sed 's/^X//' >bibtool/files/patch-makefile.in << 'END-of-bibtool/files/patch-makefile.in' X--- AutoConf/makefile.in.orig Sun Feb 8 17:46:11 2004 X+++ AutoConf/makefile.in Wed Nov 2 17:05:33 2005 X@@ -67,7 +67,7 @@ X # Name the C compiler X # X X-CC = @CC@ X+CC ?= @CC@ X X # ------------------------------------------------------- X # CFLAGS are the flags for the C compiler. X@@ -78,7 +78,7 @@ X # optimizer is turned on. X # X X-CFLAGS = X+CFLAGS += -DHAVE_PROTOTYPES X # CFLAGS = -O X # GNU C X # CFLAGS = -g -Wall X@@ -461,7 +461,7 @@ X # Targets from the GNU Regular Expression Library. X X regex$(OBJ): $(REGEX_DIR)$(DIR_SEP)regex.c $(MAKEFILE) X- $(CC) $(C_FLAGS) -I$(REGEX_DIR) -I.. $(NON_ANSI_DEFS) $(REGEX_DIR)$(DIR_SEP)regex.c $(DONT_LINK) -o $@ X+ $(CC) $(C_FLAGS) -DSTDC_HEADERS -I$(REGEX_DIR) -I.. $(NON_ANSI_DEFS) $(REGEX_DIR)$(DIR_SEP)regex.c $(DONT_LINK) -o $@ X X X bibtcl: END-of-bibtool/files/patch-makefile.in echo x - bibtool/Makefile sed 's/^X//' >bibtool/Makefile << 'END-of-bibtool/Makefile' X# New ports collection makefile for: bibtool X# Date created: Oct 10, 2005 X# Whom: Rong-En Fan <rafan@infor.org> X# X# $FreeBSD$ X# X XPORTNAME= bibtool XPORTVERSION= 2.48 XCATEGORIES= textproc print XMASTER_SITES= ${MASTER_SITE_TEX_CTAN} XMASTER_SITE_SUBDIR= biblio/bibtex/utils/${PORTNAME} XDISTNAME= BibTool-${PORTVERSION} X XMAINTAINER= rafan@infor.org XCOMMENT= Command line manipulation of BibTeX files X XBUILD_DEPENDS= ${LOCALBASE}/include/kpathsea/tex-file.h:${PORTSDIR}/print/teTeX-base X XGNU_CONFIGURE= yes XCONFIGURE_ARGS= --with-kpathsea XCONFIGURE_ENV= LOCALBASE=${LOCALBASE} X XMAKEFILE= makefile XINSTALL_TARGET= install install.man X XMAN1= bibtool.1 X XTXT_DOCS= Doc/bibtool.dvi Doc/ref_card.dvi Doc/c_lib.dvi X.if !defined(NOPORTDOCS) XPORTDOCS= ${TXT_DOCS:S/^Doc\///} X.endif X X.include <bsd.port.pre.mk> X Xpost-install: X.if !defined(NOPORTDOCS) X cd ${WRKSRC} && ${MAKE} doc && ${MAKE} doc X ${MKDIR} ${DOCSDIR} X for f in ${TXT_DOCS}; do \ X ${INSTALL_MAN} ${WRKSRC}/$$f ${DOCSDIR}; \ X done X.endif X X.include <bsd.port.post.mk> END-of-bibtool/Makefile echo x - bibtool/distinfo sed 's/^X//' >bibtool/distinfo << 'END-of-bibtool/distinfo' XMD5 (BibTool-2.48.tar.gz) = 20ebb18ea55e5f64b67f5b8edaa0d6fa XSIZE (BibTool-2.48.tar.gz) = 634267 END-of-bibtool/distinfo echo x - bibtool/pkg-descr sed 's/^X//' >bibtool/pkg-descr << 'END-of-bibtool/pkg-descr' XCommand line manipulation of BibTeX files: X X* Pretty-printing data bases X* Syntactic checks with error recovery X* Semantic checks X* Sorting and merging of data bases X* Generation of uniform reference keys according to predefined rules or X according to user specification X* Selecting references used in one publication which are found by X analyzing an aux file X* Controlled rewriting of fields utilising regular expressions to specify X the rewriting rules X* Macro (String) expansion to eliminate the need of extra string X definitions X* Collecting statistics about one or more data bases X XWWW: http://www.ctan.org/tex-archive/biblio/bibtex/utils/bibtool/ END-of-bibtool/pkg-descr echo x - bibtool/pkg-plist sed 's/^X//' >bibtool/pkg-plist << 'END-of-bibtool/pkg-plist' Xbin/bibtool Xlib/BibTool/braces.rsc Xlib/BibTool/check_y.rsc Xlib/BibTool/default.rsc Xlib/BibTool/field.rsc Xlib/BibTool/improve.rsc Xlib/BibTool/iso2tex.rsc Xlib/BibTool/month.rsc Xlib/BibTool/opt.rsc Xlib/BibTool/sort_fld.rsc Xlib/BibTool/tex_def.rsc X@dirrm lib/BibTool END-of-bibtool/pkg-plist exit --- bibtool-2.48.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?200511031438.jA3Ec30T094529>