1995-04-11 21:46:58 +02:00
|
|
|
# New ports collection makefile for: rplay - Network audio player
|
1997-06-13 18:17:05 +02:00
|
|
|
# Version required: 3.2.0b6
|
1995-03-17 06:53:43 +01:00
|
|
|
# Date created: 16 March 1995
|
|
|
|
# Whom: rmallory@csusb.edu
|
|
|
|
#
|
1997-06-13 18:17:05 +02:00
|
|
|
# $Id: Makefile,v 1.7 1996/11/18 13:56:44 asami Exp $
|
1995-03-17 06:53:43 +01:00
|
|
|
#
|
|
|
|
|
1997-06-13 18:17:05 +02:00
|
|
|
DISTNAME= rplay-3.2.0b6
|
1996-11-16 00:14:56 +01:00
|
|
|
CATEGORIES= audio
|
1995-04-11 21:46:58 +02:00
|
|
|
MASTER_SITES= ftp://ftp.sdsu.edu/pub/rplay/
|
|
|
|
|
1996-11-16 00:14:56 +01:00
|
|
|
MAINTAINER= rmallory@csusb.edu
|
|
|
|
|
1997-06-13 18:17:05 +02:00
|
|
|
LIB_DEPENDS= gsm\\.1\\.0:${PORTSDIR}/audio/gsm
|
|
|
|
|
1995-03-17 06:53:43 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
1997-06-13 18:17:05 +02:00
|
|
|
MAN1= rplay.1 xrplay.1 rplayd.1 rptp.1
|
1996-11-18 15:17:24 +01:00
|
|
|
MAN5= rplay.conf.5 rplay.hosts.5 rplay.servers.5
|
1995-04-01 14:51:41 +02:00
|
|
|
|
1997-06-13 18:17:05 +02:00
|
|
|
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 /usr/local/sbin/rplayd ] && ( /usr/local/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
|
|
|
|
|
1995-03-17 06:53:43 +01:00
|
|
|
.include <bsd.port.mk>
|