1999-09-04 21:02:01 +02:00
|
|
|
# New ports collection makefile for: rat
|
|
|
|
# Date created: 3 July 1999
|
|
|
|
# Whom: O.Hodson@cs.ucl.ac.uk (Orion Hodson)
|
|
|
|
#
|
1999-09-04 22:46:49 +02:00
|
|
|
# $FreeBSD$
|
1999-09-04 21:02:01 +02:00
|
|
|
#
|
|
|
|
|
2000-04-14 10:49:30 +02:00
|
|
|
PORTNAME= rat
|
2002-08-10 18:01:02 +02:00
|
|
|
PORTVERSION= 4.2.22
|
2001-04-02 09:05:36 +02:00
|
|
|
PORTREVISION= 0
|
2000-09-21 20:23:43 +02:00
|
|
|
CATEGORIES= mbone audio ipv6
|
2003-01-20 18:24:34 +01:00
|
|
|
MASTER_SITES= \
|
|
|
|
http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/releases/4.2.22/ \
|
|
|
|
http://www.icir.org/hodson/ucl-mirror/
|
1999-09-04 21:02:01 +02:00
|
|
|
|
2004-01-12 21:04:47 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= IPv4/v6 Multicast and unicast audio conferencing tool
|
1999-09-04 21:02:01 +02:00
|
|
|
|
2002-02-24 23:24:06 +01:00
|
|
|
TCLTK_VERSION= 8.2
|
1999-11-28 19:11:27 +01:00
|
|
|
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
|
1999-09-04 21:02:01 +02:00
|
|
|
|
2000-09-18 18:06:05 +02:00
|
|
|
USE_AUTOCONF= yes
|
1999-09-04 21:02:01 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAN1= rat.1
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
|
|
|
|
RAT_BUILD_DIRS= common rat
|
2002-02-24 23:24:06 +01:00
|
|
|
RAT= ${PORTNAME}-${PORTVERSION}
|
|
|
|
RAT_SCRIPT= ${PORTNAME}
|
1999-09-04 21:02:01 +02:00
|
|
|
|
2000-09-21 20:23:43 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2003-10-29 04:59:41 +01:00
|
|
|
.if ${OSVERSION} >= 501000
|
|
|
|
BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
|
|
|
|
.endif
|
|
|
|
|
2000-09-21 20:23:43 +02:00
|
|
|
.if ${OSVERSION} >= 400014
|
2001-01-16 18:33:20 +01:00
|
|
|
ENABLE_IPv6= --enable-ipv6
|
2000-09-21 20:23:43 +02:00
|
|
|
.endif
|
|
|
|
|
1999-09-04 21:02:01 +02:00
|
|
|
do-install:
|
2002-02-24 23:24:06 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT} ${PREFIX}/bin/${RAT}
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT}-ui ${PREFIX}/bin/${RAT}-ui
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT}-media ${PREFIX}/bin/${RAT}-media
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/rat/${RAT_SCRIPT} ${PREFIX}/bin/${RAT_SCRIPT}
|
1999-09-04 21:02:01 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/rat/man/man1/rat.1 ${PREFIX}/man/man1
|
|
|
|
${MKDIR} ${LOCALBASE}/etc/sdr/plugins
|
2002-02-24 23:24:06 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/rat/sdr2.plugin.S02.audio.rtp.*.${RAT} ${LOCALBASE}/etc/sdr/plugins
|
1999-09-04 21:02:01 +02:00
|
|
|
|
|
|
|
do-build:
|
2002-02-24 23:24:06 +01:00
|
|
|
cd ${WRKSRC}/common/src && ${GMAKE}
|
|
|
|
cd ${WRKSRC}/rat && ${GMAKE}
|
1999-09-04 21:02:01 +02:00
|
|
|
|
2004-01-19 23:01:01 +01:00
|
|
|
run-autotools:
|
|
|
|
@${DO_NADA}
|
|
|
|
|
1999-09-04 21:02:01 +02:00
|
|
|
do-configure:
|
2002-01-27 03:36:57 +01:00
|
|
|
cd ${WRKSRC}/common && ${AUTOCONF} && ./configure ${CONFIGURE_ARGS} ${ENABLE_IPv6}
|
2002-02-24 23:24:06 +01:00
|
|
|
cd ${WRKSRC}/rat && ${AUTOCONF} && ./configure ${CONFIGURE_ARGS} --with-tcl=${LOCALBASE} --with-tk=${LOCALBASE} ${ENABLE_IPv6} --with-tcltk-version=${TCLTK_VERSION}
|
1999-09-04 21:02:01 +02:00
|
|
|
|
2003-10-29 04:59:41 +01:00
|
|
|
.include <bsd.port.post.mk>
|