diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-03-15 19:56:07 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-03-15 19:56:07 +0800 |
commit | 7b8f89ed40c9be81b56ce46fb726d7e740f4d8ca (patch) | |
tree | 0778ddbc0bf0cb24a0f722422f3778db47b15d4b /x11-toolkits | |
parent | 1b89528efc53641c501447f25e3f51a5adf876fd (diff) | |
download | freebsd-ports-gnome-7b8f89ed40c9be81b56ce46fb726d7e740f4d8ca.tar.gz freebsd-ports-gnome-7b8f89ed40c9be81b56ce46fb726d7e740f4d8ca.tar.zst freebsd-ports-gnome-7b8f89ed40c9be81b56ce46fb726d7e740f4d8ca.zip |
- Add LICENSE_FILE
- Switch to options helpers
- Cosmetic fixes
- Fix WWW:
Approved by: portmgr blanket
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/pure-tk/Makefile | 8 | ||||
-rw-r--r-- | x11-toolkits/pure-tk/pkg-descr | 2 |
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 |