84650448c5
While here update to latest version - 1.96 ersion 1.96, September 29, 2010 ================================ o option -debug now prints the exact BibTeX commmand which is run o new option --note-html similar to --note but assuming a bibtex field already in HTML format o various little changes in the Makefile requested by the Debian maintainer Version 1.95, March 23, 2010 ============================ o bib2bib: option "--php-output" to produce output as a PHP 2D array o bib2bib: options "--remove" and "--rename", to remove or rename fields o new headers with proper copyright o bib2bib: option "--no-comment", to prevent generation of extra comments o fixed support for DOI links: when field "doi" is already an URL, the DOI prefix is not prepended o tags "bibtexnumber" and "bibtexitem" are now inserted to ease the customization using CSS Version 1.94, 07/05/09 ====================== o support for arXiv preprints links: a field "eprint = {xxx}" will be recognized, if any, and a link to http://arxiv.org/abs/ will be displayed; option -noeprint turns it off and option -eprintf-prefix <url> sets a different prefix for the urls (contributed by Ari Stern) Version 1.93, 12/12/08 ====================== o bib2bib: giving '$date' as argument of option -s allows to sort from oldest to newest entry o bib2bib: field names in conditions may contain digits and '-' (usefull for custom fields) Version 1.92, 08/07/08 ====================== o Windows installer (using NSIS nsis.sourceforge.net) o new bib2bib option --expand-xrefs to perform crossrefs expansion o option -m (reading macros from a file): - fixed macro definition with \def - macros with arguments are now supported o added accents conversion for tilda, and fixed accents conversion for \"i, \"\i and such (patch by Samuel Colin) o fixed bib2bib command line options to accept --warn-error and --quiet (as described in the manual) Version 1.91, 20/02/2008 ======================== o fixed bug in bib2bib and bibtex2html when quotes (") are used in fields o fixed bug with -nobibsource and -multiple (bib links on the separate pages) Version 1.90, 01/02/2008 ======================== o bib2bib: = and <> are now case insensitive; use == and != instead to perform case sensitive comparison o correctly support $x$$y$ where the central $$ is not passing into display math mode o more cases for accent macros \' \~ \. \u \v (patch by John Kewley)
51 lines
1.6 KiB
Makefile
51 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.27 2011/04/01 21:14:53 markd Exp $
|
|
|
|
DISTNAME= bibtex2html-1.96
|
|
CATEGORIES= converters
|
|
MASTER_SITES= http://www.lri.fr/~filliatr/ftp/bibtex2html/
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://www.lri.fr/~filliatr/bibtex2html/
|
|
COMMENT= Collection of tools for translating from BibTeX to HTML
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
BUILD_DEPENDS+= hevea-[0-9]*:../../textproc/hevea
|
|
BUILD_DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= perl:run
|
|
TEX_ACCEPTED= teTeX3
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Fixing hardcoded paths.
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= aux2bib.1
|
|
SUBST_SED.paths= -e 's,/usr/share,${PREFIX}/share,g'
|
|
|
|
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
|
|
INSTALLATION_DIRS+= share/doc/${PKGBASE}
|
|
|
|
post-build:
|
|
set -e; \
|
|
cd ${WRKSRC}; ${MAKE} doc
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/aux2bib ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bibtex2html ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bib2bib ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/bibtex2html.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_MAN} ${WRKSRC}/bibtex2html.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/bib2bib.1
|
|
${INSTALL_MAN} ${WRKSRC}/aux2bib.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/aux2bib.1
|
|
${INSTALL_DATA} ${WRKSRC}/manual.html \
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
${INSTALL_DATA} ${WRKSRC}/manual.pdf \
|
|
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
.include "../../lang/ocaml/buildlink3.mk"
|
|
.include "../../mk/tex.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|