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

PORTNAME=	tgif
PORTVERSION=	4.1.42
CATEGORIES=	graphics
MASTER_SITES=	ftp://bourbon.usc.edu/pub/tgif/ \
		http://groups.yahoo.com/group/tgif4-announce/files/ \
		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=tgif
DISTNAME=	${PORTNAME}-QPL-${PORTVERSION}

MAINTAINER=	bmc@WillsCreek.COM
COMMENT=	An Xlib-based two-dimensional drawing tool and hyper-object browser

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

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>