1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/audio/rplay/Makefile
Michael Haro 2c996bca49 s,/usr/local,${PREFIX},g
PR:		12033
Submitted by:	Nick Hibma nick.hibma@jrc.it
1999-06-05 20:07:58 +00:00

34 lines
1006 B
Makefile

# New ports collection makefile for: rplay - Network audio player
# Version required: 3.2.0b6
# Date created: 16 March 1995
# Whom: rmallory@csusb.edu
#
# $Id: Makefile,v 1.10 1998/09/22 19:10:12 asami Exp $
#
DISTNAME= rplay-3.2.0b6
CATEGORIES= audio
MASTER_SITES= http://rplay.doit.org/dist/
MAINTAINER= rmallory@csusb.edu
LIB_DEPENDS= gsm.1:${PORTSDIR}/audio/gsm
HAS_CONFIGURE= yes
USE_GMAKE= yes
MAN1= rplay.1 xrplay.1 rplayd.1 rptp.1
MAN5= rplay.conf.5 rplay.hosts.5 rplay.servers.5
post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/rplayd.sh ]; then \
echo "Installing ${PREFIX}/etc/rc.d/rplayd.sh startup file."; \
echo "#!/bin/sh" > ${PREFIX}/etc/rc.d/rplayd.sh; \
echo "[ -x ${PREFIX}/sbin/rplayd ] && ( ${PREFIX}/sbin/rplayd & ) && echo -n ' rplayd'" >> ${PREFIX}/etc/rc.d/rplayd.sh; \
chmod 751 ${PREFIX}/etc/rc.d/rplayd.sh; \
fi
@if [ ! -f ${PREFIX}/etc/rplay.hosts ]; then \
echo localhost > ${PREFIX}/etc/rplay.hosts; \
fi
.include <bsd.port.mk>