pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/lambd * This package use BSD_MAKEFILE, no nee...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6cea3bb8c83f
branches:  trunk
changeset: 536988:6cea3bb8c83f
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Dec 31 03:09:31 2007 +0000

description:
* This package use BSD_MAKEFILE, no need special care about MAKE_ENV.
* Honor PKGMANDIR.
* Need some pre-created directories before installation.
* Then DESTDIR ready.

diffstat:

 sysutils/lambd/Makefile       |  10 ++++++----
 sysutils/lambd/files/Makefile |   4 ++--
 2 files changed, 8 insertions(+), 6 deletions(-)

diffs (41 lines):

diff -r 91ecf12cef7c -r 6cea3bb8c83f sysutils/lambd/Makefile
--- a/sysutils/lambd/Makefile   Mon Dec 31 03:04:00 2007 +0000
+++ b/sysutils/lambd/Makefile   Mon Dec 31 03:09:31 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/11/17 13:40:15 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2007/12/31 03:09:31 obache Exp $
 
 DISTNAME=      lambd-20010719
 PKGREVISION=   1
@@ -14,9 +14,11 @@
 
 ONLY_FOR_PLATFORM=     NetBSD-*-i386
 
-MAKE_ENV+=     BINDIR=${PREFIX}/sbin MANDIR=${PREFIX}/man
-MAKE_ENV+=     BINOWN=${BINOWN} BINGRP=${BINGRP}
-MAKE_ENV+=     MANOWN=${MANOWN} MANGRP=${MANGRP}
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+USE_BSD_MAKEFILE=      yes
+
+INSTALLATION_DIRS=     sbin ${PKGMANDIR}/cat8 ${PKGMANDIR}/man8
 
 do-extract:
        ${MKDIR} ${WRKSRC}
diff -r 91ecf12cef7c -r 6cea3bb8c83f sysutils/lambd/files/Makefile
--- a/sysutils/lambd/files/Makefile     Mon Dec 31 03:04:00 2007 +0000
+++ b/sysutils/lambd/files/Makefile     Mon Dec 31 03:09:31 2007 +0000
@@ -1,11 +1,11 @@
-#      $NetBSD: Makefile,v 1.2 2001/07/18 06:47:37 itojun Exp $
+#      $NetBSD: Makefile,v 1.3 2007/12/31 03:09:31 obache Exp $
 
 PROG=  lambd
 SRCS=  lambd.c lambio.c
 MAN=   lambd.8
 
 WARNS?=        2
-BINDIR?=       /sbin
+BINDIR=        ${PREFIX}/sbin
 LDSTATIC=      -static
 
 LDADD+=        -li386



Home | Main Index | Thread Index | Old Index