Add textproc/bibclean

Bibclean is a prettyprinter, portability verifier, and syntax checker for
BibTeX bibliography databases.  It can be used to find errors in .bib
files, as well as to standardize their format for readability and editing
convenience. It can also be used to convert Scribe-format bibliographies to
BibTeX form.

WWW: http://ftp.math.utah.edu/pub//bibclean/
This commit is contained in:
Mateusz Piotrowski 2020-09-21 15:01:23 +00:00
parent b5eae4c190
commit 0a37dcf8fa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549448
6 changed files with 64 additions and 0 deletions

View File

@ -68,6 +68,7 @@
SUBDIR += bg-hyphen
SUBDIR += bg-mythes
SUBDIR += bib2html
SUBDIR += bibclean
SUBDIR += bibtex2html
SUBDIR += bibtool
SUBDIR += bibutils

View File

@ -0,0 +1,18 @@
# $FreeBSD$
PORTNAME= bibclean
DISTVERSION= 3.04
CATEGORIES= textproc
MASTER_SITES= http://ftp.math.utah.edu/pub//bibclean/
MAINTAINER= 0mp@FreeBSD.org
COMMENT= Prettyprinter, portability verifier, and syntax checker for BibTeX
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
PLIST_SUB= VERSION=${DISTVERSION}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1600697423
SHA256 (bibclean-3.04.tar.gz) = a0ad3655ed7c899e987de99e2ce058fa4407d472e093a19c499d757d5e5af7b0
SIZE (bibclean-3.04.tar.gz) = 2712015

View File

@ -0,0 +1,29 @@
--- Makefile.in.orig 2020-09-21 14:24:41 UTC
+++ Makefile.in
@@ -94,10 +94,10 @@ BIBCLEANNAME = bibclean
prefix = @prefix@
exec_prefix = ${prefix}
-bindir = ${exec_prefix}/bin
-srcdir = @srcdir@
+bindir = ${DESTDIR}/${exec_prefix}/bin
+srcdir = ${DESTDIR}/@srcdir@
-datarootdir = @datarootdir@
+datarootdir = ${DESTDIR}/@datarootdir@
datadir = @datadir@
bibcleandir = ${datadir}/${BIBCLEANNAME}
initdir = ${bibcleandir}/${VERSION}
@@ -117,10 +117,10 @@ LIBS = @LIBS@
OPT =
-VPATH = @srcdir@
+VPATH = ${DESTDIR}/@srcdir@
### Where to install the manual pages.
-mandir = ${prefix}/man/man1
+mandir = ${DESTDIR}${prefix}/share/man/man1
### Extension (not including `.') for the installed manual page filenames.
manext = 1

View File

@ -0,0 +1,6 @@
Bibclean is a prettyprinter, portability verifier, and syntax checker for
BibTeX bibliography databases. It can be used to find errors in .bib files, as
well as to standardize their format for readability and editing convenience. It
can also be used to convert Scribe-format bibliographies to BibTeX form.
WWW: http://ftp.math.utah.edu/pub//bibclean/

View File

@ -0,0 +1,7 @@
bin/bibclean
bin/bibclean-%%VERSION%%
share/man/man1/bibclean.1.gz
share/man/man1/bibclean-%%VERSION%%.1.gz
%%DATADIR%%/%%VERSION%%/bibclean.ini
%%DATADIR%%/%%VERSION%%/bibclean.isbn
%%DATADIR%%/%%VERSION%%/bibclean.key