1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/audio/rplay/Makefile

34 lines
939 B
Makefile
Raw Normal View History

# New ports collection makefile for: rplay - Network audio player
# Date created: 16 March 1995
# Whom: rmallory@csusb.edu
#
1999-08-25 04:36:31 +00:00
# $FreeBSD$
#
PORTNAME= rplay
PORTVERSION= 3.2.0b6
CATEGORIES= audio
MASTER_SITES= http://rplay.doit.org/dist/
1995-04-11 19:46:58 +00:00
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; \
1999-08-22 19:01:07 +00:00
${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>