summaryrefslogtreecommitdiff
path: root/mbone/vat/Makefile
blob: 02476bf7c7614ca414c5c47f208dfd96af40878c (plain)
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
# New ports collection makefile for:	vat
# Version required:	4.0b2
# Date created:		2 November 1996
# Whom:			fenner
#
# Id: Makefile,v 1.4 1997/09/11 03:54:43 fenner Exp 
#

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

MAINTAINER=	fenner@FreeBSD.ORG

GSM_DIR=	${PORTSDIR}/audio/gsm
.if defined(OBJMACHINE)
GSM_WORK=	${GSM_DIR}/work.${ARCH}/gsm-1.0-pl10
.else
GSM_WORK=	${GSM_DIR}/work/gsm-1.0-pl10
.endif

# 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=	tk80:${PORTSDIR}/x11/tk80 \
		gsm:${GSM_DIR}

USE_X11=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+= ${MACHINE_ARCH}--netbsd --with-gsm=${GSM_WORK}
INSTALL_TARGET=	install install-man
MAN1=		vat.1

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

.include <bsd.port.mk>