* This package use BSD_MAKEFILE, no need special care about MAKE_ENV.
* Honor PKGMANDIR. * Need some pre-created directories before installation. * Then DESTDIR ready.
This commit is contained in:
parent
ca5c717d3a
commit
74bc0ab823
2 changed files with 8 additions and 6 deletions
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue