mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
6e6d30da79
Add newpcm patch for FreeBSD-4.4 upwards.
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
# New ports collection makefile for: rat
|
|
# Date created: 3 July 1999
|
|
# Whom: O.Hodson@cs.ucl.ac.uk (Orion Hodson)
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= rat
|
|
PORTVERSION= 4.2.20
|
|
PORTREVISION= 0
|
|
CATEGORIES= mbone audio ipv6
|
|
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/releases/4.2.20/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= cpiazza
|
|
|
|
MAINTAINER= orion@freebsd.org
|
|
|
|
TCLTK_VERSION= 8.2
|
|
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
|
|
|
|
USE_AUTOCONF= yes
|
|
USE_GMAKE= yes
|
|
MAN1= rat.1
|
|
MANCOMPRESSED= no
|
|
|
|
RAT_BUILD_DIRS= common rat
|
|
RAT= ${PORTNAME}-${PORTVERSION}
|
|
RAT_SCRIPT= ${PORTNAME}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 400014
|
|
ENABLE_IPv6= --enable-ipv6
|
|
.endif
|
|
|
|
do-install:
|
|
${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}
|
|
${INSTALL_MAN} ${WRKSRC}/rat/man/man1/rat.1 ${PREFIX}/man/man1
|
|
${MKDIR} ${LOCALBASE}/etc/sdr/plugins
|
|
${INSTALL_DATA} ${WRKSRC}/rat/sdr2.plugin.S02.audio.rtp.*.${RAT} ${LOCALBASE}/etc/sdr/plugins
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/common/src && ${GMAKE}
|
|
cd ${WRKSRC}/rat && ${GMAKE}
|
|
|
|
do-configure:
|
|
cd ${WRKSRC}/common && ${AUTOCONF} && ./configure ${CONFIGURE_ARGS} ${ENABLE_IPv6}
|
|
cd ${WRKSRC}/rat && ${AUTOCONF} && ./configure ${CONFIGURE_ARGS} --with-tcl=${LOCALBASE} --with-tk=${LOCALBASE} ${ENABLE_IPv6} --with-tcltk-version=${TCLTK_VERSION}
|
|
|
|
.include "bsd.port.post.mk"
|