diff options
author | mat <mat@FreeBSD.org> | 2014-01-26 08:05:36 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2014-01-26 08:05:36 +0800 |
commit | 97127fd5fda035ce5839480517df334da94a7860 (patch) | |
tree | 266930c961bade72056424371d6f63a594300d3a /textproc/bibtex2html | |
parent | 2657ca559fa46d441d8c3812cb7cec87785242a7 (diff) | |
download | freebsd-ports-gnome-97127fd5fda035ce5839480517df334da94a7860.tar.gz freebsd-ports-gnome-97127fd5fda035ce5839480517df334da94a7860.tar.zst freebsd-ports-gnome-97127fd5fda035ce5839480517df334da94a7860.zip |
- Convert to staging
- Add option to build pdf doc
PR: 186113
Submitted by: mat
Approved by: gerald
Sponsored by: Absolight
Diffstat (limited to 'textproc/bibtex2html')
-rw-r--r-- | textproc/bibtex2html/Makefile | 16 | ||||
-rw-r--r-- | textproc/bibtex2html/files/patch-Makefile.in | 22 |
2 files changed, 34 insertions, 4 deletions
diff --git a/textproc/bibtex2html/Makefile b/textproc/bibtex2html/Makefile index 427714b108a6..f2d10b7165a4 100644 --- a/textproc/bibtex2html/Makefile +++ b/textproc/bibtex2html/Makefile @@ -12,10 +12,18 @@ COMMENT= Tools for searching BibTeX and translating from BibTeX to HTML BUILD_DEPENDS= ocaml:${PORTSDIR}/lang/ocaml GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-doc -MAN1= bibtex2html.1 bib2bib.1 aux2bib.1 -PLIST_FILES= bin/aux2bib bin/bib2bib bin/bibtex2html +OPTIONS_DEFINE= PDFDOCS +PDFDOCS_DESC= ${DOCS_DESC} + +PDFDOCS_CONFIGURE_ENABLE= doc +PDFDOCS_USE= TEX=latex:build +PDFDOCS_BUILD_DEPENDS= hevea:${PORTSDIR}/textproc/hevea +PDFDOCS_INSTALL_TARGET= install install-doc + +PORTDOCS= * + +PLIST_FILES= bin/aux2bib bin/bib2bib bin/bibtex2html \ + man/man1/bibtex2html.1.gz man/man1/bib2bib.1.gz man/man1/aux2bib.1.gz -NO_STAGE= yes .include <bsd.port.mk> diff --git a/textproc/bibtex2html/files/patch-Makefile.in b/textproc/bibtex2html/files/patch-Makefile.in new file mode 100644 index 000000000000..2387af8875a5 --- /dev/null +++ b/textproc/bibtex2html/files/patch-Makefile.in @@ -0,0 +1,22 @@ +--- ./Makefile.in.orig 2012-02-06 09:39:54.000000000 +0000 ++++ ./Makefile.in 2014-01-25 22:42:26.000000000 +0000 +@@ -19,16 +19,16 @@ + ######################################### + + # where to put executable files +-prefix=@prefix@ ++prefix=$(DESTDIR)@prefix@ + exec_prefix=@exec_prefix@ + BINDIR=@bindir@ + EXE=@EXE@ + + # where to install the man pages +-MANDIR = @mandir@ ++MANDIR = $(DESTDIR)@mandir@ + + # where to install the doc +-DOCDIR = $(prefix)/doc/bibtex2html ++DOCDIR = $(prefix)/share/doc/bibtex2html + + ######################################### + # End of configuration part |