aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-12-12 17:00:28 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-12-12 17:00:28 +0800
commit22c7263afe8a4ea9425302b76e920dde72495467 (patch)
tree3be8eb9005307d1c672c3e36126bb813cc7175b0 /irc
parent190f671e240bb843a8a70099c24bdf5e05c81492 (diff)
downloadfreebsd-ports-gnome-22c7263afe8a4ea9425302b76e920dde72495467.tar.gz
freebsd-ports-gnome-22c7263afe8a4ea9425302b76e920dde72495467.tar.zst
freebsd-ports-gnome-22c7263afe8a4ea9425302b76e920dde72495467.zip
- Fix LICENSE
- Switch to options helpers - Switch to CMAKE_BOOL - Update WWW Approved by: portmgr blanket
Diffstat (limited to 'irc')
-rw-r--r--irc/dxirc/Makefile25
-rw-r--r--irc/dxirc/pkg-descr2
-rw-r--r--irc/dxirc/pkg-plist8
3 files changed, 12 insertions, 23 deletions
diff --git a/irc/dxirc/Makefile b/irc/dxirc/Makefile
index 288afa0190f8..414b7956dc32 100644
--- a/irc/dxirc/Makefile
+++ b/irc/dxirc/Makefile
@@ -8,7 +8,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}
MAINTAINER= arch_dvx@users.sourceforge.net
COMMENT= Simple IRC client
-LICENSE= GPLv3
+LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
USE_XORG= ice sm x11 xext
@@ -23,21 +23,20 @@ OPTIONS_SUB= yes
ENCHANT_DESC= Spell checking support via Enchant
ENCHANT_LIB_DEPENDS= libenchant.so:textproc/enchant
-ENCHANT_CMAKE_ON= -DHAVE_ENCHANT:BOOL=ON
-ENCHANT_CMAKE_OFF= -DHAVE_ENCHANT:BOOL=OFF
+ENCHANT_CMAKE_BOOL= HAVE_ENCHANT
FOX16_DESC= FOX 1.6 toolkit support
FOX16_LIB_DEPENDS= libFOX-1.6.so:x11-toolkits/fox16
FOX16_USES= ssl
-FOX16_CMAKE_ON= -DFOX_ENABLE_IPV6:BOOL=ON
+FOX16_CMAKE_ON= -DFOX_ENABLE_IPV6:BOOL=ON \
+ -DBUILD_FOX:BOOL=ON -DBUILD_QT:BOOL=OFF
+FOX16_CMAKE_OFF= -DBUILD_FOX:BOOL=OFF -DBUILD_QT:BOOL=ON
LUA_USES= lua
-LUA_CMAKE_ON= -DWITH_LUA:BOOL=ON
-LUA_CMAKE_OFF= -DWITH_LUA:BOOL=OFF
+LUA_CMAKE_BOOL= WITH_LUA
NLS_USES= gettext
-NLS_CMAKE_ON= -DWITH_NLS:BOOL=ON
-NLS_CMAKE_OFF= -DWITH_NLS:BOOL=OFF
+NLS_CMAKE_BOOL= WITH_NLS
NOTIFY_RUN_DEPENDS= notify-send:devel/libnotify
@@ -49,14 +48,4 @@ QT5_USE= QT5=core,gui,multimedia,network,widgets \
QT5=buildtools_build,qmake_build
QT5_CMAKE_ON= -DQT5:BOOL=ON
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MFOX16}
-CMAKE_ARGS+= -DBUILD_FOX:BOOL=ON -DBUILD_QT:BOOL=OFF
-PLIST_SUB+= FOX="" QT="@comment "
-.else
-CMAKE_ARGS+= -DBUILD_FOX:BOOL=OFF -DBUILD_QT:BOOL=ON
-PLIST_SUB+= FOX="@comment " QT=""
-.endif
-
.include <bsd.port.mk>
diff --git a/irc/dxirc/pkg-descr b/irc/dxirc/pkg-descr
index 881a72698596..91c4db576fa8 100644
--- a/irc/dxirc/pkg-descr
+++ b/irc/dxirc/pkg-descr
@@ -7,4 +7,4 @@ Features:
- Support for multiple simultaneously connected servers
- Well-arranged and flexible configuration dialog
-WWW: http://www.dxirc.org/
+WWW: https://www.dxirc.org/
diff --git a/irc/dxirc/pkg-plist b/irc/dxirc/pkg-plist
index 97a5aa515f7f..fe11a529391b 100644
--- a/irc/dxirc/pkg-plist
+++ b/irc/dxirc/pkg-plist
@@ -1,7 +1,7 @@
-%%FOX%%bin/dxirc-fox
-%%QT%%bin/dxirc-qt
-%%FOX%%share/applications/dxirc-fox.desktop
-%%QT%%share/applications/dxirc-qt.desktop
+%%FOX16%%bin/dxirc-fox
+%%NO_FOX16%%bin/dxirc-qt
+%%FOX16%%share/applications/dxirc-fox.desktop
+%%NO_FOX16%%share/applications/dxirc-qt.desktop
%%DATADIR%%/COPYING
%%DATADIR%%/icons/arrow_down.png
%%DATADIR%%/icons/arrow_refresh.png