diff options
author | obache <obache@pkgsrc.org> | 2007-12-31 03:09:31 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2007-12-31 03:09:31 +0000 |
commit | 74bc0ab82368b75fbe70cb450090f5ce4b9b0469 (patch) | |
tree | c20bad65a67911380251ada56904522b79781d3b /sysutils | |
parent | ca5c717d3a776e7a0f6fc6309568caa676e30469 (diff) | |
download | pkgsrc-74bc0ab82368b75fbe70cb450090f5ce4b9b0469.tar.gz |
* 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 (limited to 'sysutils')
-rw-r--r-- | sysutils/lambd/Makefile | 10 | ||||
-rw-r--r-- | sysutils/lambd/files/Makefile | 4 |
2 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/lambd/Makefile b/sysutils/lambd/Makefile index 0795d8af9e1..db5c12acb80 100644 --- a/sysutils/lambd/Makefile +++ b/sysutils/lambd/Makefile @@ -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 @@ NO_CHECKSUM= yes 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 --git a/sysutils/lambd/files/Makefile b/sysutils/lambd/files/Makefile index 30c1f2e3525..f236a884cd7 100644 --- a/sysutils/lambd/files/Makefile +++ b/sysutils/lambd/files/Makefile @@ -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 |