blob: 1924de2a33a60b35b6b7a7059127a22442797070 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.2 2001/09/27 23:17:50 jlam Exp $
#
DISTNAME= doc2html
PKGNAME= doc2html-2.1
CATEGORIES= converters
MASTER_SITES= http://www.htdig.org/files/contrib/parsers/
MAINTAINER= packages@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+= ghostscript{,-nox11}-[6-9]*:../../print/ghostscript
DEPENDS+= xpdf-[0-9]*:../../graphics/xpdf
DEPENDS+= catdoc-[0-9]*:../../textproc/catdoc
USE_PERL5= YES
do-build:
${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
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/doc2html ${PREFIX}/bin/doc2html
.include "../../mk/bsd.pkg.mk"
|