1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/irc/kvirc/Makefile
Max Brazhnikov 0c308f5640 irc/kvirc:
- Fix typo

PR:		202903
Submitted by:	Georg G.
2015-09-05 19:29:24 +00:00

83 lines
2.2 KiB
Makefile

# Created by: Michael Ranner
# $FreeBSD$
PORTNAME= kvirc
PORTVERSION= 4.2.0
PORTREVISION= 4
CATEGORIES= irc kde
MASTER_SITES= ftp://ftp.kvirc.de/pub/kvirc/%SUBDIR%/ \
http://kvirc.gmake.de/pub/kvirc/%SUBDIR%/ \
http://kvirc-ftp.visualscripts.com/%SUBDIR%/ \
ftp://dedimarbo.ath.cx/pub/kvirc/%SUBDIR%/ \
ftp://kvirc.eban-meban.com/%SUBDIR%/ \
http://kvirc.tradebit.com/%SUBDIR%/ \
http://kvirc.imsam.info/%SUBDIR%/ \
http://kvirc.bcoos.net/%SUBDIR%/
MASTER_SITE_SUBDIR= ${PORTVERSION}/source
MAINTAINER= makc@FreeBSD.org
COMMENT?= IRC client for KDE 4
USE_OPENSSL= yes
USE_PERL5= build
USE_QT4= moc_build qmake_build rcc_build uic_build \
dbus gui network sql xml
USES= cmake cpe gettext perl5 tar:bzip2
CMAKE_ARGS= -DWANT_ESD=no -DWANT_DOXYGEN=no \
-DMANDIR=${MANPREFIX}
USE_LDCONFIG= yes
OPTIONS_DEFINE= AUDIOFILE GSM PERL PYTHON DEBUG
OPTIONS_SUB= yes
AUDIOFILE_DESC= Support for various audio formats
AUDIOFILE_LIB_DEPENDS= libaudiofile.so:${PORTSDIR}/audio/libaudiofile
AUDIOFILE_CMAKE_OFF= -DWITHOUT_AUDIOFILE=yes
GSM_DESC= u-law to gsm audio converter support
GSM_LIB_DEPENDS= libgsm.so:${PORTSDIR}/audio/gsm
GSM_CMAKE_OFF= -DWANT_GSM=no
PERL_DESC= Perl scripting support
PERL_USE= PERL5=run
PERL_CMAKE_OFF= -DWANT_PERL=no
PYTHON_DESC= Python scripting support
PYTHON_USES= python
PYTHON_CMAKE_OFF= -DWANT_PYTHON=no
DEBUG_CMAKE_ON= -DWITH_DEBUG=yes -DVERBOSE=yes
.if defined(PKGNAMESUFFIX)
CONFLICTS_INSTALL= kvirc-4.*
CMAKE_ARGS+= -DWITHOUT_KDE4=yes
PLIST_SUB+= QT="" KDE="@comment "
OPTIONS_DEFINE+= PHONON WEBKIT
PHONON_DESC= Build with Phonon support
PHONON_USE= QT4=phonon
PHONON_CMAKE_OFF= -DWITHOUT_PHONON=yes
WEBKIT_DESC= Build with QtWebkit support
WEBKIT_USE= QT4=webkit
WEBKIT_CMAKE_OFF= -DWITHOUT_QTWEBKIT=yes
.else #defined(PKGNAMESUFFIX)
CONFLICTS_INSTALL= kvirc-qt4-4.*
USES+= shared-mime-info
USE_KDE4= kdelibs automoc4 kdeprefix
PLIST_SUB+= QT="@comment " KDE=""
.endif #defined(PKGNAMESUFFIX)
PLIST_SUB+= VER="${PORTVERSION:R}"
pre-fetch-PERL-on:
@${ECHO_CMD} "====================================================="
@${ECHO_CMD} " Perl scripting requires perl with multiplicity"
@${ECHO_CMD} " support (enabled in ports by default)."
@${ECHO_CMD} "====================================================="
.include <bsd.port.mk>