aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/tk84
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-08-17 13:00:53 +0800
committerdinoex <dinoex@FreeBSD.org>2004-08-17 13:00:53 +0800
commit1b4625b6036566fe8efa3b0c80c0df67188b7b31 (patch)
tree43638f898967f1a4287baf0db51171c549bf3cb6 /x11-toolkits/tk84
parentd8b692405312e3908851eef77449ca2a7f0c9ce2 (diff)
downloadfreebsd-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 'x11-toolkits/tk84')
-rw-r--r--x11-toolkits/tk84/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/x11-toolkits/tk84/Makefile b/x11-toolkits/tk84/Makefile
index 9aaa7c39e6f5..82767bacfedd 100644
--- a/x11-toolkits/tk84/Makefile
+++ b/x11-toolkits/tk84/Makefile
@@ -43,6 +43,10 @@ CONFIGURE_ARGS+= --enable-threads
PKGNAMESUFFIX?= -threads
.endif
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_TK84_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 \
@@ -344,7 +348,7 @@ MLINKS= 3DBorder.3 Tk_Alloc3DBorderFromObj.3 \
text.n tk_textCut.n \
text.n tk_textPaste.n
-.include <bsd.port.pre.mk>
+.endif
pre-everything::
@if ${TEST} -e "${NONEXISTENT}"; then ${ECHO_MSG} "=== Aborted, please remove ${NONEXISTENT}"; exit 1; fi
@@ -356,6 +360,10 @@ post-patch:
post-configure:
${REINPLACE_CMD} -e 's=${WRKDIRPREFIX}${PORTSDIR}=$${WRKDIRPREFIX}${PORTSDIR}=' \
${WRKSRC}/tkConfig.sh
+.if defined(WITHOUT_TK84_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}/