summaryrefslogtreecommitdiff
path: root/converters/doc2html/Makefile
diff options
context:
space:
mode:
authornra <nra@pkgsrc.org>2001-10-09 15:49:39 +0000
committernra <nra@pkgsrc.org>2001-10-09 15:49:39 +0000
commit410e02910113328bfb5c47ea7edd4efa95560b31 (patch)
tree9801cdaee21eb69a4425dc7548cc4aa46b8ef4f9 /converters/doc2html/Makefile
parent90b09dbbba812c85c1c96291b15992eec6a11379 (diff)
downloadpkgsrc-410e02910113328bfb5c47ea7edd4efa95560b31.tar.gz
Update doc2html to version 3.0. PR 14169 by Eric Schnoebelen.
Diffstat (limited to 'converters/doc2html/Makefile')
-rw-r--r--converters/doc2html/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/converters/doc2html/Makefile b/converters/doc2html/Makefile
index 73834c2a099..797a20521d7 100644
--- a/converters/doc2html/Makefile
+++ b/converters/doc2html/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2001/10/04 12:00:45 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2001/10/09 15:49:39 nra Exp $
#
DISTNAME= doc2html
-PKGNAME= doc2html-2.1
+PKGNAME= doc2html-3.0
CATEGORIES= converters
MASTER_SITES= http://www.htdig.org/files/contrib/parsers/
@@ -19,13 +19,16 @@ DEPENDS+= catdoc-[0-9]*:../../textproc/catdoc
USE_PERL5= YES
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}/doc2html.pl \
- > ${WRKSRC}/doc2html
+ -e "s%@@X11BASE@@%${X11BASE}%g" < ${WRKSRC}/${CVTR}.pl \
+ > ${WRKSRC}/${CVTR}
+.endfor
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/doc2html ${PREFIX}/bin/doc2html
+ ${INSTALL_SCRIPT} ${WRKSRC}/pdf2html ${PREFIX}/bin/pdf2html
.include "../../mk/bsd.pkg.mk"