freebsd-ports/devel/tkcon/Makefile
Pietro Cerutti ed2c5726ef - Convert to USES+=tk
- Convert to OPTIONSng
- Import a patch from upstream to avoid new virtual events in Tk 8.6 to mess
  with the history functionality [1]

Obtained from: http://tkcon.cvs.sf.net/viewvc/tkcon/tkcon/tkcon.tcl?r1=1.117&r2=1.118 [1]
2013-09-26 14:12:56 +00:00

34 lines
734 B
Makefile

# Created by: wghicks@bellsouth.net
# $FreeBSD$
PORTNAME= tkcon
PORTVERSION= 2.5
CATEGORIES= devel
MASTER_SITES= SF
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Tk console for Tcl
OPTIONS_DEFINE= DOCS
NO_BUILD= yes
USES+= tk
PORTDOCS= *
PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.options.mk>
post-patch:
@${REINPLACE_CMD} -e \
's|%%DOCSDIR%%|${DOCSDIR}|g; s|%%WISH%%|${WISH}|g' ${WRKSRC}/${PORTNAME}.tcl
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.tcl ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/README.${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>