diff options
author | Xin LI <delphij@FreeBSD.org> | 2013-11-06 22:50:21 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2013-11-06 22:50:21 +0000 |
commit | bc0d646198e21b9653ddde161dcdd059533a7d9a (patch) | |
tree | f4ca39f0f94b1fc725562cca278474e325706ee3 /x11-toolkits/pure-tk | |
parent | ae3e5e966b6d57cfc253af140717fe2208286c6b (diff) | |
download | ports-bc0d646198e21b9653ddde161dcdd059533a7d9a.tar.gz ports-bc0d646198e21b9653ddde161dcdd059533a7d9a.zip |
Notes
Diffstat (limited to 'x11-toolkits/pure-tk')
-rw-r--r-- | x11-toolkits/pure-tk/Makefile | 37 | ||||
-rw-r--r-- | x11-toolkits/pure-tk/distinfo | 4 |
2 files changed, 31 insertions, 10 deletions
diff --git a/x11-toolkits/pure-tk/Makefile b/x11-toolkits/pure-tk/Makefile index b4da0e9b1804..e9f818b1f854 100644 --- a/x11-toolkits/pure-tk/Makefile +++ b/x11-toolkits/pure-tk/Makefile @@ -2,14 +2,18 @@ # $FreeBSD$ PORTNAME= pure-tk -PORTVERSION= 0.3 +PORTVERSION= 0.4 CATEGORIES= x11-toolkits +MASTER_SITES= https://cdn.bitbucket.org/purelang/pure-lang/downloads/ +DIST_SUBDIR= pure MAINTAINER= lichray@gmail.com COMMENT= Basic interface between Pure and Tcl/Tk -USE_PURE= yes -USE_TK= yes +LICENSE= BSD + +USES= pure +USE_TK= 86+ SHORT_TCL_VER= ${TCL_VER:S/8./8/} MAKE_ARGS+= tclvers=${TCL_VER} @@ -18,13 +22,30 @@ PLIST_FILES= lib/pure/gnocl.pure \ lib/pure/tk.so \ lib/pure/tk.pure -NO_STAGE= yes post-patch: ${REINPLACE_CMD} \ - -e "s|/usr/include|${LOCALBASE}/include|g" \ - -e "s|-ltcl\$$(tclvers)|-ltcl${SHORT_TCL_VER}|" \ - -e "s|-ltk\$$(tclvers)|-ltk${SHORT_TCL_VER}|" \ + -e "s|/usr/include|${LOCALBASE}/include|g" \ + -e "s|-ltcl\$$(tclvers)|-ltcl${SHORT_TCL_VER}|" \ + -e "s|-ltk\$$(tclvers)|-ltk${SHORT_TCL_VER}|" \ ${WRKSRC}/Makefile -.include "${.CURDIR}/../../lang/pure/bsd.pure.mk" +NO_STAGE= yes + +PORTDOCS= README + +PORTEXAMPLES= * + +.include <bsd.port.options.mk> + +post-install: +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} +.endif + +.if ${PORT_OPTIONS:MEXAMPLES} + @${MKDIR} ${EXAMPLESDIR} + @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}) +.endif + .include <bsd.port.mk> diff --git a/x11-toolkits/pure-tk/distinfo b/x11-toolkits/pure-tk/distinfo index 01f91dd47678..1a447ebde494 100644 --- a/x11-toolkits/pure-tk/distinfo +++ b/x11-toolkits/pure-tk/distinfo @@ -1,2 +1,2 @@ -SHA256 (pure/pure-tk-0.3.tar.gz) = a1807441b4784b590b1fcd287d7750b66dd68f9e91bcddf710ccb3a4e9506a32 -SIZE (pure/pure-tk-0.3.tar.gz) = 31547 +SHA256 (pure/pure-tk-0.4.tar.gz) = 4d254af183974e307aaef73587e93e5f31df548a8f6824ef2db40bb5c46eede6 +SIZE (pure/pure-tk-0.4.tar.gz) = 33208 |