aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2016-01-21 14:03:14 +0800
committervanilla <vanilla@FreeBSD.org>2016-01-21 14:03:14 +0800
commit8b4661c24c67cca5918209fb9dc6c8877c827a6c (patch)
treefb5b7062c1a35aa7ebe34c419759a08cb1e709ae /x11-toolkits
parent26475d7fc5ae05434f47ce64e8cddefdf936f248 (diff)
downloadfreebsd-ports-gnome-8b4661c24c67cca5918209fb9dc6c8877c827a6c.tar.gz
freebsd-ports-gnome-8b4661c24c67cca5918209fb9dc6c8877c827a6c.tar.zst
freebsd-ports-gnome-8b4661c24c67cca5918209fb9dc6c8877c827a6c.zip
Upgrade to 0.5.
Approved by: maintainer via twitter.
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/pure-tk/Makefile20
-rw-r--r--x11-toolkits/pure-tk/distinfo4
2 files changed, 11 insertions, 13 deletions
diff --git a/x11-toolkits/pure-tk/Makefile b/x11-toolkits/pure-tk/Makefile
index 770ac15c1fe3..55271d53c7aa 100644
--- a/x11-toolkits/pure-tk/Makefile
+++ b/x11-toolkits/pure-tk/Makefile
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= pure-tk
-PORTVERSION= 0.4
+PORTVERSION= 0.5
CATEGORIES= x11-toolkits
-MASTER_SITES= https://cdn.bitbucket.org/purelang/pure-lang/downloads/
+MASTER_SITES= https://bitbucket.org/purelang/pure-lang/downloads/
DIST_SUBDIR= pure
MAINTAINER= lichray@gmail.com
@@ -12,27 +12,25 @@ COMMENT= Basic interface between Pure and Tcl/Tk
LICENSE= BSD3CLAUSE
-USES= pure tk:86+
+USES= pkgconfig pure tk:86+
-MAKE_ARGS+= tclvers=${TCL_VER}
+#MAKE_ARGS+= tclvers=${TCL_VER}
PLIST_FILES= lib/pure/gnocl.pure \
lib/pure/tk.so \
lib/pure/tk.pure
+PORTDOCS= README
+PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-patch:
${REINPLACE_CMD} \
- -e "s|/usr/include|${LOCALBASE}/include|g" \
+ -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
-PORTDOCS= README
-
-PORTEXAMPLES= *
-
-OPTIONS_DEFINE= DOCS EXAMPLES
-
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
diff --git a/x11-toolkits/pure-tk/distinfo b/x11-toolkits/pure-tk/distinfo
index 1a447ebde494..9c6ccd801f3b 100644
--- a/x11-toolkits/pure-tk/distinfo
+++ b/x11-toolkits/pure-tk/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pure/pure-tk-0.4.tar.gz) = 4d254af183974e307aaef73587e93e5f31df548a8f6824ef2db40bb5c46eede6
-SIZE (pure/pure-tk-0.4.tar.gz) = 33208
+SHA256 (pure/pure-tk-0.5.tar.gz) = 3b6e97e2d723d5a05bf25f4ac62068ac17a1fd81db03e1986366097bf071a516
+SIZE (pure/pure-tk-0.5.tar.gz) = 19732