summaryrefslogtreecommitdiff
path: root/converters/bibtex2html/Makefile
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-02-14 15:51:10 +0000
committerminskim <minskim@pkgsrc.org>2005-02-14 15:51:10 +0000
commita2bcb7b79a63e639f9cb02508d0f3a22eb2d65ef (patch)
tree9c97b5defc66f82603433018aef8dcd3b7fbfc0a /converters/bibtex2html/Makefile
parent736cf06c4ac918829b465dc1bb42adaa3a9db7d5 (diff)
downloadpkgsrc-a2bcb7b79a63e639f9cb02508d0f3a22eb2d65ef.tar.gz
Install documentation and update the man page to point to the correct
location. This fixed PR pkg/29371. Bump PKGREVISION.
Diffstat (limited to 'converters/bibtex2html/Makefile')
-rw-r--r--converters/bibtex2html/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/converters/bibtex2html/Makefile b/converters/bibtex2html/Makefile
index fdab04111ae..962243951e9 100644
--- a/converters/bibtex2html/Makefile
+++ b/converters/bibtex2html/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2005/02/14 15:40:19 minskim Exp $
+# $NetBSD: Makefile,v 1.6 2005/02/14 15:51:10 minskim Exp $
DISTNAME= bibtex2html-1.74
+PKGREVISION= 1
CATEGORIES= converters
MASTER_SITES= http://www.lri.fr/~filliatr/ftp/bibtex2html/
@@ -9,12 +10,22 @@ HOMEPAGE= http://www.lri.fr/~filliatr/bibtex2html/
COMMENT= Collection of tools for translating from BibTeX to HTML
BUILD_DEPENDS= ocaml>=3.08:../../lang/ocaml
+BUILD_DEPENDS+= hevea-[0-9]*:../../textproc/hevea
DEPENDS+= teTeX-bin-[0-9]*:../../print/teTeX-bin
NO_BUILDLINK= yes
GNU_CONFIGURE= yes
USE_PERL5= run
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= "Fixing hardcoded paths."
+SUBST_STAGE.paths= pre-configure
+SUBST_FILES.paths= aux2bib.1
+SUBST_SED.paths= -e 's,/usr/share,${PREFIX}/share,g'
+
+post-build:
+ cd ${WRKSRC}; ${MAKE} doc
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/aux2bib ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bibtex2html ${PREFIX}/bin
@@ -22,5 +33,8 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/bibtex2html.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/bibtex2html.1 ${PREFIX}/man/man1/bib2bib.1
${INSTALL_MAN} ${WRKSRC}/aux2bib.1 ${PREFIX}/man/man1/aux2bib.1
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/manual.html ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/manual.ps ${PREFIX}/share/doc/${PKGBASE}
.include "../../mk/bsd.pkg.mk"