summaryrefslogtreecommitdiff
path: root/graphics/tgif/Makefile
blob: 4cbe593bdead4ac761631bea2bfa60c4d7281837 (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
# New ports collection makefile for:    tgif
# Date created:         30 Jan 1999
# Whom:                 bmc@WillsCreek.COM
#
# $FreeBSD$
#

PORTNAME=	tgif
PORTVERSION=	4.1.27
CATEGORIES=	graphics
MASTER_SITES=	ftp://bourbon.cs.umd.edu/pub/tgif/ \
		ftp://ftp.cs.ucla.edu/pub/tgif/

MAINTAINER=	bmc@WillsCreek.COM

RUN_DEPENDS=	giftopnm:${PORTSDIR}/graphics/netpbm \
		pnmtopng:${PORTSDIR}/graphics/pnmtopng

USE_IMAKE=	yes
MAN1=		tgif.1
TGIFDOC=	${PREFIX}/share/doc/tgif
DEMO_FILES=	an-sr-flip-flop.obj launch-demo-1.obj \
		fonts.obj launch-demo.obj keys.obj slide-demo.obj example.tex
READMES=	Copyright HISTORY README

post-extract:
		${RM} -f ${WRKDIR}/${DISTNAME}/Tgif.tmpl
		${CP} ${WRKDIR}/${DISTNAME}/Tgif.tmpl-freebsd \
		      ${WRKDIR}/${DISTNAME}/Tgif.tmpl
post-install:
		${MKDIR} ${TGIFDOC}
		(cd ${WRKSRC} ;\
		  ${INSTALL_DATA} ${DEMO_FILES} ${TGIFDOC} ;\
		  ${INSTALL_DATA} ${READMES} ${TGIFDOC} ;\
		)

.include <bsd.port.mk>