pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/bibtex2html Install documentation and updat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8d83a90017f2
branches:  trunk
changeset: 489011:8d83a90017f2
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Feb 14 15:51:10 2005 +0000

description:
Install documentation and update the man page to point to the correct
location.  This fixed PR pkg/29371.

Bump PKGREVISION.

diffstat:

 converters/bibtex2html/Makefile |  16 +++++++++++++++-
 converters/bibtex2html/PLIST    |   5 ++++-
 2 files changed, 19 insertions(+), 2 deletions(-)

diffs (59 lines):

diff -r 405f871dc10d -r 8d83a90017f2 converters/bibtex2html/Makefile
--- a/converters/bibtex2html/Makefile   Mon Feb 14 15:46:50 2005 +0000
+++ b/converters/bibtex2html/Makefile   Mon Feb 14 15:51:10 2005 +0000
@@ -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 @@
 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 @@
        ${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"
diff -r 405f871dc10d -r 8d83a90017f2 converters/bibtex2html/PLIST
--- a/converters/bibtex2html/PLIST      Mon Feb 14 15:46:50 2005 +0000
+++ b/converters/bibtex2html/PLIST      Mon Feb 14 15:51:10 2005 +0000
@@ -1,7 +1,10 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/03/07 05:40:21 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/02/14 15:51:10 minskim Exp $
 bin/aux2bib
 bin/bib2bib
 bin/bibtex2html
 man/man1/aux2bib.1
 man/man1/bib2bib.1
 man/man1/bibtex2html.1
+share/doc/${PKGBASE}/manual.html
+share/doc/${PKGBASE}/manual.ps
+@dirrm share/doc/${PKGBASE}



Home | Main Index | Thread Index | Old Index