aboutsummaryrefslogtreecommitdiff
path: root/lang/tcl84
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-08-17 05:00:53 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-08-17 05:00:53 +0000
commitbf30172cbf5f17badcfff40a747d1d7747b84c91 (patch)
treebad742ae8a2852a8ad8201c28a63a409af67c164 /lang/tcl84
parent866436d78f6dbd7b614c00956ac85fa0e72753b6 (diff)
downloadports-bf30172cbf5f17badcfff40a747d1d7747b84c91.tar.gz
ports-bf30172cbf5f17badcfff40a747d1d7747b84c91.zip
Notes
Diffstat (limited to 'lang/tcl84')
-rw-r--r--lang/tcl84/Makefile10
1 files changed, 9 insertions, 1 deletions
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})