1999-06-23 18:21:34 +00:00
|
|
|
# New ports collection makefile for: rplay - Network audio player
|
|
|
|
# Date created: 16 March 1995
|
1995-03-17 05:53:43 +00:00
|
|
|
# Whom: rmallory@csusb.edu
|
|
|
|
#
|
1999-08-25 04:36:31 +00:00
|
|
|
# $FreeBSD$
|
1995-03-17 05:53:43 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 21:25:03 +00:00
|
|
|
PORTNAME= rplay
|
2000-06-28 16:05:11 +00:00
|
|
|
PORTVERSION= 3.3.2
|
2004-10-28 20:07:05 +00:00
|
|
|
PORTREVISION= 2
|
1996-11-15 23:14:56 +00:00
|
|
|
CATEGORIES= audio
|
1998-01-21 20:02:07 +00:00
|
|
|
MASTER_SITES= http://rplay.doit.org/dist/
|
1995-04-11 19:46:58 +00:00
|
|
|
|
2001-05-12 10:59:41 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 17:07:10 +00:00
|
|
|
COMMENT= Network audio player
|
1996-11-15 23:14:56 +00:00
|
|
|
|
2000-04-08 21:25:03 +00:00
|
|
|
LIB_DEPENDS= gsm.1:${PORTSDIR}/audio/gsm
|
1997-06-13 16:17:05 +00:00
|
|
|
|
2006-08-14 10:08:25 +00:00
|
|
|
USE_LDCONFIG= yes
|
2000-06-28 16:05:11 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
MAN1= rplay.1 rptp.1
|
|
|
|
MAN5= rplay.conf.5 rplay.helpers.5 rplay.hosts.5 rplay.servers.5
|
|
|
|
MAN8= rplayd.8
|
|
|
|
|
2003-10-27 18:59:42 +00:00
|
|
|
INFO= RPLAY RPTP librplay rplayd
|
2000-06-28 16:05:11 +00:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@${CP} ${WRKSRC}/doc/rplay.texi ${WRKSRC}/doc/rplayd.texi
|
1995-04-01 12:51:41 +00:00
|
|
|
|
1997-06-13 16:17:05 +00:00
|
|
|
post-install:
|
2003-09-27 00:01:16 +00:00
|
|
|
@${ECHO_MSG} "===> Installing ${PREFIX}/etc/rc.d/rplayd.sh"
|
|
|
|
@${ECHO_MSG} "===> startup file as ${PREFIX}/etc/rc.d/rplayd.sh.sample"
|
2002-05-19 21:41:21 +00:00
|
|
|
@${INSTALL_SCRIPT} -m 751 ${FILESDIR}/rplayd.sh ${PREFIX}/etc/rc.d/rplayd.sh.sample
|
2004-10-28 20:07:05 +00:00
|
|
|
for na in rplay.conf rplay.helpers rplay.servers rplay.hosts; do \
|
|
|
|
${CP} ${WRKSRC}/etc/$$na ${PREFIX}/etc/$$na.sample; \
|
|
|
|
if [ ! -f ${PREFIX}/etc/$$na ]; then \
|
|
|
|
${CP} ${WRKSRC}/etc/$$na ${PREFIX}/etc/$$na; \
|
|
|
|
fi; \
|
|
|
|
done
|
2000-06-28 16:05:11 +00:00
|
|
|
.if !exists(${PREFIX}/etc/rplay.hosts)
|
2002-01-29 09:33:26 +00:00
|
|
|
@${ECHO_CMD} localhost > ${PREFIX}/etc/rplay.hosts
|
2000-06-28 16:05:11 +00:00
|
|
|
.endif
|
2002-05-19 21:41:21 +00:00
|
|
|
@${ECHO_CMD} localhost > ${PREFIX}/etc/rplay.hosts.sample
|
1997-06-13 16:17:05 +00:00
|
|
|
|
1995-03-17 05:53:43 +00:00
|
|
|
.include <bsd.port.mk>
|