summaryrefslogtreecommitdiffstats
path: root/graphics/tgd/Makefile
blob: e39dd2d240e97b7c1e9b9835ae0e3a742e4aa906 (plain)
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
# New ports collection makefile for:	tgd
# Date created:				22 February 1999
# Whom:	      				mharo@area51.fremont.ca.us
#
# $FreeBSD$
#

PORTNAME=	tgd
PORTVERSION=	1.2c
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	ftp://probe.nalusda.gov/pub/treegenes/ \
		ftp://dendrome.ucdavis.edu/pub/tgd/
DISTNAME=	${PORTNAME}${PORTVERSION}

MAINTAINER=	mharo@FreeBSD.org

LIB_DEPENDS=	gd.2:${PORTSDIR}/graphics/gd

BROKEN=	gd changes
FORBIDDEN=	author hadn\'t had time to update for gd changes

ALL_TARGET=	tgd
DOCS=		README arc.gif cap.gif char.gif fill.gif fontdemo \
		fontdemo.gif gd.html gifcap.pl helloworld.gif \
		helloworld.pl keygifcap.gif keypad.gif keypad.html \
		keypad.inp keypad.map keypad.pl poly.gif polydemo \
		rainbow.gif rainbow.pl tgd.gif tgd.html
pre-build:
	${CP} ${FILESDIR}/tgdcommand.h ${WRKSRC}/
	${CP} ${FILESDIR}/tgdgd.h ${WRKSRC}/
do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/tgd ${PREFIX}/bin
.if !defined(NOPORTDOCS)
	${MKDIR} -m 755 ${PREFIX}/share/doc/tgd
.for file in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/docs/${file} ${PREFIX}/share/doc/tgd
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud