aboutsummaryrefslogtreecommitdiffstats
path: root/irc/kvirc
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-05-12 19:48:49 +0800
committermakc <makc@FreeBSD.org>2013-05-12 19:48:49 +0800
commit42c3e01f07107a7ded656f841e10cae90815ea5d (patch)
treefcff4e051f035837ff7cab73432d274b96171613 /irc/kvirc
parentc2b64d94e19f83563bdf4236c8047c64f184ed69 (diff)
downloadfreebsd-ports-gnome-42c3e01f07107a7ded656f841e10cae90815ea5d.tar.gz
freebsd-ports-gnome-42c3e01f07107a7ded656f841e10cae90815ea5d.tar.zst
freebsd-ports-gnome-42c3e01f07107a7ded656f841e10cae90815ea5d.zip
- 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
Diffstat (limited to 'irc/kvirc')
-rw-r--r--irc/kvirc/Makefile12
1 files changed, 4 insertions, 8 deletions
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