aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/tk83
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-11 04:05:52 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-11 04:05:52 +0000
commit7f21765ca53eaf3a1fccb48ff2e8cf4fb959975a (patch)
treeef31276220c2032907672c60ee08bf4e79aac6b6 /x11-toolkits/tk83
parent08d0acafb8c32cf74a736721334ebebb0fbc1b19 (diff)
downloadports-7f21765ca53eaf3a1fccb48ff2e8cf4fb959975a.tar.gz
ports-7f21765ca53eaf3a1fccb48ff2e8cf4fb959975a.zip
Notes
Diffstat (limited to 'x11-toolkits/tk83')
-rw-r--r--x11-toolkits/tk83/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/x11-toolkits/tk83/Makefile b/x11-toolkits/tk83/Makefile
index 79cc4dc1eb14..a774d4898663 100644
--- a/x11-toolkits/tk83/Makefile
+++ b/x11-toolkits/tk83/Makefile
@@ -36,11 +36,12 @@ NOPRECIOUSMAKEVARS= Too many _MLINKS for README.html
TCL83_PORT?= lang/tcl83
MANCOMPRESSED= no
-OPTIONS= TK83_MAN "Install tk 8.3 manpages" off
+OPTIONS_DEFINE= TK83_MAN
+TK82_MAN_DESC= Install tk 8.3 manpages
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(NO_INSTALL_MANPAGES) && defined(WITH_TK83_MAN)
+.if !defined(NO_INSTALL_MANPAGES) && ${PORT_OPTIONS:MTK83_MAN}
MAN1= wish.1
MAN3= 3DBorder.3 AddOption.3 BindTable.3 CanvPsY.3 CanvTkwin.3 \
@@ -338,11 +339,11 @@ post-configure:
post-install:
${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/tk${TK_VER}/
-.if !defined(NO_INSTALL_MANPAGES) && defined(WITH_TK83_MAN)
+.if !defined(NO_INSTALL_MANPAGES) && ${PORT_OPTIONS:MTK83_MAN}
@cd ${WRKSRC} && ${MAKE} -f Makefile install-doc
.endif
test:
cd ${WRKSRC}; make test
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>