blob: dbcf63e0dc55e0524f864adfef854eb33a745366 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# New ports collection makefile for: tth
# Version required: 1.21
# Date created: 19 Feb 1998
# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
#
# $Id$
#
DISTNAME= tth_C
PKGNAME= tth-1.21
CATEGORIES= textproc
MASTER_SITES= http://hutchinson.belmont.ma.us/tth/tth-noncom/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.ORG
RUN_DEPENDS= gs:${PORTSDIR}/print/ghostscript5 \
ppmtogif:${PORTSDIR}/graphics/netpbm \
latex:${PORTSDIR}/print/teTeX
RESTRICTED= "No commercial use"
NO_CDROM= ${RESTRICTED}
NO_WRKSUBDIR= yes
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
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/tth
${INSTALL_SCRIPT} ${WRKSRC}/tth_manual.html ${PREFIX}/share/doc/tth
${INSTALL_SCRIPT} ${WRKSRC}/license.txt ${PREFIX}/share/doc/tth
.endif
@${CAT} ${PKGDIR}/MESSAGE
.include <bsd.port.mk>
|