Updating wip/tint2 to 0.7.1 - Need help dealing with config files

[email protected]
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello, 

I'm almost done updating wip/tint2 to 0.7.1. 
I'm still fighting with the way to deal with configuration files;
there's obviously something I've not understood. 

The Makefile looks like this:

# $NetBSD$
#

DISTNAME=       tint2-0.7.1
CATEGORIES=     x11
MASTER_SITES=   http://tint2.googlecode.com/files/

MAINTAINER=     [email protected]
HOMEPAGE=       http://tint2.googlecode.com
COMMENT=        Tint2 is a simple panel/taskbar
LICENSE=        gnu-gpl-v2

PKG_DESTDIR_SUPPORT=    user-destdir

USE_TOOLS=      pkg-config
GNU_CONFIGURE=  yes
USE_LIBTOOL=    yes

CONFIGURE_ARGS+=        --disable-battery

PKG_SYSCONFSUBDIR=      xdg/tint2
EGDIR=                  ${PREFIX}/share/examples/tint2

INSTALLATION_DIRS=      ${EGDIR}
CONF_FILES+=            ${EGDIR}/tint2rc \
                        ${PKG_SYSCONFDIR}/tint2rc

post-install:
        ${INSTALL_DATA} ${WRKSRC}/tint2rc ${DESTDIR}${EGDIR}

.include "../../devel/pango/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../graphics/imlib2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

At the end of compilation, during installation phase, I encounter the
following error message: 

make USE_DESTDIR=yes install
[...]
/usr/bin/install -c -o guigui -g guigui -m 644 'NEWS'
'/usr/pkgsrc/wip/tint2/work/.destdir/usr/pkg/share/doc/tint2/NEWS' /usr/bin/install
- - -c -o guigui -g guigui -m 644 'README'
'/usr/pkgsrc/wip/tint2/work/.destdir/usr/pkg/share/doc/tint2/README'
test -z "" || ./install-sh -c -d "/usr/pkgsrc/wip/tint2/work/.destdir"
test -z "/usr/pkg/etc/xdg/tint2" || ./install-sh -c -d
"/usr/pkgsrc/wip/tint2/work/.destdir/usr/pkg/etc/xdg/tint2" /usr/bin/install
- - -c -o guigui -g guigui -m 644 'tint2rc'
'/usr/pkgsrc/wip/tint2/work/.destdir/usr/pkg/etc/xdg/tint2/tint2rc' /usr/bin/install
- - -c -o guigui -g guigui -m
644 /usr/pkgsrc/wip/tint2/work/tint2-0.7.1/tint2rc /usr/pkgsrc/wip/tint2/work/.destdir/usr/pkg/share/examples/tint2
=> Automatic manual page handling => Generating post-install file lists
=> Checking file-check results for tint2-0.7.1 ERROR:  
************************************************************ ERROR:
The/usr/pkg/etc/xdg/tint2/ following files are in /usr/pkg but not in
the PLIST:
ERROR:         /usr/pkgsrc/wip/tint2/work/.destdir/usr/pkg/etc/xdg/tint2/tint2rc
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/wip/tint2
*** Error code 1

I'd like to have tint2rc in ${EGDIR} - that
is /usr/pkg/share/examples/tint2 in my case, and not in 
/usr/pkg/etc/xdg/tint2. 

Do I have to patch the Makefile to prevent the installation of the
tint2rc file in xdg/tint2 ? Or am I doing something else badly ? 

Thanks for any hint!

Guillaume.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (NetBSD)

iEYEARECAAYFAkslcmEACgkQKDYL7I6Ls1UXuwCfZjUrBzxVMKrW/tOx+k5CIeRY
zPgAoKO8ZgeysIUvKytjrjk9BCR21j6B
=Y2uM
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.