DESTDIR support.
This commit is contained in:
parent
60be936149
commit
dbb5c2be38
1 changed files with 5 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.7 2008/02/04 19:52:54 tnn Exp $
|
||||
# $NetBSD: Makefile,v 1.8 2009/02/23 17:56:36 joerg Exp $
|
||||
#
|
||||
|
||||
DISTNAME= z26v213
|
||||
|
@ -11,6 +11,8 @@ MAINTAINER= xmor61@users.sourceforge.net
|
|||
HOMEPAGE= http://www.whimsey.com/z26/
|
||||
COMMENT= Atari 2600 Emulator
|
||||
|
||||
PKG_DESTDIR_SUPPORT= user-destdir
|
||||
|
||||
BUILD_DEPENDS+= nasm-[0-9]*:../../devel/nasm
|
||||
|
||||
ONLY_FOR_PLATFORM+= *-*-i386
|
||||
|
@ -18,8 +20,8 @@ ONLY_FOR_PLATFORM+= *-*-i386
|
|||
WRKSRC= ${WRKDIR}/z26_snapshot-20040523
|
||||
USE_TOOLS+= gmake m4 perl
|
||||
BUILD_TARGET= netbsd
|
||||
MAKE_ENV+= INSTALL_BINDIR=${PREFIX}/bin
|
||||
MAKE_ENV+= INSTALL_MANDIR=${PREFIX}/${PKGMANDIR}/man1
|
||||
MAKE_ENV+= INSTALL_BINDIR=${DESTDIR}${PREFIX}/bin
|
||||
MAKE_ENV+= INSTALL_MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
||||
MAKE_FLAGS+= INSTALL_USER=${ROOT_USER}
|
||||
MAKE_FLAGS+= INSTALL_GROUP=${ROOT_GROUP}
|
||||
|
||||
|
|
Loading…
Reference in a new issue