openbsd-ports/audio/rplay/Makefile

51 lines
1.1 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.25 2005/04/17 21:18:29 espie Exp $
1997-12-04 21:18:05 -05:00
COMMENT= "network audio player"
DISTNAME= rplay-3.3.2
PKGNAME= ${DISTNAME}p0
1997-12-04 21:18:05 -05:00
CATEGORIES= audio
HOMEPAGE= http://rplay.doit.org/
MAINTAINER= Kevin Lo <kevlo@openbsd.org>
1997-12-04 21:18:05 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-11-21 12:51:44 -05:00
WANTLIB= c m
2000-02-12 03:02:07 -05:00
MASTER_SITES= ${HOMEPAGE}/dist/
LIB_DEPENDS= gsm.1.0::audio/gsm
FAKE= lib
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
CONFIGURE_ENV= CPPFLAGS="-I${DEPBASE}/include" \
LDFLAGS="-L${DEPBASE}/lib"
post-extract:
@cd ${WRKSRC}/doc && mv rplay.texi rplayd.texi
post-configure:
.for ff in rplay.conf.5 rplay.helpers.5 rplay.hosts.5 rplayd.8
@cd ${WRKSRC}/doc; \
sed -e "s,/usr/local/etc,${SYSCONFDIR},g" ${ff} >${ff}.tmp; \
mv ${ff}.tmp ${ff}
.endfor
1997-12-04 21:18:05 -05:00
CONFIG_DIR=${PREFIX}/share/examples/rplay
post-install:
${INSTALL_DATA_DIR} ${CONFIG_DIR}
echo localhost >${CONFIG_DIR}/rplay.hosts
touch ${CONFIG_DIR}/rplay.{conf,helpers,servers}
chown -R root.wheel ${CONFIG_DIR}
chmod 644 ${CONFIG_DIR}/*
2002-10-24 18:20:03 -04:00
NO_REGRESS= Yes
1997-12-04 21:18:05 -05:00
.include <bsd.port.mk>