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