1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/irc/kvirc/Makefile
Thomas Zander b50a4186ce Chase ffmpeg 3.3 update (ABI changes)
PR:		218658
Submitted by:	riggs
2017-04-25 08:20:30 +00:00

86 lines
2.3 KiB
Makefile

# Created by: Michael Ranner
# $FreeBSD$
PORTNAME= kvirc
PORTVERSION= 4.2.0
PORTREVISION= 6
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= ports@FreeBSD.org
COMMENT?= IRC client for KDE 4
USE_PERL5= build
USE_QT4= moc_build qmake_build rcc_build uic_build \
dbus gui network sql xml
USES= cmake cpe gettext perl5 ssl 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:audio/libaudiofile
AUDIOFILE_CMAKE_OFF= -DWITHOUT_AUDIOFILE=yes
GSM_DESC= u-law to gsm audio converter support
GSM_LIB_DEPENDS= libgsm.so: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+= kde:4 shared-mime-info
USE_KDE= kdelibs automoc4
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} "====================================================="
post-patch:
${REINPLACE_CMD} -e "s|\(-lcrypto\)|-L${OPENSSLLIB} \1|g" \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>