2013-09-20 16:36:35 +02:00
|
|
|
# Created by: rmallory@csusb.edu
|
1999-08-25 06:36:31 +02:00
|
|
|
# $FreeBSD$
|
1995-03-17 06:53:43 +01:00
|
|
|
|
2000-04-08 23:25:03 +02:00
|
|
|
PORTNAME= rplay
|
2000-06-28 18:05:11 +02:00
|
|
|
PORTVERSION= 3.3.2
|
2012-04-26 00:08:28 +02:00
|
|
|
PORTREVISION= 3
|
1996-11-16 00:14:56 +01:00
|
|
|
CATEGORIES= audio
|
1998-01-21 21:02:07 +01:00
|
|
|
MASTER_SITES= http://rplay.doit.org/dist/
|
1995-04-11 21:46:58 +02:00
|
|
|
|
2001-05-12 12:59:41 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Network audio player
|
1996-11-16 00:14:56 +01:00
|
|
|
|
2014-11-27 03:21:21 +01:00
|
|
|
LICENSE= GPLv2 # or later
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2013-12-11 15:35:36 +01:00
|
|
|
LIB_DEPENDS= libgsm.so:${PORTSDIR}/audio/gsm
|
1997-06-13 18:17:05 +02:00
|
|
|
|
2014-06-26 09:32:36 +02:00
|
|
|
USES= makeinfo
|
2006-08-14 12:08:25 +02:00
|
|
|
USE_LDCONFIG= yes
|
2000-06-28 18:05:11 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-06-11 16:49:59 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib
|
2000-06-28 18:05:11 +02:00
|
|
|
|
2003-10-27 19:59:42 +01:00
|
|
|
INFO= RPLAY RPTP librplay rplayd
|
2000-06-28 18:05:11 +02:00
|
|
|
|
2012-04-26 00:08:28 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2012-04-26 00:14:19 +02:00
|
|
|
USE_RC_SUBR= rplayd
|
2012-04-26 00:08:28 +02:00
|
|
|
|
|
|
|
.if ${ARCH} == "amd64"
|
|
|
|
# pr ports/166658 mentions a problem with amd64. if it happens on i386, you can delete this conditional
|
|
|
|
# and rename to patch-ao
|
|
|
|
EXTRA_PATCHES= ${FILESDIR}/extra-patch-ao
|
|
|
|
.endif
|
|
|
|
|
2000-06-28 18:05:11 +02:00
|
|
|
post-extract:
|
|
|
|
@${CP} ${WRKSRC}/doc/rplay.texi ${WRKSRC}/doc/rplayd.texi
|
1995-04-01 14:51:41 +02:00
|
|
|
|
2014-04-08 12:10:41 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -E \
|
2014-09-24 00:24:06 +02:00
|
|
|
's,(bin|include|info|lib|man|sbin)dir),DESTDIR)$$(&,g' \
|
2014-04-08 12:10:41 +02:00
|
|
|
${WRKSRC}/include/Makefile.in \
|
|
|
|
${WRKSRC}/librplay/Makefile.in \
|
|
|
|
${WRKSRC}/rplayd/Makefile.in \
|
|
|
|
${WRKSRC}/rplay/Makefile.in \
|
|
|
|
${WRKSRC}/rptp/Makefile.in \
|
|
|
|
${WRKSRC}/doc/Makefile.in
|
|
|
|
|
1997-06-13 18:17:05 +02:00
|
|
|
post-install:
|
2014-11-27 03:21:21 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librplay.so
|
2014-04-08 12:10:41 +02:00
|
|
|
.for file in rplay.conf rplay.helpers rplay.servers rplay.hosts
|
|
|
|
${CP} ${WRKSRC}/etc/${file} ${STAGEDIR}${PREFIX}/etc/${file}.sample
|
|
|
|
.endfor
|
|
|
|
@${ECHO_CMD} localhost > ${STAGEDIR}${PREFIX}/etc/rplay.hosts.sample
|
1997-06-13 18:17:05 +02:00
|
|
|
|
2012-04-26 00:08:28 +02:00
|
|
|
.include <bsd.port.post.mk>
|