pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/extipl DESTDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8550c963c06d
branches:  trunk
changeset: 571445:8550c963c06d
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Feb 12 14:56:19 2010 +0000

description:
DESTDIR support

diffstat:

 sysutils/extipl/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 6004f71258e6 -r 8550c963c06d sysutils/extipl/Makefile
--- a/sysutils/extipl/Makefile  Fri Feb 12 14:42:45 2010 +0000
+++ b/sysutils/extipl/Makefile  Fri Feb 12 14:56:19 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2006/02/05 23:10:49 joerg Exp $
+# $NetBSD: Makefile,v 1.10 2010/02/12 14:56:19 joerg Exp $
 #
 
 DISTNAME=      extipl-5.04
@@ -10,6 +10,11 @@
 HOMEPAGE=      http://www.tsden.org/takamiti/extipl/
 COMMENT=       IPL compatible OS boot selector
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+INSTALL_MAKE_FLAGS+=   PREFIX=${DESTDIR}${PREFIX} \
+                       MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
 BUILD_DEPENDS+=        nasm-[0-9]*:../../devel/nasm
 
 WRKSRC=                ${WRKDIR}/${PKGNAME_NOREV}/src



Home | Main Index | Thread Index | Old Index