freebsd-ports/graphics/gdtclft/Makefile
Raphael Kubo da Costa 3a79929fdb Switch MASTER_SITES and WWW to https in Chris' ports.
PR:		241272
Submitted by:	Chris Hutchinson <portmaster@bsdforge.com> (maintainer)
2019-10-19 12:21:22 +00:00

35 lines
935 B
Makefile

# Created by: Mikhail Teterin <mi@aldan.algebra.com>
# $FreeBSD$
PORTNAME= Gdtclft
PORTVERSION= 2.2.5
PORTREVISION= 16
CATEGORIES= graphics tcl
MASTER_SITES= https://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 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>