1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/audio/speak_freely/Makefile
Edwin Groothuis 9f6a6f0bb9 fix fetch for mbone/speak-freely
PR:		ports/46087
Submitted by:	Mark Linimon <linimon@lonesome.com>
2002-12-12 11:12:02 +00:00

53 lines
1.4 KiB
Makefile

# 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.5
CATEGORIES= mbone audio security
MASTER_SITES= http://www.fourmilab.ch/speakfree/unix/download/${PORTVERSION}/
MAINTAINER= ports@FreeBSD.org
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}"
post-patch:
@${SED} -e 's,machine/soundcard.h,sys/soundcard.h,' < \
${WRKSRC}/soundbyte.c > ${WRKSRC}/soundbyte.c.new
@${MV} ${WRKSRC}/soundbyte.c.new ${WRKSRC}/soundbyte.c
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>