pkgsrc/converters/doc2html/Makefile
wiz 98c3768c3a Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:35 +00:00

36 lines
1,014 B
Makefile

# $NetBSD: Makefile,v 1.23 2013/05/31 12:39:43 wiz Exp $
#
DISTNAME= doc2html
PKGNAME= doc2html-3.0
PKGREVISION= 6
CATEGORIES= converters
MASTER_SITES= http://www.htdig.org/files/contrib/parsers/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.htdig.org/
COMMENT= PERL external filter for htdig to convert numerous doc formats to HTML
DEPENDS+= xlhtml-[0-9]*:../../converters/xlhtml
DEPENDS+= rtf2html-[0-9]*:../../converters/rtf2html
DEPENDS+= xpdf-[0-9]*:../../print/xpdf
DEPENDS+= catdoc-[0-9]*:../../textproc/catdoc
USE_TOOLS+= gs:run perl:run
INSTALLATION_DIRS= bin
do-build:
.for cvtr in doc2html pdf2html
${SED} -e "s%@@LOCALBASE@@%${LOCALBASE}%g" \
-e "s%/usr/bin/perl%${PERL5}%g" \
-e "s%/bin/sed%${SED}%g" \
-e "s%@@X11BASE@@%${X11BASE}%g" < ${WRKSRC}/${cvtr}.pl \
> ${WRKSRC}/${cvtr}
.endfor
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/doc2html ${DESTDIR}${PREFIX}/bin/doc2html
${INSTALL_SCRIPT} ${WRKSRC}/pdf2html ${DESTDIR}${PREFIX}/bin/pdf2html
.include "../../mk/bsd.pkg.mk"