1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/audio/rplay/Makefile
Daniel Engberg a584796736 audio/rplay: Deprecate and set expiration date to 2021-12-31
Abandoned upstream, no new release since 1999 and considered dead
Reported broken on amd64 in 2012 in fix never confirmed working, PR: 166658

Reference:
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/audio/rplay/Attic/Makefile

PR:		258647
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D32044
2021-09-29 09:42:26 +02:00

60 lines
1.5 KiB
Makefile

# Created by: rmallory@csusb.edu
PORTNAME= rplay
PORTVERSION= 3.3.2
PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= http://ponce.cc/slackware/sources/repo/
MAINTAINER= ports@FreeBSD.org
COMMENT= Network audio player
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
DEPRECATED= Abandoned upstream, no new releases since 1999
EXPIRATION_DATE=2021-12-31
LIB_DEPENDS= libgsm.so:audio/gsm
USES= makeinfo
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
INFO= RPLAY RPTP librplay rplayd
MAKE_ARGS= infodir=${PREFIX}/${INFO_PATH}
.include <bsd.port.pre.mk>
USE_RC_SUBR= rplayd
.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
post-extract:
@${CP} ${WRKSRC}/doc/rplay.texi ${WRKSRC}/doc/rplayd.texi
post-patch:
@${REINPLACE_CMD} -E \
's,(bin|include|info|lib|man|sbin)dir),DESTDIR)$$(&,g' \
${WRKSRC}/include/Makefile.in \
${WRKSRC}/librplay/Makefile.in \
${WRKSRC}/rplayd/Makefile.in \
${WRKSRC}/rplay/Makefile.in \
${WRKSRC}/rptp/Makefile.in \
${WRKSRC}/doc/Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librplay.so
.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
.include <bsd.port.post.mk>