1998-02-20 08:04:08 +00:00
|
|
|
# New ports collection makefile for: tth
|
|
|
|
# Date created: 19 Feb 1998
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1998-02-20 08:04:08 +00:00
|
|
|
#
|
1999-08-31 02:11:56 +00:00
|
|
|
# $FreeBSD$
|
1998-02-20 08:04:08 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 21:54:47 +00:00
|
|
|
PORTNAME= tth
|
2000-09-29 12:20:34 +00:00
|
|
|
PORTVERSION= 2.78
|
1998-02-20 08:04:08 +00:00
|
|
|
CATEGORIES= textproc
|
2000-06-16 11:48:20 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL} \
|
1999-05-11 08:01:05 +00:00
|
|
|
http://hutchinson.belmont.ma.us/tth/tth-noncom/
|
2000-06-16 11:48:20 +00:00
|
|
|
MASTER_SITE_SUBDIR= tg
|
2000-04-09 21:54:47 +00:00
|
|
|
DISTNAME= tth_C
|
1998-02-20 08:04:08 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1998-02-20 08:04:08 +00:00
|
|
|
|
2000-06-16 11:41:31 +00:00
|
|
|
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript6 \
|
|
|
|
latex:${PORTSDIR}/print/teTeX \
|
|
|
|
pnmtopng:${PORTSDIR}/graphics/pnmtopng \
|
|
|
|
ppmtogif:${PORTSDIR}/graphics/netpbm
|
1998-02-20 08:04:08 +00:00
|
|
|
|
|
|
|
MAN1= tth.1
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC}; ${CC} ${CFLAGS} tth.c -o tth -ll
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tth ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/l2h ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/latex2gif ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ps2gif ${PREFIX}/bin
|
2000-06-16 11:41:31 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/ps2png ${PREFIX}/bin
|
1998-02-20 08:04:08 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/tth.1 ${PREFIX}/man/man1
|
|
|
|
${MKDIR} ${PREFIX}/share/doc/tth
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/license.txt ${PREFIX}/share/doc/tth
|
1998-03-03 13:19:10 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tth_manual.html ${PREFIX}/share/doc/tth
|
1998-02-20 08:04:08 +00:00
|
|
|
.endif
|
2000-10-08 10:23:48 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1998-02-20 08:04:08 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|