diff options
author | jlam <jlam@pkgsrc.org> | 2001-11-21 17:55:54 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-11-21 17:55:54 +0000 |
commit | b81331757d1891d22940932d439d8be7d6a879a2 (patch) | |
tree | cbdacf90d1790c8848da434ae4d0cc8c3f1e40d4 /audio/rplay/Makefile | |
parent | b3b7c807cd9cf40c7d2d582c5c83bdc87505c33d (diff) | |
download | pkgsrc-b81331757d1891d22940932d439d8be7d6a879a2.tar.gz |
Remove unneeded INSTALL script and update the rplayd.sh to look like an
rc.d script.
Diffstat (limited to 'audio/rplay/Makefile')
-rw-r--r-- | audio/rplay/Makefile | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/audio/rplay/Makefile b/audio/rplay/Makefile index 87664fbff79..83100103e5c 100644 --- a/audio/rplay/Makefile +++ b/audio/rplay/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2001/08/27 14:35:04 tron Exp $ +# $NetBSD: Makefile,v 1.30 2001/11/21 17:55:55 jlam Exp $ # FreeBSD Id: Makefile,v 1.8 1997/06/13 16:17:01 ache Exp # @@ -14,23 +14,25 @@ COMMENT= Network audio player BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf USE_BUILDLINK_ONLY= YES -USE_LIBTOOL= # defined -GNU_CONFIGURE= # defined -CONFIGURE_ENV+= RPLAY_TARGET=generic # XXX generic, or oss, or sun? +USE_LIBTOOL= YES +GNU_CONFIGURE= YES +CONFIGURE_ARGS+= --sysconfdir=${CONFDIR} +CONFIGURE_ENV+= RPLAY_TARGET=generic # XXX generic, or oss, or sun? INFO_FILES= RPLAY.info RPTP.info librplay.info rplay.info pre-configure: - cd ${WRKSRC}; ${LOCALBASE}/bin/autoreconf - cd ${WRKSRC}/doc; for f in *.[0-9]; do \ - ${SED} -e "s|/usr/local|${PREFIX}|g" $$f > $$f.pdone; \ - ${MV} -f $$f.pdone $$f; \ + cd ${WRKSRC}; ${LOCALBASE}/bin/autoreconf --force + cd ${WRKSRC}/doc; for manpage in *.[0-9]; do \ + ${SED} -e "s|/usr/local/etc|${CONFDIR}|g" \ + -e "s|/usr/local|${PREFIX}|g" \ + $${manpage} > $${manpage}.pdone; \ + ${MV} -f $${manpage}.pdone $${manpage}; \ done post-install: - ${SED} -e "s|@PREFIX@|${PREFIX}|g" \ - ${FILESDIR}/rplayd.sh > ${WRKDIR}/rplayd.sh - ${INSTALL_SCRIPT} ${WRKDIR}/rplayd.sh ${PREFIX}/etc/rc.d/rplayd + ${SED} ${FILES_SUBST_SED} ${FILESDIR}/rplayd.sh > ${WRKDIR}/rplayd + ${INSTALL_SCRIPT} ${WRKDIR}/rplayd ${PREFIX}/etc/rc.d/rplayd PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL .include "../../audio/gsm/buildlink.mk" |