aboutsummaryrefslogtreecommitdiff
path: root/lang/tcl85/Makefile
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-02-03 09:25:40 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-02-03 09:25:40 +0000
commitc55338ddb80da65ab74bd75cba372b3c66cec677 (patch)
tree9fc4e908b83a5d36aaaba98d59d93cf94af95ba6 /lang/tcl85/Makefile
parent6a903d650aedfa6860259b522fa5eda270bbfbd5 (diff)
downloadports-c55338ddb80da65ab74bd75cba372b3c66cec677.tar.gz
ports-c55338ddb80da65ab74bd75cba372b3c66cec677.zip
Notes
Diffstat (limited to 'lang/tcl85/Makefile')
-rw-r--r--lang/tcl85/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/lang/tcl85/Makefile b/lang/tcl85/Makefile
index 86bd7cc01a25..828acce339fe 100644
--- a/lang/tcl85/Makefile
+++ b/lang/tcl85/Makefile
@@ -8,13 +8,16 @@ CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_TCLTK} \
SF/tcl/Tcl/${PORTVERSION}
MASTER_SITE_SUBDIR=tcl8_5
-DISTNAME= ${PORTNAME}${PORTVERSION}-src
PKGNAMESUFFIX= ${PORTVERSION:R:S/.//}
+DISTNAME= ${PORTNAME}${PORTVERSION}-src
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Tool Command Language
-LICENSE= BSD
+LICENSE= TclTk
+LICENSE_NAME= Tcl/Tk License
+LICENSE_FILE= ${WRKSRC}/../license.terms
+LICENSE_PERMS= auto-accept dist-mirror dist-sell pkg-mirror pkg-sell
OPTIONS_DEFINE= TCLMAN TZDATA MODULES THREADS
OPTIONS_DEFAULT=MODULES THREADS
@@ -22,7 +25,6 @@ TCLMAN_DESC= Install Tcl function manpages
TZDATA_DESC= Install Tcl timezone data
MODULES_DESC= Install Tcl common modules
-NO_STAGE= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//}/unix
ALL_TARGET= all
INSTALL_TARGET= install install-libraries
@@ -49,7 +51,9 @@ PLIST_SUB= TCL_VER=${TCL_VER} \
.if ${PORT_OPTIONS:MTCLMAN}
INSTALL_TARGET+=install-doc
-.include "${.CURDIR}/Makefile.man"
+PLIST_SUB+= MAN=""
+.else
+PLIST_SUB+= MAN="@comment "
.endif
.if ${PORT_OPTIONS:MTHREADS}
@@ -87,6 +91,10 @@ post-configure:
-e 's,-DNO_MEMMOVE=1,,' -e 's,-DNO_STRING_H=1,,' \
-e 's,^COMPAT_OBJS.*,,' ${WRKSRC}/Makefile
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/tclsh${TCL_VER}
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtcl${SHORT_TCL_VER}.so.1
+
regression-test: build
cd ${WRKSRC} && LC_ALL=C ${MAKE} test