aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tk82
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/tk82
parent866436d78f6dbd7b614c00956ac85fa0e72753b6 (diff)
downloadports-bf30172cbf5f17badcfff40a747d1d7747b84c91.tar.gz
ports-bf30172cbf5f17badcfff40a747d1d7747b84c91.zip
Notes
Diffstat (limited to 'x11-toolkits/tk82')
-rw-r--r--x11-toolkits/tk82/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/x11-toolkits/tk82/Makefile b/x11-toolkits/tk82/Makefile
index 6987c624cc1c..80ac932b1537 100644
--- a/x11-toolkits/tk82/Makefile
+++ b/x11-toolkits/tk82/Makefile
@@ -7,7 +7,7 @@
PORTNAME= tk
PORTVERSION= 8.2.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11-toolkits tk82
MASTER_SITES= ${MASTER_SITE_TCLTK}
MASTER_SITE_SUBDIR= tcl8_2
@@ -35,6 +35,10 @@ TCL82_PORT?= lang/tcl82
USE_REINPLACE= YES
MANCOMPRESSED= no
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_TK82_MAN)
+
MAN1= wish.1
MAN3= 3DBorder.3 BindTable.3 CanvPsY.3 CanvTkwin.3 CanvTxtInfo.3 \
Clipboard.3 ClrSelect.3 ConfigWidg.3 ConfigWind.3 CoordToWin.3 \
@@ -301,11 +305,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_TK82_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}/