diff options
Diffstat (limited to 'converters/txt2html/Makefile')
-rw-r--r-- | converters/txt2html/Makefile | 39 |
1 files changed, 17 insertions, 22 deletions
diff --git a/converters/txt2html/Makefile b/converters/txt2html/Makefile index d671d2b500f..e3d6dc5732e 100644 --- a/converters/txt2html/Makefile +++ b/converters/txt2html/Makefile @@ -1,29 +1,24 @@ -# $NetBSD: Makefile,v 1.13 2006/10/14 08:00:47 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2007/03/15 23:00:25 wennmach Exp $ +# -DISTNAME= txt2html-1.28 -CATEGORIES= converters www -MASTER_SITES= http://www.sethoscope.net/txt2html/ +DISTNAME= txt2html-2.44 +CATEGORIES= converters www +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=txt2html/} -MAINTAINER= wennmach@NetBSD.org -HOMEPAGE= http://www.sethoscope.net/txt2html/ -COMMENT= Text to HTML converter +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://txt2html.sourceforge.net/ +COMMENT= Plain text to HTML convertor -NO_BUILD= YES -USE_TOOLS+= perl:run -REPLACE_PERL= txt2html.pl +PKG_INSTALLATION_TYPES= overwrite pkgviews +REPLACE_PERL= scripts/txt2html -INSTALLATION_DIRS= bin +PERL5_CONFIGURE= yes +PERL5_MODULE_TYPE= Module::Build +PERL5_PACKLIST= auto/HTML/TextToHTML/.packlist -do-configure: - ${SED} -e "s:@PREFIX@:${PREFIX}:g" \ - ${WRKSRC}/txt2html.pl > ${WRKSRC}/txt2html - -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/txt2html ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/txt2html - ${INSTALL_DATA} ${WRKSRC}/txt2html.dict ${PREFIX}/share/txt2html - ${INSTALL_DATA} ${WRKSRC}/sample.foot ${PREFIX}/share/txt2html - ${INSTALL_DATA} ${WRKSRC}/sample.html ${PREFIX}/share/txt2html - ${INSTALL_DATA} ${WRKSRC}/sample.txt ${PREFIX}/share/txt2html +DEPENDS+= p5-Getopt-Long-[0-9]*:../../devel/p5-Getopt-Long +DEPENDS+= p5-Getopt-ArgvFile-[0-9]*:../../devel/p5-Getopt-ArgvFile +DEPENDS+= p5-AppConfig-Std-[0-9]*:../../devel/p5-AppConfig-Std +.include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" |