summaryrefslogtreecommitdiff
path: root/audio/vat/Makefile
blob: 096f092a0284a83a3fefb4fecc7f926d0d4099a9 (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
# New ports collection makefile for:	vat
# Date created:		2 November 1996
# Whom:			fenner
#
# $FreeBSD$
#

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

MAINTAINER=	fenner@FreeBSD.org

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=	tk82.1:${PORTSDIR}/x11-toolkits/tk82 \
		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 ${PREFIX}/bin/vat

.include <bsd.port.mk>