diff options
Diffstat (limited to 'textproc/txt2html/Makefile')
-rw-r--r-- | textproc/txt2html/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/textproc/txt2html/Makefile b/textproc/txt2html/Makefile new file mode 100644 index 000000000000..d2c0df7c94e8 --- /dev/null +++ b/textproc/txt2html/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: txt2html +# Version required: 1.25 +# Date created: 29 Jun 1998 +# Whom: Don Croyle <croyle@gelemna.ft-wayne.in.us> +# +# $Id$ +# + +DISTNAME= txt2html-1.25 +CATEGORIES= textproc +MASTER_SITES= http://www.thehouse.org/txt2html/ + +MAINTAINER= croyle@gelemna.ft-wayne.in.us + +WRKSRC= ${WRKDIR}/txt2html +NO_BUILD= yes + +do-configure: + cd ${WRKSRC} && perl -pi -e "s|/usr/local|${PREFIX}|g" txt2html.pl + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/txt2html.pl ${PREFIX}/bin/txt2html + ${MKDIR} ${PREFIX}/share/doc/txt2html + ${INSTALL_DATA} ${WRKSRC}/txt2html.dict ${PREFIX}/share/doc/txt2html/ +.if !defined(NOPORTDOCS) +.for file in INSTALL LICENSE README changes.html sample.html sample.txt + ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/txt2html/ +.endfor +.endif + @${ECHO_MSG} "To install the sample links dictionary as the default" + @${ECHO_MSG} "copy or link ${PREFIX}/share/doc/txt2html/txt2html.dict to" + @${ECHO_MSG} "${PREFIX}/lib/txt2html-linkdict or ~/.txt2html-linkdict" + +.include <bsd.port.mk> |