Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2015 23:12:44 +0000 (UTC)
From:      Mikhail Teterin <mi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378703 - head/devel/critcl
Message-ID:  <201502082312.t18NCiDL067340@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mi
Date: Sun Feb  8 23:12:43 2015
New Revision: 378703
URL: https://svnweb.freebsd.org/changeset/ports/378703
QAT: https://qat.redports.org/buildarchive/r378703/

Log:
  Install bundled man-pages.
  
  Remove the DOCS-option -- there is nothing in the HTML-documentation, that
  man-pages do not contain, but regenerating the docs required dtplite.
  
  PR:		197359
  Submitted by:	mi
  Approved by:	gahr	(blanket)
  Sponsored by:	http://sybpipe.com/

Modified:
  head/devel/critcl/Makefile
  head/devel/critcl/pkg-plist

Modified: head/devel/critcl/Makefile
==============================================================================
--- head/devel/critcl/Makefile	Sun Feb  8 23:11:37 2015	(r378702)
+++ head/devel/critcl/Makefile	Sun Feb  8 23:12:43 2015	(r378703)
@@ -3,13 +3,12 @@
 
 PORTNAME=	critcl
 PORTVERSION=	3.1.12
+PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	tcltk@FreeBSD.org
 COMMENT=	Compiled Runtime in Tcl
 
-OPTIONS_DEFINE=	DOCS
-
 USES+=		tcl
 USE_GITHUB=	yes
 GH_ACCOUNT=	andreas-kupries
@@ -22,23 +21,16 @@ NO_BUILD=	yes
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MDOCS}
-BUILD_DEPENDS+=	dtplite:${PORTSDIR}/devel/tcllib
-.endif
-
 post-patch:
 	${REINPLACE_CMD} -e 's|dtplite|${LOCALBASE}/bin/dtplite|g' ${WRKSRC}/build.tcl
 	${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g' ${WRKSRC}/lib/critcl/Config
 
 do-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC} && ${TCLSH} build.tcl doc)
-	(cd ${WRKSRC}/embedded/www && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
-.endif
 	(cd ${WRKSRC} && ${TCLSH} build.tcl install ${STAGEDIR}${PREFIX}/lib)
+	${INSTALL_MAN} ${WRKSRC}/embedded/man/files/critcl_*.n	\
+		${STAGEDIR}${MANPREFIX}/man/mann/
 
-regression-test: build
+test check regression-test: build
 	(cd ${WRKSRC} && ${TCLSH} test/all.tcl)
 
 .include <bsd.port.mk>

Modified: head/devel/critcl/pkg-plist
==============================================================================
--- head/devel/critcl/pkg-plist	Sun Feb  8 23:11:37 2015	(r378702)
+++ head/devel/critcl/pkg-plist	Sun Feb  8 23:12:43 2015	(r378703)
@@ -101,3 +101,17 @@ lib/stubs/writer.tcl
 lib/util84/dict.tcl
 lib/util84/lassign.tcl
 lib/util84/pkgIndex.tcl
+man/mann/critcl_app.n.gz
+man/mann/critcl_apppkg.n.gz
+man/mann/critcl_bitmap.n.gz
+man/mann/critcl_class.n.gz
+man/mann/critcl_devguide.n.gz
+man/mann/critcl_enum.n.gz
+man/mann/critcl_iassoc.n.gz
+man/mann/critcl_installer.n.gz
+man/mann/critcl_introduction.n.gz
+man/mann/critcl_literals.n.gz
+man/mann/critcl_pkg.n.gz
+man/mann/critcl_sources.n.gz
+man/mann/critcl_usingit.n.gz
+man/mann/critcl_util.n.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502082312.t18NCiDL067340>