summaryrefslogtreecommitdiffstats
path: root/graphics/gdtclft/Makefile
blob: b1ac60441c4e6121fa2a5bcc67016fa8246ba656 (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
# Created by: Mikhail Teterin <mi@aldan.algebra.com>
# $FreeBSD$

PORTNAME=	Gdtclft
PORTVERSION=	2.2.5
PORTREVISION=	15
CATEGORIES=	graphics tcl
MASTER_SITES=	http://BSDforge.com/projects/source/graphics/gdtclft/
DISTNAME=	${PORTNAME}${PORTVERSION}

MAINTAINER=	portmaster@bsdforge.com
COMMENT=	TCL interface to the Thomas Boutell's Gd library

LIB_DEPENDS=	libgd.so:graphics/gd

USES=		tcl:84+ uidfix

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

MANNPAGE=	gdtclft.n
GDTCLDIR=	lib/tcl${TCL_VER}/gdtclft
PLIST_FILES=	${GDTCLDIR}/pkgIndex.tcl
PLIST_FILES+=	${GDTCLDIR}/libGdtclft2.so
PLIST_FILES+=	man/mann/${MANNPAGE}.gz

post-patch:
	${REINPLACE_CMD} -Ee 's,[[:space:]]+$$,,' ${WRKSRC}/${MANNPAGE}

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

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