summaryrefslogtreecommitdiff
path: root/print/tex-bibtex8
diff options
context:
space:
mode:
authorcheusov <cheusov>2012-01-22 16:21:33 +0000
committercheusov <cheusov>2012-01-22 16:21:33 +0000
commit5bce40db1de999f815446adb1ce03b5caa4825a1 (patch)
tree0c6eaf16306693f5e82d7c3963569a525ae03504 /print/tex-bibtex8
parent0a669d172a33cbc54a9fd7d8ce1f72516642454e (diff)
downloadpkgsrc-5bce40db1de999f815446adb1ce03b5caa4825a1.tar.gz
A multilanguage implementation of BibTeX 0.99.
(v3.71) "big" BibTeX with full support of 8-bit encodings An enhanced, portable C version of BibTeX. Enhanced by conversion to "big" (32-bit) capacity, addition of run-time selectable capacity and 8-bit support extensions. National character set and sorting order are controlled by an external configuration file. Various examples are included.
Diffstat (limited to 'print/tex-bibtex8')
-rw-r--r--print/tex-bibtex8/DESCR8
-rw-r--r--print/tex-bibtex8/Makefile44
-rw-r--r--print/tex-bibtex8/PLIST11
-rw-r--r--print/tex-bibtex8/distinfo8
4 files changed, 71 insertions, 0 deletions
diff --git a/print/tex-bibtex8/DESCR b/print/tex-bibtex8/DESCR
new file mode 100644
index 00000000000..56d4bbba604
--- /dev/null
+++ b/print/tex-bibtex8/DESCR
@@ -0,0 +1,8 @@
+A multilanguage implementation of BibTeX 0.99.
+(v3.71) "big" BibTeX with full support of 8-bit encodings
+
+An enhanced, portable C version of BibTeX. Enhanced by conversion to "big"
+(32-bit) capacity, addition of run-time selectable capacity and 8-bit
+support extensions. National character set and sorting order are controlled
+by an external configuration file.
+Various examples are included.
diff --git a/print/tex-bibtex8/Makefile b/print/tex-bibtex8/Makefile
new file mode 100644
index 00000000000..308891b98cb
--- /dev/null
+++ b/print/tex-bibtex8/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.1.1.1 2012/01/22 16:21:33 cheusov Exp $
+#
+
+DISTNAME= tex-bibtex8-3.71
+CATEGORIES= print
+MASTER_SITES= http://mirrors.ctan.org/biblio/bibtex/8-bit/
+DISTFILES= bt371src.zip bt371csf.zip
+
+MAINTAINER= cheusov@NetBSD.org
+HOMEPAGE= http://mirrors.ctan.org/biblio/bibtex/8-bit/
+COMMENT= 8-bit Implementation of BibTeX 0.99 with multilanguage support
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR} # More than one possibility -- please check manually.
+
+MAKE_FILE= unix.mak
+BUILD_TARGET= bibtex-exe
+MAKE_FLAGS+= CFLAGS=${CFLAGS.${PKGSRC_COMPILER}:Q}
+MAKE_FLAGS+= CSF_INPUT_PATH=${PREFIX}/${TEXMFDIR}/bibtex/csf
+MAKE_FLAGS+= BIB_INPUT_PATH=${PREFIX}/${TEXMFDIR}/bibtex/bib
+MAKE_FLAGS+= BST_INPUT_PATH=${PREFIX}/${TEXMFDIR}/bibtex/bst
+
+CFLAGS.gcc= -Wall -Wno-char-subscripts -funsigned-char
+CFLAGS.pcc= ${CFLAGS.gcc}
+CFLAGS.icc= ${CFLAGS.gcc}
+CFLAGS.clang= ${CFLAGS.gcc}
+CFLAGS.sunpro= -xchar=u
+CFLAGS.xlc= -qchars=unsigned
+
+TEXMFDIR= share/texmf-dist
+INSTALLATION_DIRS= bin ${TEXMFDIR}/bibtex/csf
+
+post-build:
+ set -e; cd ${WRKSRC}; \
+ iconv -f cp866 -t koi8-r cp866rus.csf > koi8r.csf; \
+ iconv -f cp866 -t cp1251 cp866rus.csf > cp1251rus.csf
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bibtex ${DESTDIR}${PREFIX}/bin/bibtex8
+ ${INSTALL_DATA} ${WRKSRC}/*.csf ${DESTDIR}${PREFIX}/${TEXMFDIR}/bibtex/csf
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/tex-bibtex8/PLIST b/print/tex-bibtex8/PLIST
new file mode 100644
index 00000000000..61a6c3f50a9
--- /dev/null
+++ b/print/tex-bibtex8/PLIST
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2012/01/22 16:21:33 cheusov Exp $
+bin/bibtex8
+share/texmf-dist/bibtex/csf/88591lat.csf
+share/texmf-dist/bibtex/csf/88591sca.csf
+share/texmf-dist/bibtex/csf/ascii.csf
+share/texmf-dist/bibtex/csf/cp1251rus.csf
+share/texmf-dist/bibtex/csf/cp437lat.csf
+share/texmf-dist/bibtex/csf/cp850lat.csf
+share/texmf-dist/bibtex/csf/cp850sca.csf
+share/texmf-dist/bibtex/csf/cp866rus.csf
+share/texmf-dist/bibtex/csf/koi8r.csf
diff --git a/print/tex-bibtex8/distinfo b/print/tex-bibtex8/distinfo
new file mode 100644
index 00000000000..3290e2fee77
--- /dev/null
+++ b/print/tex-bibtex8/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2012/01/22 16:21:33 cheusov Exp $
+
+SHA1 (bt371csf.zip) = 793cae758231f269fe09a982230b69716b71ff8f
+RMD160 (bt371csf.zip) = 178edb6758c0955e18299285184665410aa0b811
+Size (bt371csf.zip) = 43881 bytes
+SHA1 (bt371src.zip) = ede3c239c5b7ad8745acfd82d8780d5db368fe66
+RMD160 (bt371src.zip) = fd130b447673c1e9d25a154fd0e14ae336443b76
+Size (bt371src.zip) = 182878 bytes