pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/daemond Fix installation. Honour PKGMANDIR.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07428d0124d6
branches:  trunk
changeset: 556660:07428d0124d6
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Mar 26 19:05:29 2009 +0000

description:
Fix installation. Honour PKGMANDIR.

diffstat:

 sysutils/daemond/Makefile         |   4 +++-
 sysutils/daemond/distinfo         |   3 ++-
 sysutils/daemond/patches/patch-aa |  20 ++++++++++++++++++++
 3 files changed, 25 insertions(+), 2 deletions(-)

diffs (51 lines):

diff -r 91e4dd7953d9 -r 07428d0124d6 sysutils/daemond/Makefile
--- a/sysutils/daemond/Makefile Thu Mar 26 18:19:31 2009 +0000
+++ b/sysutils/daemond/Makefile Thu Mar 26 19:05:29 2009 +0000
@@ -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 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man8
+
 .include "../../mk/bsd.pkg.mk"
diff -r 91e4dd7953d9 -r 07428d0124d6 sysutils/daemond/distinfo
--- a/sysutils/daemond/distinfo Thu Mar 26 18:19:31 2009 +0000
+++ b/sysutils/daemond/distinfo Thu Mar 26 19:05:29 2009 +0000
@@ -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 -r 91e4dd7953d9 -r 07428d0124d6 sysutils/daemond/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/daemond/patches/patch-aa Thu Mar 26 19:05:29 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index