aboutsummaryrefslogtreecommitdiff
path: root/textproc/bibclean
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/bibclean')
-rw-r--r--textproc/bibclean/Makefile18
-rw-r--r--textproc/bibclean/distinfo3
-rw-r--r--textproc/bibclean/files/patch-Makefile.in29
-rw-r--r--textproc/bibclean/pkg-descr6
-rw-r--r--textproc/bibclean/pkg-plist7
5 files changed, 63 insertions, 0 deletions
diff --git a/textproc/bibclean/Makefile b/textproc/bibclean/Makefile
new file mode 100644
index 000000000000..906bffe411e6
--- /dev/null
+++ b/textproc/bibclean/Makefile
@@ -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>
diff --git a/textproc/bibclean/distinfo b/textproc/bibclean/distinfo
new file mode 100644
index 000000000000..8bf45639c60d
--- /dev/null
+++ b/textproc/bibclean/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1600697423
+SHA256 (bibclean-3.04.tar.gz) = a0ad3655ed7c899e987de99e2ce058fa4407d472e093a19c499d757d5e5af7b0
+SIZE (bibclean-3.04.tar.gz) = 2712015
diff --git a/textproc/bibclean/files/patch-Makefile.in b/textproc/bibclean/files/patch-Makefile.in
new file mode 100644
index 000000000000..08497c4df9b9
--- /dev/null
+++ b/textproc/bibclean/files/patch-Makefile.in
@@ -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
+
diff --git a/textproc/bibclean/pkg-descr b/textproc/bibclean/pkg-descr
new file mode 100644
index 000000000000..1e8c1a1756e1
--- /dev/null
+++ b/textproc/bibclean/pkg-descr
@@ -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/
diff --git a/textproc/bibclean/pkg-plist b/textproc/bibclean/pkg-plist
new file mode 100644
index 000000000000..09e0a4b9633c
--- /dev/null
+++ b/textproc/bibclean/pkg-plist
@@ -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