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

49 lines
1.3 KiB
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.3.2
PORTREVISION= 2
CATEGORIES= audio
MASTER_SITES= http://rplay.doit.org/dist/
1995-04-11 19:46:58 +00:00
MAINTAINER= ports@FreeBSD.org
2003-02-20 17:07:10 +00:00
COMMENT= Network audio player
LIB_DEPENDS= gsm.1:${PORTSDIR}/audio/gsm
USE_LDCONFIG= yes
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
post-extract:
@${CP} ${WRKSRC}/doc/rplay.texi ${WRKSRC}/doc/rplayd.texi
post-install:
@${ECHO_MSG} "===> Installing ${PREFIX}/etc/rc.d/rplayd.sh"
@${ECHO_MSG} "===> startup file as ${PREFIX}/etc/rc.d/rplayd.sh.sample"
@${INSTALL_SCRIPT} -m 751 ${FILESDIR}/rplayd.sh ${PREFIX}/etc/rc.d/rplayd.sh.sample
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
.if !exists(${PREFIX}/etc/rplay.hosts)
@${ECHO_CMD} localhost > ${PREFIX}/etc/rplay.hosts
.endif
@${ECHO_CMD} localhost > ${PREFIX}/etc/rplay.hosts.sample
.include <bsd.port.mk>