summaryrefslogtreecommitdiff
path: root/audio/rplay/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-06-06 10:31:08 +0000
committerjmmv <jmmv@pkgsrc.org>2003-06-06 10:31:08 +0000
commit04284b05a54c775498ae3e4e33aade510ffbb20a (patch)
tree011e61e85d698a060bbc016dd175b7336ff11f60 /audio/rplay/Makefile
parent8fb6b72a5b8477dded4f45df77809752b959c513 (diff)
downloadpkgsrc-04284b05a54c775498ae3e4e33aade510ffbb20a.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"