aboutsummaryrefslogtreecommitdiffstats
path: root/mbone/speak_freely/Makefile
blob: f15998a2ff130027d05a555d25fddd7499426e61 (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
44
45
46
47
48
49
# New ports collection makefile for:    speak_freely
# Date created:         18 Apr 1996
# Whom:                 Mister X (to make portlint happy ;)
#
# $FreeBSD$
#

PORTNAME=   speak_freely
PORTVERSION=    7.6a
CATEGORIES= mbone audio security
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME:S/_/-/}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Voice communication over data networks

LIB_DEPENDS=    gsm.1:${PORTSDIR}/audio/gsm

UTILS=      sfspeaker sfmike sflwl sflaunch
DEMNS=      sfecho sflwld sfreflect
DDEMNS=     sfvod
SFLIB=      ${PREFIX}/lib/speak_freely
MAN1=       ${UTILS:S/$/.1/} ${DEMNS:S/$/.1/} ${DDEMNS:S/$/.1/}

MAKE_ENV=   "OPTFLAGS=${CFLAGS}"

do-install:
    if [ ! -d ${SFLIB} ]; then \
        ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 ${SFLIB}; \
    fi
    cd ${WRKSRC}; \
    $(INSTALL_DATA) busy.au ring.au ${SFLIB}
    cd ${WRKSRC}; \
    for p in ${UTILS}; do \
        $(INSTALL_PROGRAM) $$p ${PREFIX}/bin; \
        $(INSTALL_MAN) $$p.1 ${PREFIX}/man/man1; \
    done;
    cd ${WRKSRC}; \
    for p in ${DEMNS}; do \
        $(INSTALL_PROGRAM) $$p ${PREFIX}/sbin; \
        $(INSTALL_MAN) $$p.1 ${PREFIX}/man/man1; \
    done;
    cd ${WRKSRC}; \
    for p in ${DDEMNS}; do \
        $(INSTALL_SCRIPT) $$p ${PREFIX}/sbin; \
        $(INSTALL_MAN) $$p.1 ${PREFIX}/man/man1; \
    done;

.include <bsd.port.mk>