aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gdtclft/Makefile
blob: 9077cbed4c1745ecf84f5483efbf4e7a0f26f7c6 (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
# New ports collection makefile for:    Gdtclft
# Date Created:             10 February 2000
# Whom:                 Mikhail Teterin <mi@aldan.algebra.com>
#
# $FreeBSD$
#

PORTNAME=   Gdtclft
PORTVERSION=    2.2.5
PORTREVISION=   3
CATEGORIES= graphics tcl${TCL_DVER}
MASTER_SITES=   ftp://ftp.graphviz.org/pub/
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= mi@aldan.algebra.com
COMMENT=    A TCL interface to the Thomas Boutell's Gd library

LIB_DEPENDS=    tcl${TCL_DVER}.1:${PORTSDIR}/lang/tcl${TCL_DVER} \
        gd:${PORTSDIR}/graphics/gd

TCL_VER=    8.3
TCL_DVER=   ${TCL_VER:S/.//}

MAKEFILE=   ${FILESDIR}/Makefile.bsd
MAKE_ENV=   TCL_VER=${TCL_VER} MKDIR="${MKDIR}" \
            INSTALL_DATA="${INSTALL_DATA}"
ALL_TARGET= all

MANN=       gdtclft.n

post-install:
    ${INSTALL_MAN} ${WRKSRC}/${MANN} ${PREFIX}/man/mann/

.include <bsd.port.mk>

PLIST_SUB!= ${SETENV} TCL_VER=${TCL_VER} ${MAKE} -f ${MAKEFILE} env