summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-03-26 19:05:29 +0000
committerjoerg <joerg@pkgsrc.org>2009-03-26 19:05:29 +0000
commitfd1a99ea0a4e531ca99655f67fa041b13e7c5140 (patch)
tree196ce7817bb6b1ab198a8da817d62170b9307653 /sysutils
parent00e284a081a51d3fade947c610ad6d90e760482d (diff)
downloadpkgsrc-fd1a99ea0a4e531ca99655f67fa041b13e7c5140.tar.gz
Fix installation. Honour PKGMANDIR.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/daemond/Makefile4
-rw-r--r--sysutils/daemond/distinfo3
-rw-r--r--sysutils/daemond/patches/patch-aa20
3 files changed, 25 insertions, 2 deletions
diff --git a/sysutils/daemond/Makefile b/sysutils/daemond/Makefile
index f5cbfeafa19..6380d295412 100644
--- a/sysutils/daemond/Makefile
+++ b/sysutils/daemond/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/03/07 17:25:14 smb Exp $
+# $NetBSD: Makefile,v 1.2 2009/03/26 19:05:29 joerg Exp $
#
DISTNAME= daemond-1.0
@@ -11,4 +11,6 @@ COMMENT= Run a command as a daemon
PKG_DESTDIR_SUPPORT= user-destdir
+INSTALLATION_DIRS= bin ${PKGMANDIR}/man8
+
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/daemond/distinfo b/sysutils/daemond/distinfo
index a8cc365d6d5..496696ca27b 100644
--- a/sysutils/daemond/distinfo
+++ b/sysutils/daemond/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/03/07 17:25:14 smb Exp $
+$NetBSD: distinfo,v 1.2 2009/03/26 19:05:29 joerg Exp $
SHA1 (daemond-1.0.tar.gz) = 8262aad555e4869c22edcffcd1232525fef88eb4
RMD160 (daemond-1.0.tar.gz) = 847d0d780910e332474e74bd24e246171401a5ea
Size (daemond-1.0.tar.gz) = 1628 bytes
+SHA1 (patch-aa) = 65e4e347b68e90dc29c95b218fd564aa24514bce
diff --git a/sysutils/daemond/patches/patch-aa b/sysutils/daemond/patches/patch-aa
new file mode 100644
index 00000000000..a0b8ee1ce4b
--- /dev/null
+++ b/sysutils/daemond/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1 2009/03/26 19:05:29 joerg Exp $
+
+--- Makefile.orig 2009-03-26 19:50:47.000000000 +0100
++++ Makefile
+@@ -1,5 +1,3 @@
+-DESTDIR=/usr/pkg
+-
+ all: daemond
+
+ daemond: daemond.c
+@@ -9,7 +7,7 @@ daemond.0: daemond.8
+ nroff -man $? >$* || rm -f $*
+
+ install: all
+- install daemond ${DESTDIR}/bin
+- install -m 0644 daemond.8 ${DESTDIR}/man/man8
++ ${BSD_INSTALL_PROGRAM} daemond ${DESTDIR}${PREFIX}/bin
++ ${BSD_INSTALL_MAN} daemond.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
+ clean:
+ rm -f daemond