aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tk83
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 /x11-toolkits/tk83
parent866436d78f6dbd7b614c00956ac85fa0e72753b6 (diff)
- new options:
WITH_TCL82_MAN, WITH_TCL82_MAN, WITHOUT_TCL84_MAN, WITH_TK82_MAN, WITH_TK82_MAN, WITHOUT_TK84_MAN PR: 70328
Notes
Notes: svn path=/head/; revision=116460
Diffstat (limited to 'x11-toolkits/tk83')
-rw-r--r--x11-toolkits/tk83/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/x11-toolkits/tk83/Makefile b/x11-toolkits/tk83/Makefile
index 0684bd208030..dfd0dae9e299 100644
--- a/x11-toolkits/tk83/Makefile
+++ b/x11-toolkits/tk83/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tk
PORTVERSION= 8.3.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-toolkits tk83
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tcl
@@ -37,6 +37,10 @@ TCL83_PORT?= lang/tcl83
USE_REINPLACE= YES
MANCOMPRESSED= no
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_TK83_MAN)
+
MAN1= wish.1
MAN3= 3DBorder.3 AddOption.3 BindTable.3 CanvPsY.3 CanvTkwin.3 \
CanvTxtInfo.3 Clipboard.3 ClrSelect.3 ConfigWidg.3 ConfigWind.3 \
@@ -319,11 +323,15 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \
palette.n tk_bisque.n \
popup.n tk_popup.n
-.include <bsd.port.pre.mk>
+.endif
post-configure:
${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
${WRKSRC}/tkConfig.sh
+.if !defined(WITH_TK83_MAN)
+ ${REINPLACE_CMD} -e 's|^MAN_INSTALL_DIR.*$$|MAN_INSTALL_DIR = ${WRKDIR}|' \
+ ${WRKSRC}/Makefile
+.endif
post-install:
${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/tk${TK_VER}/