diff options
author | gahr <gahr@FreeBSD.org> | 2014-01-10 16:50:56 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2014-01-10 16:50:56 +0800 |
commit | 0b8cbea587e4b9c10e45a6b9a54163c04f3af463 (patch) | |
tree | 9c6a7847834fcb67ea7be0fe12ee2a1c855e5961 /x11-toolkits/pure-tk | |
parent | 4d704bc3a21821fb5c4e3d4bef96e65ea7951499 (diff) | |
download | freebsd-ports-gnome-0b8cbea587e4b9c10e45a6b9a54163c04f3af463.tar.gz freebsd-ports-gnome-0b8cbea587e4b9c10e45a6b9a54163c04f3af463.tar.zst freebsd-ports-gnome-0b8cbea587e4b9c10e45a6b9a54163c04f3af463.zip |
- Convert to USES=tk and take advantage of the TK_SHLIB_VER variable
- Fix LICENSE (BSD -> BSD3CLAUSE)
Diffstat (limited to 'x11-toolkits/pure-tk')
-rw-r--r-- | x11-toolkits/pure-tk/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/x11-toolkits/pure-tk/Makefile b/x11-toolkits/pure-tk/Makefile index e9f818b1f854..4eb5dcd7dd39 100644 --- a/x11-toolkits/pure-tk/Makefile +++ b/x11-toolkits/pure-tk/Makefile @@ -10,11 +10,9 @@ DIST_SUBDIR= pure MAINTAINER= lichray@gmail.com COMMENT= Basic interface between Pure and Tcl/Tk -LICENSE= BSD +LICENSE= BSD3CLAUSE -USES= pure -USE_TK= 86+ -SHORT_TCL_VER= ${TCL_VER:S/8./8/} +USES= pure tk:86+ MAKE_ARGS+= tclvers=${TCL_VER} @@ -25,8 +23,8 @@ PLIST_FILES= lib/pure/gnocl.pure \ 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|-ltcl\$$(tclvers)|-ltcl${TCL_SHLIB_VER}|" \ + -e "s|-ltk\$$(tclvers)|-ltk${TK_SHLIB_VER}|" \ ${WRKSRC}/Makefile NO_STAGE= yes |