aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/pure-tk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/pure-tk/Makefile')
-rw-r--r--x11-toolkits/pure-tk/Makefile20
1 files changed, 9 insertions, 11 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}