svn commit: r341145 - in head/textproc/bibtex2html: . files
Mathieu Arnold
mat at FreeBSD.org
Sun Jan 26 00:05:37 UTC 2014
Author: mat
Date: Sun Jan 26 00:05:36 2014
New Revision: 341145
URL: http://svnweb.freebsd.org/changeset/ports/341145
QAT: https://qat.redports.org/buildarchive/r341145/
Log:
- Convert to staging
- Add option to build pdf doc
PR: 186113
Submitted by: mat
Approved by: gerald
Sponsored by: Absolight
Added:
head/textproc/bibtex2html/files/
head/textproc/bibtex2html/files/patch-Makefile.in (contents, props changed)
Modified:
head/textproc/bibtex2html/Makefile
Modified: head/textproc/bibtex2html/Makefile
==============================================================================
--- head/textproc/bibtex2html/Makefile Sun Jan 26 00:05:02 2014 (r341144)
+++ head/textproc/bibtex2html/Makefile Sun Jan 26 00:05:36 2014 (r341145)
@@ -12,10 +12,18 @@ COMMENT= Tools for searching BibTeX and
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>
Added: head/textproc/bibtex2html/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/bibtex2html/files/patch-Makefile.in Sun Jan 26 00:05:36 2014 (r341145)
@@ -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
More information about the svn-ports-all
mailing list