diff options
author | obache <obache> | 2007-12-31 03:09:31 +0000 |
---|---|---|
committer | obache <obache> | 2007-12-31 03:09:31 +0000 |
commit | 905f90f1485d6aa5adad98fc489a2642a82bb3c2 (patch) | |
tree | c20bad65a67911380251ada56904522b79781d3b | |
parent | f94827621bdb16f04ff065c1cf00489d2d3eaf5e (diff) | |
download | pkgsrc-905f90f1485d6aa5adad98fc489a2642a82bb3c2.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.
-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 |