mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
e83e2c5959
- Remove duplicate and inactive mirror from MASTER_SITES - Add new official mirrors to MASTER_SITES - Fix arts support, add OPTIONS for audio settings and use correct entries for LIB_DEPENDS - Use DATADIR in pkg-plist PR: ports/75082 Submitted by: Michael Ranner <mranner@inode.at>
69 lines
1.5 KiB
Makefile
69 lines
1.5 KiB
Makefile
# New ports collection makefile for: kvirc
|
|
# Date created: 05 January 2004
|
|
# Whom: Michael Ranner
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= kvirc
|
|
PORTVERSION= 3.0.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= irc kde
|
|
MASTER_SITES= ftp://ftp.kvirc.net/pub/%SUBDIR%/ \
|
|
ftp://ftp.kvirc.de/pub/%SUBDIR%/ \
|
|
ftp://mirror.dudcore.net/pub/%SUBDIR%/ \
|
|
ftp://ftp.kvirc.pragmaware.net/pub/%SUBDIR%/
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION}/source
|
|
|
|
MAINTAINER= mranner@inode.at
|
|
COMMENT= IRC client for QT and KDE
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_SHLIB= yes
|
|
USE_BZIP2= yes
|
|
USE_KDELIBS_VER=3
|
|
USE_GMAKE= yes
|
|
USE_REINPLACE= yes
|
|
USE_INC_LIBTOOL_VER= 15
|
|
CONFIGURE_TARGET=
|
|
CONFIGURE_ARGS+= --mandir=${PREFIX}/man/man1
|
|
PLIST_SUB= VER=${PORTVERSION}
|
|
|
|
MAN1= kvirc.1
|
|
|
|
OPTIONS= ARTS "Compile with arts support" on \
|
|
AUDIOFILE "Compile with libaudiofile support" on \
|
|
ESOUND "Compile with esound support" off \
|
|
GSM "Compile with gsm support" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_ARTS)
|
|
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
|
|
.else
|
|
CONFIGURE_ARGS+= --without-arts-support
|
|
.endif
|
|
|
|
.if defined(WITH_AUDIOFILE)
|
|
LIB_DEPENDS+= audiofile.0:${PORTSDIR}/audio/libaudiofile
|
|
.else
|
|
CONFIGURE_ARGS+= --without-af-support
|
|
.endif
|
|
|
|
.if defined(WITH_ESOUND)
|
|
LIB_DEPENDS+= esd.2:${PORTSDIR}/audio/esound
|
|
.else
|
|
CONFIGURE_ARGS+= --without-esd-support
|
|
.endif
|
|
|
|
.if defined(WITH_GSM)
|
|
LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm
|
|
.else
|
|
CONFIGURE_ARGS+= --without-gsm
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
|
|
|
|
.include <bsd.port.post.mk>
|