1998-07-12 23:24:39 +00:00
|
|
|
# New ports collection makefile for: txt2html
|
|
|
|
# Date created: 29 Jun 1998
|
2000-05-21 11:52:06 +00:00
|
|
|
# Whom: Don Croyle <croyle@gelemna.org>
|
1998-07-12 23:24:39 +00:00
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
# $FreeBSD$
|
1998-07-12 23:24:39 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 21:54:47 +00:00
|
|
|
PORTNAME= txt2html
|
2001-02-05 16:35:26 +00:00
|
|
|
PORTVERSION= 1.28
|
1998-07-12 23:24:39 +00:00
|
|
|
CATEGORIES= textproc
|
2000-04-01 20:13:45 +00:00
|
|
|
MASTER_SITES= http://www.aigeek.com/txt2html/
|
1998-07-12 23:24:39 +00:00
|
|
|
|
2000-05-21 11:52:06 +00:00
|
|
|
MAINTAINER= croyle@gelemna.org
|
1998-07-12 23:24:39 +00:00
|
|
|
|
|
|
|
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)
|
2000-06-11 16:11:03 +00:00
|
|
|
.for file in INSTALL LICENSE README changes.html sample.foot sample.html sample.txt
|
1998-07-12 23:24:39 +00:00
|
|
|
${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"
|
2000-04-01 20:13:45 +00:00
|
|
|
@${ECHO_MSG} "${PREFIX}/lib/txt2html.dict or ~/.txt2html.dict"
|
1998-07-12 23:24:39 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|