aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/pure-tk
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-03-15 11:56:07 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-03-15 11:56:07 +0000
commit363058d6e985beb5922e0bdecaf6899816ff6c54 (patch)
tree0778ddbc0bf0cb24a0f722422f3778db47b15d4b /x11-toolkits/pure-tk
parent2f52a91b34b377fcc2466f91624c9d32beafddcf (diff)
downloadports-363058d6e985beb5922e0bdecaf6899816ff6c54.tar.gz
ports-363058d6e985beb5922e0bdecaf6899816ff6c54.zip
Notes
Diffstat (limited to 'x11-toolkits/pure-tk')
-rw-r--r--x11-toolkits/pure-tk/Makefile8
-rw-r--r--x11-toolkits/pure-tk/pkg-descr2
2 files changed, 7 insertions, 3 deletions
diff --git a/x11-toolkits/pure-tk/Makefile b/x11-toolkits/pure-tk/Makefile
index 55271d53c7aa..effa3dd562a2 100644
--- a/x11-toolkits/pure-tk/Makefile
+++ b/x11-toolkits/pure-tk/Makefile
@@ -11,6 +11,7 @@ MAINTAINER= lichray@gmail.com
COMMENT= Basic interface between Pure and Tcl/Tk
LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
USES= pkgconfig pure tk:86+
@@ -22,18 +23,21 @@ PLIST_FILES= lib/pure/gnocl.pure \
PORTDOCS= README
PORTEXAMPLES= *
+
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
- ${REINPLACE_CMD} \
+ @${REINPLACE_CMD} \
-e "s|pkg-config tcl|pkg-config tk|" \
-e "s|-ltcl\$$(tclvers)|-ltcl${TCL_SHLIB_VER}|" \
-e "s|-ltk\$$(tclvers)|-ltk${TK_SHLIB_VER}|" \
${WRKSRC}/Makefile
-post-install:
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
diff --git a/x11-toolkits/pure-tk/pkg-descr b/x11-toolkits/pure-tk/pkg-descr
index a39fe168fc03..d54836e98d18 100644
--- a/x11-toolkits/pure-tk/pkg-descr
+++ b/x11-toolkits/pure-tk/pkg-descr
@@ -3,4 +3,4 @@ operations of this module allow you to execute arbitrary commands
in the Tcl interpreter, set and retrieve variable values in the
interpreter, and invoke Pure callbacks from Tcl/Tk.
-WWW: http://docs.pure-lang.googlecode.com/hg/pure-tk.html
+WWW: https://puredocs.bitbucket.io/pure-tk.html