summaryrefslogtreecommitdiffstats
path: root/mbone/speak_freely/Makefile
blob: 7114618568d02c76adfc1af425a1925e9ca12d46 (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
40
41
42
43
44
45
46
47
48
49
50
# New ports collection makefile for:    speak_freely
# Original WWW site: http://www.fourmilab.ch/speakfree/unix/index.html
# Version required:     6.1b
# Date created:         18 Apr 1996
# Whom:                 ache
#
# $Id: Makefile,v 1.5 1996/10/25 16:49:22 ache Exp $
#

DISTNAME=       speak_freely-6.1b
CATEGORIES+=    net audio security
MASTER_SITES=   http://www.fourmilab.ch/speakfree/unix/

MAINTAINER=     ache@FreeBSD.ORG

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

UTILS=   sfspeaker sfmike sflwl
DEMNS=   sfecho sflwld
DDEMNS=  sfvod
SFLIB=   ${PREFIX}/lib/speak_freely

do-install:
	if [ ! -d ${SFLIB} ]; then \
		install -d -o ${BINOWN} -g ${BINGRP} -m 755 ${SFLIB}; \
	fi
	cd ${WRKSRC}; \
	$(INSTALL_DATA) 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;
.if !defined(NOMANCOMPRESS)
	for p in ${UTILS} ${DEMNS} ${DDEMNS}; do \
		gzip -9nf ${PREFIX}/man/man1/$$p.1; \
	done
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud