mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
b569008e01
script where to look for it - use DOCSDIR - bump PORTREVISION PR: 32199 Reported by: Fernan Aguero <fernan@iib.unsam.edu.ar> Approved by: maintainer timeout
37 lines
1015 B
Makefile
37 lines
1015 B
Makefile
# New ports collection makefile for: txt2html
|
|
# Date created: 29 Jun 1998
|
|
# Whom: Don Croyle <croyle@gelemna.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= txt2html
|
|
PORTVERSION= 1.28
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://www.aigeek.com/txt2html/
|
|
|
|
MAINTAINER= croyle@gelemna.org
|
|
|
|
NO_BUILD= yes
|
|
|
|
do-configure:
|
|
@${PERL} -pi -e "s|/usr/local|${PREFIX}|g; \
|
|
s|${PREFIX}/lib|${DATADIR}|" ${WRKSRC}/txt2html.pl
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/txt2html.pl ${PREFIX}/bin/txt2html
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/txt2html.dict ${DATADIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for file in INSTALL LICENSE README changes.html sample.foot sample.html sample.txt
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
.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>
|