Honor PKG_SYSCONFDIR.

This commit is contained in:
jlam 2002-02-17 21:55:43 +00:00
parent 50335ef195
commit 3bd6a6b610
4 changed files with 27 additions and 6 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.27 2001/10/03 22:36:37 jlam Exp $
# $NetBSD: Makefile,v 1.28 2002/02/17 21:55:43 jlam Exp $
DISTNAME= esound-0.2.23
CATEGORIES= audio
@ -9,9 +9,15 @@ HOMEPAGE= http://www.tux.org/~ricdude/EsounD.html
COMMENT= the Enlightened sound daemon
USE_BUILDLINK_ONLY= YES
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
EGDIR= ${PREFIX}/share/examples/esound
CONF_FILES= ${EGDIR}/esd.conf ${PKG_SYSCONFDIR}/esd.conf
.include "../../audio/libaudiofile/buildlink.mk"
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.2 2002/02/15 10:12:28 skrll Exp $
@comment $NetBSD: PLIST,v 1.3 2002/02/17 21:55:44 jlam Exp $
bin/esd
bin/esd-config
bin/esdcat
@ -9,7 +9,6 @@ bin/esdloop
bin/esdplay
bin/esdrec
bin/esdsample
etc/esd.conf
include/esd.h
lib/libesd.a
lib/libesd.la
@ -18,4 +17,6 @@ lib/libesd.so.2
lib/libesd.so.2.23
lib/pkgconfig/esound.pc
share/aclocal/esd.m4
@unexec ${RMDIR} %D/lib/pkgconfig 2>/dev/null || true
share/examples/esound/esd.conf
@dirrm share/examples/esound
@unexec ${RMDIR} %D/lib/pkgconfig 2>/dev/null || ${TRUE}

View file

@ -1,6 +1,7 @@
$NetBSD: distinfo,v 1.3 2001/09/13 18:11:35 wiz Exp $
$NetBSD: distinfo,v 1.4 2002/02/17 21:55:44 jlam Exp $
SHA1 (esound-0.2.23.tar.gz) = 9d9f6d7b7e4fc7eeb1f91cdc0f366229369a3459
Size (esound-0.2.23.tar.gz) = 294603 bytes
SHA1 (patch-aa) = c4dbfa7116f9ce760b4dc23aa335868a0728a8e8
SHA1 (patch-ab) = e10a9ecc1b3c2d906e0be60375ae95b2fc8aa318
SHA1 (patch-ac) = 3f42e4438282e9b31e191fcf985b2334ff656525

View file

@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.5 2002/02/17 21:55:45 jlam Exp $
--- Makefile.in.orig Sun Feb 17 16:45:44 2002
+++ Makefile.in
@@ -178,7 +178,7 @@
m4datadir = $(datadir)/aclocal
m4data_DATA = esd.m4
-esdconfdir = $(sysconfdir)
+esdconfdir = $(datadir)/examples/@PACKAGE@
esdconf_DATA = esd.conf
CLEANFILES = esound.spec esound.pc