summaryrefslogtreecommitdiff
path: root/converters/txt2html
diff options
context:
space:
mode:
Diffstat (limited to 'converters/txt2html')
-rw-r--r--converters/txt2html/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/converters/txt2html/Makefile b/converters/txt2html/Makefile
index cdc3fa75bca..7e353895b88 100644
--- a/converters/txt2html/Makefile
+++ b/converters/txt2html/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/04/16 17:21:45 zuntum Exp $
+# $NetBSD: Makefile,v 1.6 2001/11/28 05:20:43 jlam Exp $
DISTNAME= txt2html-1.28
CATEGORIES= converters www
@@ -8,12 +8,13 @@ MAINTAINER= wennmach@netbsd.org
HOMEPAGE= http://www.aigeek.com/txt2html/
COMMENT= Text to HTML converter
-NO_BUILD= # defined
-USE_PERL5= # defined
+USE_BUILDLINK_ONLY= YES
+NO_BUILD= YES
+REPLACE_PERL= txt2html.pl
do-configure:
${SED} -e "s:@PREFIX@:${PREFIX}:g" \
- ${WRKSRC}/txt2html.pl > ${WRKSRC}/txt2html
+ ${WRKSRC}/txt2html.pl > ${WRKSRC}/txt2html
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/txt2html ${PREFIX}/bin
@@ -23,4 +24,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/sample.html ${PREFIX}/share/txt2html
${INSTALL_DATA} ${WRKSRC}/sample.txt ${PREFIX}/share/txt2html
+.include "../../lang/perl5/buildlink.mk"
.include "../../mk/bsd.pkg.mk"