summaryrefslogtreecommitdiff
path: root/audio/rplay/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-06-06 10:31:08 +0000
committerjmmv <jmmv>2003-06-06 10:31:08 +0000
commit3f9438a66b24db039f3e2b79df0e81bd39b5aa5c (patch)
tree011e61e85d698a060bbc016dd175b7336ff11f60 /audio/rplay/Makefile
parent0fef280eac0560a2fd55d9d342359afdadcb1e91 (diff)
downloadpkgsrc-3f9438a66b24db039f3e2b79df0e81bd39b5aa5c.tar.gz
Install example files in the examples tree. Fix references to installed
configuration files in the rplayd(8) manpage. Bump PKGREVISION to 1.
Diffstat (limited to 'audio/rplay/Makefile')
-rw-r--r--audio/rplay/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/audio/rplay/Makefile b/audio/rplay/Makefile
index e349d86370a..f569655fc41 100644
--- a/audio/rplay/Makefile
+++ b/audio/rplay/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.39 2003/06/02 01:21:33 jschauma Exp $
+# $NetBSD: Makefile,v 1.40 2003/06/06 10:31:08 jmmv Exp $
#
DISTNAME= rplay-3.3.2
+PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ftp://rplay.doit.org/pub/rplay/ \
http://rplay.doit.org/dist/
@@ -19,15 +20,24 @@ CONFIGURE_ENV+= RPLAY_TARGET=generic # XXX generic, or oss, or sun?
INFO_FILES= RPLAY.info RPTP.info librplay.info rplay.info
RCD_SCRIPTS= rplayd
+EGDIR= ${PREFIX}/share/examples/rplay
pre-configure:
cd ${WRKSRC}/doc; for manpage in *.[0-9]; do \
${SED} -e "s|/usr/local/etc|${PKG_SYSCONFDIR}|g" \
-e "s|/usr/local|${PREFIX}|g" \
+ -e "s|/etc/rplay|${PKG_SYSCONFDIR}|g" \
$${manpage} > $${manpage}.pdone; \
${MV} -f $${manpage}.pdone $${manpage}; \
done
+post-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
+.for f in rplay.conf rplay.helpers rplay.hosts rplay.servers
+ ${INSTALL_DATA} ${WRKSRC}/etc/$f ${EGDIR}
+.endfor
+.undef f
+
.include "../../audio/gsm/buildlink2.mk"
.include "../../devel/readline/buildlink2.mk"
.include "../../devel/rx/buildlink2.mk"