aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2015-02-09 07:12:43 +0800
committermi <mi@FreeBSD.org>2015-02-09 07:12:43 +0800
commit6b2fbfa16e07caac28b17ef15b2883fcd4c62a6d (patch)
treea97006c241e95729e19bc66acf1b0ef0c176f338 /devel
parentb66b5e0aebb920a713e283456c78f3986895bc92 (diff)
downloadfreebsd-ports-gnome-6b2fbfa16e07caac28b17ef15b2883fcd4c62a6d.tar.gz
freebsd-ports-gnome-6b2fbfa16e07caac28b17ef15b2883fcd4c62a6d.tar.zst
freebsd-ports-gnome-6b2fbfa16e07caac28b17ef15b2883fcd4c62a6d.zip
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/
Diffstat (limited to 'devel')
-rw-r--r--devel/critcl/Makefile16
-rw-r--r--devel/critcl/pkg-plist14
2 files changed, 18 insertions, 12 deletions
diff --git a/devel/critcl/Makefile b/devel/critcl/Makefile
index c12266566c24..70d1e2296204 100644
--- a/devel/critcl/Makefile
+++ b/devel/critcl/Makefile
@@ -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>
diff --git a/devel/critcl/pkg-plist b/devel/critcl/pkg-plist
index da8348033c79..7ef5342ae41c 100644
--- a/devel/critcl/pkg-plist
+++ b/devel/critcl/pkg-plist
@@ -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