From 3e076eda9c9558cae971fc26704d307c15af43ff Mon Sep 17 00:00:00 2001 From: jgh Date: Thu, 23 May 2013 16:10:43 +0000 Subject: - adoption of optionsNG framework Approved by: portmgr (bapt) --- net-im/tkabber-devel/Makefile | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'net-im/tkabber-devel') 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 -# +# Created by: Denis Shaposhnikov # $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 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 - -.if defined(WITH_ZLIB) +.if ${PORT_OPTIONS:MZLIB} LIB_DEPENDS+= ztcl[0-9]:${PORTSDIR}/devel/ztcl .endif -.include +.include -- cgit