aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2012-02-15 04:09:12 +0800
committerolgeni <olgeni@FreeBSD.org>2012-02-15 04:09:12 +0800
commit703d5721942d8f798a3bb41c717b9e77af829604 (patch)
tree420196e49f2a568a2c33bbd58fdbea4873a373f5 /lang
parentb97854ac38474b993e60d1dc16a64d3e358792b1 (diff)
downloadfreebsd-ports-gnome-703d5721942d8f798a3bb41c717b9e77af829604.tar.gz
freebsd-ports-gnome-703d5721942d8f798a3bb41c717b9e77af829604.tar.zst
freebsd-ports-gnome-703d5721942d8f798a3bb41c717b9e77af829604.zip
Resolve manpage naming conflict with the stock Tcl documentation
by using full function names in section 3. PR: ports/165141 Submitted by: olgeni Approved by: maintainer
Diffstat (limited to 'lang')
-rw-r--r--lang/itcl/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/itcl/Makefile b/lang/itcl/Makefile
index c34ca5086beb..e25f3a3f5d25 100644
--- a/lang/itcl/Makefile
+++ b/lang/itcl/Makefile
@@ -7,6 +7,7 @@
PORTNAME= itcl
PORTVERSION= 3.4b1
+PORTREVISION= 1
CATEGORIES= lang tcl
MASTER_SITES= SF/incrtcl/%5BIncr%20Tcl_Tk%5D-source/3.4
DISTNAME= itcl${PORTVERSION}
@@ -34,7 +35,7 @@ WRKSRC= ${WRKDIR}/itcl3.4
MANCOMPRESSED= no
MANN= body.n class.n code.n configbody.n delete.n ensemble.n find.n
MANN+= is.n itcl.n itclvars.n local.n scope.n
-MAN3= RegisterC.3 Stack.3 Class.3 List.3 Object.3 Preserve.3
+MAN3= Itcl_RegisterC.3 Itcl_Stack.3 Itcl_Class.3 Itcl_List.3 Itcl_Object.3 Itcl_Preserve.3
ITCL_LIB_FILE= ${ITCL_LIB}.${SHLIB_MAJOR}
@@ -46,6 +47,8 @@ post-build test:
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.n ${PREFIX}/man/mann/
- ${INSTALL_DATA} ${WRKSRC}/doc/*.3 ${PREFIX}/man/man3/
+.for FILE in ${MAN3}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${FILE:S/Itcl_//} ${PREFIX}/man/man3/${FILE}
+.endfor
.include <bsd.port.post.mk>