mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
eb92024368
PR: 21445 Submitted by: maintainer
52 lines
1.3 KiB
Makefile
52 lines
1.3 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.9
|
|
CATEGORIES= mbone audio ipv6
|
|
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/4.2.9/ \
|
|
${MASTER_SITE_LOCAL}
|
|
MASTER_SITE_SUBDIR= cpiazza
|
|
|
|
MAINTAINER= O.Hodson@cs.ucl.ac.uk
|
|
|
|
LIB_DEPENDS= tk82.1:${PORTSDIR}/x11-toolkits/tk82
|
|
|
|
USE_AUTOCONF= yes
|
|
USE_GMAKE= yes
|
|
MAN1= rat.1
|
|
MANCOMPRESSED= no
|
|
|
|
PATCH_DEBUG= yes
|
|
|
|
RAT_BUILD_DIRS= common rat
|
|
|
|
.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_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:
|
|
for d in ${RAT_BUILD_DIRS}; do \
|
|
cd ${WRKSRC}/$$d && ${GMAKE}; \
|
|
done
|
|
|
|
do-configure:
|
|
cd ${WRKSRC}/common && autoconf && ./configure ${ENABLE_IPv6}
|
|
cd ${WRKSRC}/rat && autoconf && ./configure --with-tcl=${LOCALBASE} --with-tk=${LOCALBASE} ${ENABLE_IPv6}
|
|
|
|
.include "bsd.port.post.mk"
|