[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / converters / bibtex2html

File: [cvs.NetBSD.org] / pkgsrc / converters / bibtex2html / Makefile (download)

Revision 1.35, Thu May 29 23:35:21 2014 UTC (4 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.34: +2 -2 lines

Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.

# $NetBSD: Makefile,v 1.35 2014/05/29 23:35:21 wiz Exp $

DISTNAME=	bibtex2html-1.97
PKGREVISION=	5
CATEGORIES=	converters
MASTER_SITES=	http://www.lri.fr/~filliatr/ftp/bibtex2html/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.lri.fr/~filliatr/bibtex2html/
COMMENT=	Collection of tools for translating from BibTeX to HTML
LICENSE=	gnu-gpl-v2

BUILD_DEPENDS+=	hevea-[0-9]*:../../textproc/hevea
BUILD_DEPENDS+=	tex-cm-super-[0-9]*:../../fonts/tex-cm-super
BUILD_DEPENDS+=	tex-ec-[0-9]*:../../fonts/tex-ec
BUILD_DEPENDS+=	tex-latex-[0-9]*:../../print/tex-latex
BUILD_DEPENDS+=	tex-latex-bin-[0-9]*:../../print/tex-latex-bin
BUILD_DEPENDS+=	tex-preprint-[0-9]*:../../print/tex-preprint
BUILD_DEPENDS+=	tex-url-[0-9]*:../../print/tex-url
DEPENDS+=	tex-bibtex-[0-9]*:../../print/tex-bibtex
DEPENDS+=	web2c-[0-9]*:../../print/web2c

GNU_CONFIGURE=	yes
USE_TOOLS+=	perl: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'

INSTALLATION_DIRS+=	bin ${PKGMANDIR}/man1
INSTALLATION_DIRS+=	share/doc/${PKGBASE}

.include "../../lang/ocaml/buildlink3.mk"

post-build:
	set -e; \
	cd ${WRKSRC} && ${MAKE} doc

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/aux2bib ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bibtex2html ${DESTDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/bib2bib ${DESTDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/bibtex2html.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
	${INSTALL_MAN} ${WRKSRC}/bibtex2html.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/bib2bib.1
	${INSTALL_MAN} ${WRKSRC}/aux2bib.1 \
		${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/aux2bib.1
	${INSTALL_DATA} ${WRKSRC}/manual.html \
		${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
	${INSTALL_DATA} ${WRKSRC}/manual.pdf \
		${DESTDIR}${PREFIX}/share/doc/${PKGBASE}

.include "../../mk/bsd.pkg.mk"