summaryrefslogtreecommitdiff
path: root/archivers/dact
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2002-12-23 08:05:34 +0000
committerjmmv <jmmv@pkgsrc.org>2002-12-23 08:05:34 +0000
commitae19327ec02756ca96d5374d838d35dae000cdda (patch)
tree1dca30179e3cc866cd8165e0ca2d2542a949b68b /archivers/dact
parent7d670064e1f2cccf75b08cd5f9fe914d28d1e0de (diff)
downloadpkgsrc-ae19327ec02756ca96d5374d838d35dae000cdda.tar.gz
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.
Diffstat (limited to 'archivers/dact')
-rw-r--r--archivers/dact/Makefile8
-rw-r--r--archivers/dact/PLIST5
-rw-r--r--archivers/dact/distinfo4
-rw-r--r--archivers/dact/patches/patch-aa4
4 files changed, 14 insertions, 7 deletions
diff --git a/archivers/dact/Makefile b/archivers/dact/Makefile
index 7d89e5c9c46..4b0d5260963 100644
--- a/archivers/dact/Makefile
+++ b/archivers/dact/Makefile
@@ -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"
diff --git a/archivers/dact/PLIST b/archivers/dact/PLIST
index 5fafe397b5a..e439f5c44ac 100644
--- a/archivers/dact/PLIST
+++ b/archivers/dact/PLIST
@@ -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
diff --git a/archivers/dact/distinfo b/archivers/dact/distinfo
index f644379c473..edbe802e1d4 100644
--- a/archivers/dact/distinfo
+++ b/archivers/dact/distinfo
@@ -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
diff --git a/archivers/dact/patches/patch-aa b/archivers/dact/patches/patch-aa
index d393169f931..bda6ff33375 100644
--- a/archivers/dact/patches/patch-aa
+++ b/archivers/dact/patches/patch-aa
@@ -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