svn commit: r305648 - head/devel/tcllib

Pietro Cerutti gahr at FreeBSD.org
Wed Oct 10 12:28:23 UTC 2012


Author: gahr
Date: Wed Oct 10 12:28:22 2012
New Revision: 305648
URL: http://svn.freebsd.org/changeset/ports/305648

Log:
  - Do not install the try.n manpage when using Tcl 8.6, cause try/catch/finally
    are part of Tcl 8.6 core and the relevant manpage is installed by lang/tcl86
    http://www.tcl.tk/cgi-bin/tct/tip/329.html

Modified:
  head/devel/tcllib/Makefile
  head/devel/tcllib/Makefile.man

Modified: head/devel/tcllib/Makefile
==============================================================================
--- head/devel/tcllib/Makefile	Wed Oct 10 12:20:32 2012	(r305647)
+++ head/devel/tcllib/Makefile	Wed Oct 10 12:28:22 2012	(r305648)
@@ -7,6 +7,7 @@
 
 PORTNAME=	tcllib
 PORTVERSION=	1.14
+PORTREVISION=	1
 CATEGORIES=	devel tcl
 MASTER_SITES=	SF
 
@@ -43,6 +44,14 @@ post-patch:
 	   ${WRKSRC}/modules/doctools/tests/text/04 > ${WRKSRC}/modules/doctools/tests/text/04.new
 	${MV} ${WRKSRC}/modules/doctools/tests/text/04.new ${WRKSRC}/modules/doctools/tests/text/04
 
+	# try(n) is part of Tcl core since 8.6
+.if ${TCL_VER:S/.//} < 86
+	MANN+=		try.n
+.else
+	${MV} ${WRKSRC}/modules/try/try.man ${WRKSRC}/modules/try/try.man.noinstall
+.endif
+
+
 RUNTEST=	${SETENV} LANG=C DISPLAY= ${MAKE} -C ${WRKSRC} test
 MYID	!=	${ID} -u
 .if ${MYID} == 0

Modified: head/devel/tcllib/Makefile.man
==============================================================================
--- head/devel/tcllib/Makefile.man	Wed Oct 10 12:20:32 2012	(r305647)
+++ head/devel/tcllib/Makefile.man	Wed Oct 10 12:28:22 2012	(r305648)
@@ -303,7 +303,6 @@ MANN=		S3.n \
 		traverse.n \
 		treeql.n \
 		trim.n \
-		try.n \
 		uevent.n \
 		uevent_onidle.n \
 		unicode.n \


More information about the svn-ports-all mailing list