mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
de78af3ac5
Reviewed by: exp8 run on pointyhat Supported by: miwi
40 lines
924 B
Makefile
40 lines
924 B
Makefile
# 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= 9
|
|
CATEGORIES= graphics tcl
|
|
MASTER_SITES= http://www.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.4
|
|
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-patch:
|
|
${REINPLACE_CMD} -Ee 's,[[:space:]]+$$,,' ${WRKSRC}/${MANN}
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/${MANN} ${PREFIX}/man/mann/
|
|
|
|
.include <bsd.port.mk>
|
|
|
|
PLIST_SUB!= ${SETENV} TCL_VER=${TCL_VER} ${MAKE} -f ${MAKEFILE} env
|