aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-08-17 13:00:53 +0800
committerdinoex <dinoex@FreeBSD.org>2004-08-17 13:00:53 +0800
commit1b4625b6036566fe8efa3b0c80c0df67188b7b31 (patch)
tree43638f898967f1a4287baf0db51171c549bf3cb6 /lang
parentd8b692405312e3908851eef77449ca2a7f0c9ce2 (diff)
downloadfreebsd-ports-gnome-1b4625b6036566fe8efa3b0c80c0df67188b7b31.tar.gz
freebsd-ports-gnome-1b4625b6036566fe8efa3b0c80c0df67188b7b31.tar.zst
freebsd-ports-gnome-1b4625b6036566fe8efa3b0c80c0df67188b7b31.zip
- new options:
WITH_TCL82_MAN, WITH_TCL82_MAN, WITHOUT_TCL84_MAN, WITH_TK82_MAN, WITH_TK82_MAN, WITHOUT_TK84_MAN PR: 70328
Diffstat (limited to 'lang')
-rw-r--r--lang/tcl82/Makefile12
-rw-r--r--lang/tcl83/Makefile12
-rw-r--r--lang/tcl84/Makefile10
3 files changed, 29 insertions, 5 deletions
diff --git a/lang/tcl82/Makefile b/lang/tcl82/Makefile
index bef81da7d69c..aa8e30d336dd 100644
--- a/lang/tcl82/Makefile
+++ b/lang/tcl82/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tcl
PORTVERSION= 8.2.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= lang tcl82
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= tcl8_2
@@ -29,6 +29,10 @@ NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken
USE_REINPLACE= YES
PLIST_SUB= TCL_VER=8.2 SHORT_TCL_VER=82
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_TCL82_MAN)
+
MAN1= tclsh.1
MAN3= Access.3 AddErrInfo.3 Alloc.3 AllowExc.3 AppInit.3 AssocData.3 \
@@ -369,7 +373,7 @@ MLINKS= Access.3 Tcl_Access.3 \
pkgMkIndex.n pkg_mkIndex.n \
safe.n Safe\Base.n
-.include <bsd.port.pre.mk>
+.endif
post-extract:
${MV} ${WRKDIR}/${DISTNAME}/doc/InitStubs.3 \
@@ -378,6 +382,10 @@ post-extract:
post-configure:
${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
${WRKSRC}/tclConfig.sh
+.if !defined(WITH_TCL82_MAN)
+ ${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
+ ${WRKSRC}/Makefile
+.endif
post-install:
.if exists(${PKGINSTALL})
diff --git a/lang/tcl83/Makefile b/lang/tcl83/Makefile
index 0bd62be7c3f3..b9eb7a979850 100644
--- a/lang/tcl83/Makefile
+++ b/lang/tcl83/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tcl
PORTVERSION= 8.3.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang tcl83
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tcl
@@ -31,6 +31,10 @@ NOPRECIOUSMAKEVARS= yes # Otherwise 'make readmes' is broken
USE_REINPLACE= YES
PLIST_SUB= TCL_VER=${TCL_VER} SHORT_TCL_VER=83
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_TCL83_MAN)
+
MAN1= tclsh.1
MAN3= Access.3 AddErrInfo.3 Alloc.3 AllowExc.3 AppInit.3 AssocData.3 \
@@ -421,11 +425,15 @@ MLINKS= Access.3 Tcl_Access.3 \
safe.n Safe\Base.n \
tcltest.n Tcltest.n
-.include <bsd.port.pre.mk>
+.endif
post-configure:
${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
${WRKSRC}/tclConfig.sh
+.if !defined(WITH_TCL83_MAN)
+ ${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
+ ${WRKSRC}/Makefile
+.endif
post-install:
.if exists(${PKGINSTALL})
diff --git a/lang/tcl84/Makefile b/lang/tcl84/Makefile
index 99fc517199fd..e619fbf485ad 100644
--- a/lang/tcl84/Makefile
+++ b/lang/tcl84/Makefile
@@ -38,6 +38,10 @@ THREADS_SUFFIX= -threads
CONFIGURE_ARGS+= --enable-threads
.endif
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_TCL84_MAN)
+
MAN1= tclsh.1
MAN3= Access.3 AddErrInfo.3 Alloc.3 AllowExc.3 AppInit.3 AssocData.3 \
@@ -589,7 +593,7 @@ MLINKS= Access.3 Tcl_Access.3 \
pkgMkIndex.n pkg_mkIndex.n \
safe.n SafeBase.n
-.include <bsd.port.pre.mk>
+.endif
.if defined(TCL_WITH_THREADS) || defined(WITH_THREADS)
post-patch:
@@ -601,6 +605,10 @@ post-patch:
post-configure:
${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
${WRKSRC}/tclConfig.sh
+.if defined(WITHOUT_TCL84_MAN)
+ ${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
+ ${WRKSRC}/Makefile
+.endif
post-install:
.if exists(${PKGINSTALL})