blob: dc8fb99f497eaf2ea6500c4c96f92ec03be4194b (
plain) (
blame)
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
|
# 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>
|