mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
add bib2html 0.10
The BibTeX to HTML Translator
This commit is contained in:
parent
ae1865e2db
commit
435db006df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=100809
@ -12,6 +12,7 @@
|
||||
SUBDIR += asm2html
|
||||
SUBDIR += aspell
|
||||
SUBDIR += bedic-data
|
||||
SUBDIR += bib2html
|
||||
SUBDIR += bibtex2html
|
||||
SUBDIR += bidiv
|
||||
SUBDIR += br-aspell
|
||||
|
36
textproc/bib2html/Makefile
Normal file
36
textproc/bib2html/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# ex:ts=8
|
||||
# Ports collection makefile for: bib2html
|
||||
# Date created: Jan 5, 2004
|
||||
# Whom: ijliao
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= bib2html
|
||||
PORTVERSION= 0.10
|
||||
CATEGORIES= textproc print
|
||||
MASTER_SITES= http://www.arakhne.org/mirrors/ \
|
||||
http://fresh.t-systems-sfr.com/unix/src/privat2/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= The BibTeX to HTML Translator
|
||||
|
||||
USE_REINPLACE= yes
|
||||
USE_PERL5_RUN= yes
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
||||
|
||||
PLIST_FILES= bin/bib2html
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|%%SITE_PERL%%|${SITE_PERL}|" ${WRKSRC}/bib2html.pl
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/bib2html.pl ${PREFIX}/bin/bib2html
|
||||
${CP} -R ${WRKSRC}/Bib2HTML ${SITE_PERL}
|
||||
@${FIND} ${SITE_PERL}/Bib2HTML -type f | \
|
||||
${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
|
||||
@${FIND} ${SITE_PERL}/Bib2HTML -type d | ${SORT} -r | \
|
||||
${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.mk>
|
2
textproc/bib2html/distinfo
Normal file
2
textproc/bib2html/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (bib2html-0.10.tar.gz) = bd41bee1136d95f346e9297fd9dbb8cb
|
||||
SIZE (bib2html-0.10.tar.gz) = 77665
|
11
textproc/bib2html/files/patch-BibScanner.pm
Normal file
11
textproc/bib2html/files/patch-BibScanner.pm
Normal file
@ -0,0 +1,11 @@
|
||||
--- Bib2HTML/Parser/BibScanner.pm.orig Fri Feb 13 09:23:42 2004
|
||||
+++ Bib2HTML/Parser/BibScanner.pm Fri Feb 13 09:23:59 2004
|
||||
@@ -327,7 +327,7 @@
|
||||
|
||||
sub transition_callback_entry_fields_main($) {
|
||||
my $self = shift ;
|
||||
- $self->addentry $self->{'BUFFER'}{'currententry'}{'key'},
|
||||
+ $self->addentry( $self->{'BUFFER'}{'currententry'}{'key'},
|
||||
$self->{'BUFFER'}{'currententry'}{'type'},
|
||||
$self->{'BUFFER'}{'currententry'}{'fields'},
|
||||
$self->{'BUFFER'}{'currententry'}{'lineno'} ) ;
|
11
textproc/bib2html/files/patch-bib2html.pl
Normal file
11
textproc/bib2html/files/patch-bib2html.pl
Normal file
@ -0,0 +1,11 @@
|
||||
--- bib2html.pl.orig Tue Jan 13 09:00:38 2004
|
||||
+++ bib2html.pl Tue Jan 13 09:01:05 2004
|
||||
@@ -33,7 +33,7 @@
|
||||
my $PERLSCRIPTDIR ;
|
||||
BEGIN{
|
||||
# Where is this script?
|
||||
- $PERLSCRIPTDIR = "$0";
|
||||
+ $PERLSCRIPTDIR = "%%SITE_PERL%%/Bib2HTML";
|
||||
my $scriptdir = dirname( $PERLSCRIPTDIR );
|
||||
while ( -e $PERLSCRIPTDIR && -l $PERLSCRIPTDIR ) {
|
||||
$PERLSCRIPTDIR = readlink($PERLSCRIPTDIR);
|
4
textproc/bib2html/pkg-descr
Normal file
4
textproc/bib2html/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
bib2html is a script which permits to generate a set of HTML pages from a
|
||||
BibTeX database.
|
||||
|
||||
WWW: http://www.arakhne.org/tools/bib2html/
|
Loading…
Reference in New Issue
Block a user