summaryrefslogtreecommitdiff
path: root/devel/nasm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-02 17:59:37 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-02 17:59:37 +0000
commit7f279c69f3bbfb01502eb4a86a67241c8385a76a (patch)
treebf98a947b9317d506539cf3bb1a6aee497b8bb5f /devel/nasm
parenta249557e2ef3692a146b62db38822e71392b403b (diff)
downloadpkgsrc-7f279c69f3bbfb01502eb4a86a67241c8385a76a.tar.gz
DESTDIR support.
Diffstat (limited to 'devel/nasm')
-rw-r--r--devel/nasm/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/nasm/Makefile b/devel/nasm/Makefile
index e470532d38c..bc8b7282510 100644
--- a/devel/nasm/Makefile
+++ b/devel/nasm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2006/03/31 05:37:09 jlam Exp $
+# $NetBSD: Makefile,v 1.30 2006/11/02 18:17:22 joerg Exp $
DISTNAME= nasm-0.98.39
PKGREVISION= 2
@@ -11,6 +11,7 @@ HOMEPAGE= http://nasm.sourceforge.net/
COMMENT= General-purpose x86 assembler
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake makeinfo perl
GCC_REQD+= 3.0
@@ -20,6 +21,8 @@ INFO_FILES= # PLIST
BUILD_TARGET= everything
INSTALL_TARGET= install_everything
+INSTALL_ENV+= INSTALLROOT=${DESTDIR}
+
MAKE_ENV+= PERL5=${PERL5:Q} \
INSTALL_DATA_DIR=${INSTALL_DATA_DIR:Q}