pkgsrc/print/bibtool/Makefile
markd 3ecd5b83fb Update BibTool to 2.65
2.65
* Hash function and value storing for field name mapping during xref
  expansion fixed.

2.64
* New resource expand.xdata introduced to control the
  expansion of xdata references.
* New resource crossref.map introduced to add a field name
  mapping for crossrefs.
* New resource clear.crossref.map introduced to clear the
  field name mapping for crossrefs.
* io.c introduced to contain input and output file parameters.
* Documentation switched to Lua\LaTeX.

2.63
* Omission of the previous release fixed.

2.62
* Combined rewrite and delete bug fixed.
* Minor improvements for the distribution.
* README renamed to README.md to comply with the
  conventions of the GitHub repository.

2.61
* New resource rename.field introduced to conditionally rename a
  field.
* Typedef String for Uchar* and used across.
* Duplicate file doc/bibtool.tex in the distribution tar ball
  eliminated.

2.60
* The field name and other symbols may start with any allowed
  character. Non-alpha characters at the beginning are treated as
  warning only.

2.59
* Fix in print.c to omit an empty line after overflowing lines.
* Fix in print.c to avoid an overflow situation.

2.58
* Library tex_def.rsc extended with the primitives \i and \j.
* The source tar is signed. The key of the author can be obtained
  from pgp.mit.edu.
* Test renamed to test.
2016-09-08 03:52:26 +00:00

59 lines
2 KiB
Makefile

# $NetBSD: Makefile,v 1.18 2016/09/08 03:52:26 markd Exp $
DISTNAME= BibTool-2.65
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=biblio/bibtex/utils/bibtool/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gerd-neugebauer.de/software/TeX/BibTool.en.html
COMMENT= Tool to manipulate BibTeX databases
LICENSE= gnu-gpl-v1
BUILD_DEPENDS+= tex-bibtex-[0-9]*:../../print/tex-bibtex
BUILD_DEPENDS+= tex-booktabs-[0-9]*:../../print/tex-booktabs
BUILD_DEPENDS+= tex-geometry-[0-9]*:../../print/tex-geometry
BUILD_DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
BUILD_DEPENDS+= tex-koma-script-[0-9]*:../../print/tex-koma-script
BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
BUILD_DEPENDS+= tex-listings-[0-9]*:../../print/tex-listings
BUILD_DEPENDS+= tex-oberdiek-[0-9]*:../../print/tex-oberdiek
BUILD_DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools
BUILD_DEPENDS+= makeindexk-[0-9]*:../../textproc/makeindexk
GNU_CONFIGURE= yes
MAKE_FILE= makefile
#CONFIGURE_DIRS= ${WRKSRC} ${WRKSRC}/BibTcl
WRKSRC= ${WRKDIR}/${PKGBASE}
USE_TOOLS+= perl
REPLACE_INTERPRETER+= tcl
REPLACE.tcl.old= /usr/local/bin/tclsh
REPLACE.tcl.new= ${PREFIX}/bin/tclsh
REPLACE_FILES.tcl= Tcl/bibtool.tcl
REPLACE_PERL+= Perl/bibtool.pl
DOCDIR= ${PREFIX}/share/doc/BibTool
EXAMPLEDIR= ${PREFIX}/share/examples/BibTool
INSTALL_MAKE_FLAGS= prefix=${DESTDIR}${PREFIX} \
MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
INSTALL_TARGET= install install.man
INSTALLATION_DIRS= ${DOCDIR} ${EXAMPLEDIR}
#pre-configure:
# rm ${WRKSRC}/BibTcl/Makefile
# mv ${WRKSRC}/BibTcl/Makefile.in ${WRKSRC}/BibTcl/makefile.in
post-build:
cd ${WRKSRC}/doc && ${MAKE}
# cd ${WRKSRC}/BibTcl && ${MAKE}
post-install:
set -e; for i in ${WRKSRC}/doc/*.pdf; do \
${INSTALL_DATA} "$$i" ${DESTDIR}${DOCDIR}; \
done
${INSTALL_DATA} ${WRKSRC}/Perl/bibtool.pl ${DESTDIR}${EXAMPLEDIR}
${INSTALL_DATA} ${WRKSRC}/Tcl/bibtool.tcl ${DESTDIR}${EXAMPLEDIR}
# cd ${WRKSRC}/BibTcl && make install
.include "../../mk/bsd.pkg.mk"