diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-08-17 13:00:53 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-08-17 13:00:53 +0800 |
commit | 1b4625b6036566fe8efa3b0c80c0df67188b7b31 (patch) | |
tree | 43638f898967f1a4287baf0db51171c549bf3cb6 /lang/tcl83 | |
parent | d8b692405312e3908851eef77449ca2a7f0c9ce2 (diff) | |
download | freebsd-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/tcl83')
-rw-r--r-- | lang/tcl83/Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
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}) |