Make this package install its example file inside the examples tree. Do not

copy it to PKG_SYSCONFDIR as it is just an example, not needed for regular
operation. Bump PKGREVISION to 1.
This commit is contained in:
jmmv 2002-12-23 08:05:34 +00:00
parent 7d670064e1
commit ae19327ec0
4 changed files with 14 additions and 7 deletions

View file

@ -1,7 +1,8 @@
# $NetBSD: Makefile,v 1.2 2002/08/25 21:49:02 jlam Exp $
# $NetBSD: Makefile,v 1.3 2002/12/23 08:05:34 jmmv Exp $
#
DISTNAME= dact-0.8.3
PKGREVISION= 1
CATEGORIES= archivers
MASTER_SITES= http://www.rkeene.org/devel/
@ -13,6 +14,11 @@ USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
USE_GMAKE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/dact
.include "../../archivers/bzip2/buildlink2.mk"
.include "../../devel/zlib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,5 @@
@comment $NetBSD: PLIST,v 1.1 2001/10/31 20:24:19 zuntum Exp $
@comment $NetBSD: PLIST,v 1.2 2002/12/23 08:05:35 jmmv Exp $
bin/dact
etc/dact.conf.sample
man/man1/dact.1
share/examples/dact/dact.conf
@dirrm share/examples/dact

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2001/09/09 15:06:11 rh Exp $
$NetBSD: distinfo,v 1.2 2002/12/23 08:05:35 jmmv Exp $
SHA1 (dact-0.8.3.tar.gz) = 850aec889be4174e9f42a3314bf29b1fc5181090
Size (dact-0.8.3.tar.gz) = 84301 bytes
SHA1 (patch-aa) = d2c29f1a71d197e1a226b51cba2ce3cb9b071555
SHA1 (patch-aa) = 8b7bdb19ae341a03559fd81353a3688dcfccea4d

View file

@ -1,4 +1,4 @@
$NetBSD: patch-aa,v 1.1.1.1 2001/09/09 15:06:11 rh Exp $
$NetBSD: patch-aa,v 1.2 2002/12/23 08:05:36 jmmv Exp $
--- Makefile.in.orig Fri Sep 7 22:29:02 2001
+++ Makefile.in
@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2001/09/09 15:06:11 rh Exp $
install: all
$(INSTALL) -c -m 755 dact $(bindir)/dact
- $(INSTALL) -c -m 644 dact.conf $(CONF)
+ $(INSTALL) -c -m 644 dact.conf $(CONF).sample
+ $(INSTALL) -c -m 644 dact.conf $(datadir)/examples/dact
$(INSTALL) -c -m 644 Docs/dact.1 $(mandir)/man1/dact.1
@MODS@ mkdir -p -m 755 $(datadir)/dact
@MODS@ for so in *.so; do $(INSTALL) -c -m 644 $$so $(datadir)/dact/$$so; done