1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/textproc/bibtool/Makefile
Fernando Apesteguía 69aa629543 textproc/bibtool: update to 2.68
ChangeLog:
https://www.ctan.org/ctan-ann/id/mailman.7071.1586884555.2586.ctan-ann@ctan.org

 * Handling of extracting by aux file improved.

 * Record extended by attribute lineno.
   This attribute carries the line number of the initiating \@.

 * The format of the error messages has been slightly streamlined.
   Double spaces are avoided; two colons in one message are avoided.

 * The format of the messages of `check_rule` include file and line
   number.

 * Warning for double fields added.

 * The empty output file is used to signal that the output should be
   suppressed.

 * The resources `check.warning.rule` and `check.error.rule`
   have been introduced to allow semantic checks to be classified as
   warning or error.

 * The behaviour of the resource `check.double` has been
   generalized. The requirement of double entries to be adjacent
   has been dropped. This has the impact that the processing is
   slightly slower.

 * New resource file `unique.field` intruduced. With this
   resource it is possible to specify additional unique constraints
   for fields. If different records have the same value for one of
   those fields then a warning is issued.

 * Static library renamed from libbib.a to libbibtool.a.

Reported by:	portscout
2020-04-15 11:16:36 +00:00

40 lines
903 B
Makefile

# Created by: Rong-En Fan <rafan@infor.org>
# $FreeBSD$
PORTNAME= bibtool
PORTVERSION= 2.68
CATEGORIES= textproc print
MASTER_SITES= TEX_CTAN/biblio/bibtex/utils/${PORTNAME}
DISTNAME= BibTool-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Command line manipulation of BibTeX files
LICENSE= GPLv2+
USE_TEX= latex:build luatex:build
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-kpathsea
CONFIGURE_ENV= LOCALBASE=${LOCALBASE}
WRKSRC= ${WRKDIR}/BibTool
MAKEFILE= makefile
INSTALL_TARGET= install install.man
PORTDOCS= bibtool.pdf ref_card.pdf c_lib.pdf
OPTIONS_DEFINE= DOCS
post-patch:
${REINPLACE_CMD} 's/bibtex$$/&8/' ${WRKSRC}/doc/Makefile
post-build:
cd ${WRKSRC} && ${MAKE} doc && ${MAKE} doc
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>