aboutsummaryrefslogtreecommitdiffstats
path: root/audio/vat/Makefile
blob: 202e5923e1f1f153275387b4c5ab5ee546f74c2f (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
41
42
43
# New ports collection makefile for:    vat
# Date created:     2 November 1996
# Whom:         fenner
#
# $FreeBSD$
#

PORTNAME=   vat
PORTVERSION=    4.0b2
PORTREVISION=   1
CATEGORIES= mbone tk83
MASTER_SITES=   ftp://ftp.ee.lbl.gov/conferencing/vat/alpha-test/
DISTFILES=  vatsrc-4.0b2.tar.gz

MAINTAINER= fenner@FreeBSD.org
COMMENT=    The Visual Audio Tool - multicast audioconferencing

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 501000
BROKEN=     "Does not compile on FreeBSD ${OSVERSION}"
.endif

GSM_DIR=    ${.CURDIR}/../../audio/gsm
GSM_WORK=   ${WRKDIRPREFIX}${GSM_DIR}/work/gsm-1.0-pl10

# If configure is changed to look for libgsm.a in ${PREFIX}/lib, then
# we can use this first BUILD_DEPENDS and save some work.
#BUILD_DEPENDS= ${GSM_WORK}/inc/private.h:${GSM_DIR}:patch
BUILD_DEPENDS=  ${GSM_WORK}/lib/libgsm.a:${GSM_DIR}:build
LIB_DEPENDS=    tk83.1:${PORTSDIR}/x11-toolkits/tk83 \
        gsm.1:${GSM_DIR}

USE_X_PREFIX=   yes
USE_AUTOCONF=   yes
CONFIGURE_ARGS= --with-gsm=${GSM_WORK}
INSTALL_TARGET= install install-man
MAN1=       vat.1

post-install:
    ${STRIP_CMD} ${PREFIX}/bin/vat

.include <bsd.port.post.mk>