1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-08 23:06:56 +00:00
freebsd-ports/graphics/tgd/Makefile
1999-04-22 16:01:59 +00:00

38 lines
1.0 KiB
Makefile

# New ports collection makefile for: tgd
# Version required: 1.2c
# Date created: 22 February 1999
# Whom: mharo@area51.fremont.ca.us
#
# $Id: Makefile,v 1.2 1999/04/13 07:06:29 mharo Exp $
#
DISTNAME= tgd1.2c
PKGNAME= tgd-1.2c
CATEGORIES= graphics
MASTER_SITES= ftp://dendrome.ucdavis.edu/pub/tgd/ \
ftp://probe.nalusda.gov/pub/treegenes/
MAINTAINER= mharo@FreeBSD.org
BUILD_DEPENDS= ${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
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>