1999-09-04 15:02:01 -04:00
|
|
|
# New ports collection makefile for: rat
|
|
|
|
# Date created: 3 July 1999
|
|
|
|
# Whom: O.Hodson@cs.ucl.ac.uk (Orion Hodson)
|
|
|
|
#
|
1999-09-04 16:46:49 -04:00
|
|
|
# $FreeBSD$
|
1999-09-04 15:02:01 -04:00
|
|
|
#
|
|
|
|
|
2000-04-14 04:49:30 -04:00
|
|
|
PORTNAME= rat
|
2001-04-02 03:05:36 -04:00
|
|
|
PORTVERSION= 4.2.13
|
|
|
|
|
|
|
|
PORTREVISION= 0
|
2000-09-21 14:23:43 -04:00
|
|
|
CATEGORIES= mbone audio ipv6
|
2001-04-02 03:05:36 -04:00
|
|
|
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/4.2.13/ \
|
2000-06-29 03:03:02 -04:00
|
|
|
${MASTER_SITE_LOCAL}
|
|
|
|
MASTER_SITE_SUBDIR= cpiazza
|
1999-09-04 15:02:01 -04:00
|
|
|
|
|
|
|
MAINTAINER= O.Hodson@cs.ucl.ac.uk
|
|
|
|
|
1999-11-28 13:11:27 -05:00
|
|
|
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
|
1999-09-04 15:02:01 -04:00
|
|
|
|
2000-09-18 12:06:05 -04:00
|
|
|
USE_AUTOCONF= yes
|
1999-09-04 15:02:01 -04:00
|
|
|
USE_GMAKE= yes
|
|
|
|
MAN1= rat.1
|
|
|
|
MANCOMPRESSED= no
|
|
|
|
|
2000-09-18 12:06:05 -04:00
|
|
|
PATCH_DEBUG= yes
|
|
|
|
|
1999-09-04 15:02:01 -04:00
|
|
|
RAT_BUILD_DIRS= common rat
|
|
|
|
|
2000-09-21 14:23:43 -04:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} >= 400014
|
2001-01-16 12:33:20 -05:00
|
|
|
ENABLE_IPv6= --enable-ipv6
|
2000-09-21 14:23:43 -04:00
|
|
|
.endif
|
|
|
|
|
1999-09-04 15:02:01 -04:00
|
|
|
do-install:
|
2000-09-18 12:06:05 -04: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
|
1999-09-04 15:02:01 -04:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/rat/man/man1/rat.1 ${PREFIX}/man/man1
|
|
|
|
${MKDIR} ${LOCALBASE}/etc/sdr/plugins
|
2000-09-18 12:06:05 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/rat/sdr2.plugin.S02.audio.rtp.*.rat ${LOCALBASE}/etc/sdr/plugins
|
1999-09-04 15:02:01 -04:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
for d in ${RAT_BUILD_DIRS}; do \
|
|
|
|
cd ${WRKSRC}/$$d && ${GMAKE}; \
|
|
|
|
done
|
|
|
|
|
|
|
|
do-configure:
|
2000-09-21 14:23:43 -04:00
|
|
|
cd ${WRKSRC}/common && autoconf && ./configure ${ENABLE_IPv6}
|
|
|
|
cd ${WRKSRC}/rat && autoconf && ./configure --with-tcl=${LOCALBASE} --with-tk=${LOCALBASE} ${ENABLE_IPv6}
|
1999-09-04 15:02:01 -04:00
|
|
|
|
2000-09-21 14:23:43 -04:00
|
|
|
.include "bsd.port.post.mk"
|