From 42c3e01f07107a7ded656f841e10cae90815ea5d Mon Sep 17 00:00:00 2001 From: makc Date: Sun, 12 May 2013 11:48:49 +0000 Subject: - Add global options (DOCS, NLS, etc) to the OPTIONS_DEFINE and partly revert r315222 [1] - Convert WITH_DEBUG to new options framework - Trim Makefile header - Adjust COMMENTs - Reformat/update description [1] See follow-up discussion: http://lists.freebsd.org/pipermail/svn-ports-head/2013-March/016094.html --- irc/kvirc/Makefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'irc') diff --git a/irc/kvirc/Makefile b/irc/kvirc/Makefile index fff01102ea8c..3c69c604a19e 100644 --- a/irc/kvirc/Makefile +++ b/irc/kvirc/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: kvirc -# Date created: 05 January 2004 -# Whom: Michael Ranner -# +# Created by: Michael Ranner # $FreeBSD$ -# PORTNAME= kvirc PORTVERSION= 4.2.0 @@ -19,7 +15,7 @@ MASTER_SITES= ftp://ftp.kvirc.de/pub/kvirc/%SUBDIR%/ \ MASTER_SITE_SUBDIR= ${PORTVERSION}/source MAINTAINER= makc@FreeBSD.org -COMMENT?= IRC client for KDE4 +COMMENT?= IRC client for KDE 4 .if !defined(PKGNAMESUFFIX) CONFLICTS_INSTALL= kvirc-qt4-4.* @@ -40,7 +36,7 @@ MAKE_JOBS_SAFE= yes MAN1= kvirc.1 MANLANG= "" de fr it pt uk -OPTIONS_DEFINE= AUDIOFILE GSM PERL PYTHON +OPTIONS_DEFINE= AUDIOFILE GSM PERL PYTHON DEBUG AUDIOFILE_DESC= Support for various audio formats GSM_DESC= u-law to gsm audio converter support @@ -75,7 +71,7 @@ USE_KDE4= kdelibs automoc4 kdeprefix PLIST_SUB+= QT="@comment " KDE="" .endif #defined(PKGNAMESUFFIX) -.if defined(WITH_DEBUG) +.if ${PORT_OPTIONS:MDEBUG} CMAKE_ARGS+= -DWITH_DEBUG=yes -DVERBOSE=yes .endif -- cgit