From bf30172cbf5f17badcfff40a747d1d7747b84c91 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Tue, 17 Aug 2004 05:00:53 +0000 Subject: - new options: WITH_TCL82_MAN, WITH_TCL82_MAN, WITHOUT_TCL84_MAN, WITH_TK82_MAN, WITH_TK82_MAN, WITHOUT_TK84_MAN PR: 70328 --- lang/tcl83/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'lang/tcl83') 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 + +.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 +.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}) -- cgit v1.2.3