blob: 54e3a937766db442761a55bdf12b4f5d9397f0b7 (
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
|
# New ports collection makefile for: rplay - Network audio player
# Version required: 3.2.0b6
# Date created: 16 March 1995
# Whom: rmallory@csusb.edu
#
# $FreeBSD$
#
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>
|