1998-02-20 09:04:08 +01:00
|
|
|
# New ports collection makefile for: tth
|
|
|
|
# Date created: 19 Feb 1998
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1998-02-20 09:04:08 +01:00
|
|
|
#
|
1999-08-31 04:11:56 +02:00
|
|
|
# $FreeBSD$
|
1998-02-20 09:04:08 +01:00
|
|
|
#
|
|
|
|
|
2000-04-09 23:54:47 +02:00
|
|
|
PORTNAME= tth
|
2008-06-19 00:05:44 +02:00
|
|
|
PORTVERSION= 3.81
|
1998-02-20 09:04:08 +01:00
|
|
|
CATEGORIES= textproc
|
2007-09-05 18:45:06 +02:00
|
|
|
MASTER_SITES= http://hutchinson.belmont.ma.us/tth/tth-noncom/ \
|
|
|
|
http://redundancy.redundancy.org/mirror/
|
2000-04-09 23:54:47 +02:00
|
|
|
DISTNAME= tth_C
|
1998-02-20 09:04:08 +01:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2007-09-05 18:45:06 +02:00
|
|
|
MAINTAINER= lx@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= A TeX to HTML translator
|
1998-02-20 09:04:08 +01:00
|
|
|
|
2004-01-20 17:30:09 +01:00
|
|
|
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX \
|
2000-06-16 13:41:31 +02:00
|
|
|
ppmtogif:${PORTSDIR}/graphics/netpbm
|
1998-02-20 09:04:08 +01:00
|
|
|
|
2005-11-16 12:38:57 +01:00
|
|
|
USE_GHOSTSCRIPT_RUN= yes
|
|
|
|
|
1998-02-20 09:04:08 +01:00
|
|
|
MAN1= tth.1
|
|
|
|
|
2005-11-16 12:38:57 +01:00
|
|
|
PLIST_FILES= bin/latex2gif bin/ps2gif bin/ps2png bin/tth bin/Xfonts.fix
|
2004-03-25 18:18:41 +01:00
|
|
|
PORTDOCS= license.txt tth_manual.html
|
|
|
|
|
1998-02-20 09:04:08 +01:00
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}; ${CC} ${CFLAGS} tth.c -o tth -ll
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tth ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/latex2gif ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ps2gif ${PREFIX}/bin
|
2000-06-16 13:41:31 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ps2png ${PREFIX}/bin
|
2005-11-16 12:38:57 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/Xfonts.fix ${PREFIX}/bin
|
1998-02-20 09:04:08 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/tth.1 ${PREFIX}/man/man1
|
1998-03-03 14:19:10 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-12-24 03:17:17 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/tth_manual.html ${DOCSDIR}
|
1998-02-20 09:04:08 +01:00
|
|
|
.endif
|
2005-11-16 12:38:57 +01:00
|
|
|
@${SED} -e "s,%%PREFIX%%,${PREFIX}," ${PKGMESSAGE}
|
1998-02-20 09:04:08 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|