1998-02-20 03:04:08 -05:00
|
|
|
# New ports collection makefile for: tth
|
1999-05-11 04:01:05 -04:00
|
|
|
# Version required: 2.22
|
1998-02-20 03:04:08 -05:00
|
|
|
# Date created: 19 Feb 1998
|
1999-08-31 02:53:31 -04:00
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
1998-02-20 03:04:08 -05:00
|
|
|
#
|
1999-08-30 22:11:56 -04:00
|
|
|
# $FreeBSD$
|
1998-02-20 03:04:08 -05:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= tth_C
|
1999-05-11 04:01:05 -04:00
|
|
|
PKGNAME= tth-2.22
|
1998-02-20 03:04:08 -05:00
|
|
|
CATEGORIES= textproc
|
1999-05-11 04:01:05 -04:00
|
|
|
MASTER_SITES= http://www.freebsd.org/~tg/ \
|
|
|
|
http://hutchinson.belmont.ma.us/tth/tth-noncom/
|
1998-02-20 03:04:08 -05:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
1999-08-31 02:53:31 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1998-02-20 03:04:08 -05:00
|
|
|
|
|
|
|
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5 \
|
|
|
|
ppmtogif:${PORTSDIR}/graphics/netpbm \
|
|
|
|
latex:${PORTSDIR}/print/teTeX
|
|
|
|
|
|
|
|
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
|
|
|
|
${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 08:19:10 -05:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tth_manual.html ${PREFIX}/share/doc/tth
|
1998-02-20 03:04:08 -05:00
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|