summaryrefslogtreecommitdiff
path: root/textproc/html2wml/Makefile
blob: 6e9f033bb808f0d197c4d47f323f31a7e53939a9 (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
32
# $NetBSD: Makefile,v 1.21 2012/10/03 21:57:48 wiz Exp $

DISTNAME=	html2wml-0.4.8r2
PKGNAME=	html2wml-0.4.8.2
PKGREVISION=	5
CATEGORIES=	textproc converters
MASTER_SITES=	http://maddingue.free.fr/softwares/download/Html2Wml/html2wml-0.4.x/	\
		${MASTER_SITE_SOURCEFORGE:=htmlwml/}

MAINTAINER=	pkgsrc-users@NetBSD.org
# HOMEPAGE=	http://maddingue.free.fr/softwares/html2wml.html
COMMENT=	On-the-fly HTML to WML conversion

PKG_DESTDIR_SUPPORT=	user-destdir

DEPENDS+=	p5-libwww>=5.53:../../www/p5-libwww
DEPENDS+=	p5-XML-Parser>=2.30:../../textproc/p5-XML-Parser
DEPENDS+=	p5-Text-Template>=1.31:../../textproc/p5-Text-Template
DEPENDS+=	p5-XML-LibXML>=1.31:../../textproc/p5-XML-LibXML

NO_BUILD=	yes

USE_TOOLS+=	perl:run
REPLACE_PERL=	${WRKSRC}/html2wml.cgi

INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/html2wml.cgi ${DESTDIR}${PREFIX}/bin/html2wml
	${INSTALL_MAN} ${WRKSRC}/doc/html2wml.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/html2wml.1

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