aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/tkabber-devel
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2013-05-24 00:10:43 +0800
committerjgh <jgh@FreeBSD.org>2013-05-24 00:10:43 +0800
commit3e076eda9c9558cae971fc26704d307c15af43ff (patch)
tree7a07ddc1957746cdaa2cb3a8d489a8fd12cf2d40 /net-im/tkabber-devel
parent3f6381641e43bbc5f25a46951661cfa837026e21 (diff)
downloadfreebsd-ports-gnome-3e076eda9c9558cae971fc26704d307c15af43ff.tar.gz
freebsd-ports-gnome-3e076eda9c9558cae971fc26704d307c15af43ff.tar.zst
freebsd-ports-gnome-3e076eda9c9558cae971fc26704d307c15af43ff.zip
- adoption of optionsNG framework
Approved by: portmgr (bapt)
Diffstat (limited to 'net-im/tkabber-devel')
-rw-r--r--net-im/tkabber-devel/Makefile18
1 files changed, 7 insertions, 11 deletions
diff --git a/net-im/tkabber-devel/Makefile b/net-im/tkabber-devel/Makefile
index f59ceaa210dd..9a4fe4802174 100644
--- a/net-im/tkabber-devel/Makefile
+++ b/net-im/tkabber-devel/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: tkabber-devel
-# Date created: 09 July 2005
-# Whom: Denis Shaposhnikov <dsh@vlink.ru>
-#
+# Created by: Denis Shaposhnikov <dsh@vlink.ru>
# $FreeBSD$
-#
PORTNAME= tkabber
PORTVERSION= 0.11.1.a.20100207
@@ -38,7 +34,9 @@ DESKTOP_ENTRIES= "${PORTNAME}" \
SUBDIRS= emoticons ifacetk mclistbox msgs pixmaps plugins sounds \
tclxmpp trans
-OPTIONS= ZLIB "with zlib support" off
+OPTIONS_DEFINE= ZLIB
+
+.include <bsd.port.options.mk>
do-install:
${ECHO} -e "#!/bin/sh\nexec ${WISH} ${DATADIR}/tkabber.tcl \
@@ -57,7 +55,7 @@ do-install:
${MKDIR} ${EXAMPLESDIR}
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
. for i in AUTHORS COPYING ChangeLog README
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
@@ -65,10 +63,8 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif
-.include <bsd.port.pre.mk>
-
-.if defined(WITH_ZLIB)
+.if ${PORT_OPTIONS:MZLIB}
LIB_DEPENDS+= ztcl[0-9]:${PORTSDIR}/devel/ztcl
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>