1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- Fix LICENSE

- Switch to options helpers
- Switch to CMAKE_BOOL
- Update WWW

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2017-12-12 09:00:28 +00:00
parent e6b0953e15
commit b6a6c52205
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456111
3 changed files with 12 additions and 23 deletions

View File

@ -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>

View File

@ -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/

View File

@ -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