1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/textproc/txt2html/Makefile
Akinori MUSHA 64a88bdf7a Change MAINTAINER's mail address.
Now "Don Croyle <croyle@gelemna.org>".

PR:		18701, (part of) 18702, 18703, 18706
Submitted by:	MAINTAINER
2000-05-21 11:52:06 +00:00

35 lines
1018 B
Makefile

# New ports collection makefile for: txt2html
# Date created: 29 Jun 1998
# Whom: Don Croyle <croyle@gelemna.org>
#
# $FreeBSD$
#
PORTNAME= txt2html
PORTVERSION= 1.27
CATEGORIES= textproc
MASTER_SITES= http://www.aigeek.com/txt2html/
MAINTAINER= croyle@gelemna.org
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.dict or ~/.txt2html.dict"
.include <bsd.port.mk>