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

DISTNAME=	tgd1.2c
PKGNAME=	tgd-1.2c
CATEGORIES=	graphics
MASTER_SITES=	ftp://probe.nalusda.gov/pub/treegenes/ \
		ftp://dendrome.ucdavis.edu/pub/tgd/

MAINTAINER=	mharo@FreeBSD.org

LIB_DEPENDS=	gd.0:${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