mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
3e4ed01146
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
76 lines
2.1 KiB
Makefile
76 lines
2.1 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.25
|
|
PORTREVISION= 3
|
|
CATEGORIES= mbone audio ipv6 tk
|
|
MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/releases/${PORTVERSION}/ \
|
|
http://www.icir.org/hodson/ucl-mirror/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= IPv4/v6 Multicast and unicast audio conferencing tool
|
|
|
|
USE_TK= yes
|
|
USE_XORG= x11 xext sm ice
|
|
USE_AUTOTOOLS= autoconf:213
|
|
USE_GMAKE= yes
|
|
CONFIGURE_ARGS= --enable-ipv6
|
|
|
|
MAN1= rat.1
|
|
MANCOMPRESSED= no
|
|
|
|
RAT_BUILD_DIRS= common rat
|
|
RAT= ${PORTNAME}-${PORTVERSION}
|
|
RAT_SCRIPT= ${PORTNAME}
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
CONFIGURE_ARGS+= --with-tcltk-version=${TK_VER}
|
|
|
|
.if ${ARCH} == "sparc64"
|
|
BROKEN= Does not compile: missing header
|
|
.endif
|
|
|
|
.if ${OSVERSION} >= 700011
|
|
EXTRA_PATCHES= ${FILESDIR}/timet.patch
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s,-Werror,," \
|
|
-e 's,^TCL_INC=$${PARENT}.*,TCL_INC=${TCL_INCLUDEDIR},g' \
|
|
-e 's,^TCL_LIB=$${PARENT}.*,TCL_LIB=${LOCALBASE}/lib,g' \
|
|
-e 's,^TK_INC=$${PARENT}.*,TK_INC=${TK_INCLUDEDIR},g' \
|
|
-e 's,^TK_LIB=$${PARENT}.*,TK_LIB=${LOCALBASE}/lib,g' \
|
|
${WRKSRC}/common/configure.in ${WRKSRC}/rat/configure.in
|
|
|
|
do-install:
|
|
@${REINPLACE_CMD} 's|#/|#!/|' ${WRKSRC}/rat/${RAT_SCRIPT}
|
|
${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
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC}/common && ${AUTOCONF} && ./configure ${CONFIGURE_ARGS}
|
|
cd ${WRKSRC}/common && ${GMAKE}
|
|
|
|
do-configure:
|
|
cd ${WRKSRC}/rat && ${AUTOCONF} && ./configure ${CONFIGURE_ARGS}
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/rat && ${GMAKE}
|
|
|
|
run-autotools::
|
|
@${DO_NADA}
|
|
|
|
.include <bsd.port.post.mk>
|