mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# New ports collection makefile for: tth
|
|
# Date created: 19 Feb 1998
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= tth
|
|
PORTVERSION= 2.22
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://people.FreeBSD.org/~tg/ \
|
|
http://hutchinson.belmont.ma.us/tth/tth-noncom/
|
|
DISTNAME= tth_C
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
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
|
|
.if !defined(NOPORTDOCS)
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tth_manual.html ${PREFIX}/share/doc/tth
|
|
.endif
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
.include <bsd.port.mk>
|