summaryrefslogtreecommitdiff
path: root/audio/rat/Makefile
blob: 046307711d9b481871bb5f40f02baac42675db37 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:  rat
# Version required:		      4.0.4
# Date created:			      3 July 1999
# Whom:				      O.Hodson@cs.ucl.ac.uk (Orion Hodson)
#
# $FreeBSD$
#

DISTNAME=	rat-4.0.4
CATEGORIES=	mbone audio
MASTER_SITES=	http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/4.0.4/ \
		http://www.freebsd.org/~cpiazza/distfiles/

MAINTAINER=	O.Hodson@cs.ucl.ac.uk

LIB_DEPENDS=	tk82.1:${PORTSDIR}/x11-toolkits/tk82

USE_GMAKE=	yes
MAN1=		rat.1
MANCOMPRESSED=	no

RAT_BUILD_DIRS=	common rat

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/rat/rat-4.0.4 ${PREFIX}/bin/rat
	${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-4.0.4 ${LOCALBASE}/etc/sdr/plugins

do-build:
	for d in ${RAT_BUILD_DIRS}; do \
		cd ${WRKSRC}/$$d && ${GMAKE}; \
	done

do-configure:
	for d in ${RAT_BUILD_DIRS}; do \
		cd ${WRKSRC}/$$d && ./configure; \
	done

.include "bsd.port.mk"