42 lines
1.4 KiB
Makefile
42 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2006/02/05 23:08:28 joerg Exp $
|
|
|
|
DISTNAME= bibtex2html-1.78
|
|
PKGREVISION= 1
|
|
CATEGORIES= converters
|
|
MASTER_SITES= http://www.lri.fr/~filliatr/ftp/bibtex2html/
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://www.lri.fr/~filliatr/bibtex2html/
|
|
COMMENT= Collection of tools for translating from BibTeX to HTML
|
|
|
|
BUILD_DEPENDS+= hevea-[0-9]*:../../textproc/hevea
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= perl:run
|
|
TEX_ACCEPTED= teTeX1 teTeX2 teTeX3
|
|
|
|
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'
|
|
|
|
INSTALLATION_DIRS= bin man/man1
|
|
|
|
post-build:
|
|
cd ${WRKSRC}; ${MAKE} doc
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/aux2bib ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bibtex2html ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/bib2bib ${PREFIX}/bin
|
|
${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 "../../lang/ocaml/buildlink3.mk"
|
|
.include "../../mk/tex.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|