1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/devel/tkcon/Makefile
Dmitry Marakasov c7e624b321 - Switch to options helpers
- While here, add some NO_ARCHes

Approved by:	portmgr blanket
2015-09-01 16:20:47 +00:00

34 lines
703 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
NO_ARCH= yes
USES+= tk
PORTDOCS= *
PLIST_FILES= bin/${PORTNAME}
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}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/README.${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>