summaryrefslogtreecommitdiff
path: root/editors/sam
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-29 19:54:17 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-29 19:54:17 +0000
commit3ecb0cbeee7e697ec6a740bc58846351cdf02966 (patch)
tree8cec06901d3233b66f39a31fbeba75d6e8a2c62c /editors/sam
parent9711fdcedc3d60470853d9741fa3ceb9e27e2a04 (diff)
downloadpkgsrc-3ecb0cbeee7e697ec6a740bc58846351cdf02966.tar.gz
DESTDIR support
Diffstat (limited to 'editors/sam')
-rw-r--r--editors/sam/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/editors/sam/Makefile b/editors/sam/Makefile
index d16c4b66d14..497c88281d2 100644
--- a/editors/sam/Makefile
+++ b/editors/sam/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2009/06/30 00:07:14 joerg Exp $
+# $NetBSD: Makefile,v 1.38 2010/01/29 19:56:45 joerg Exp $
DISTNAME= sam
PKGNAME= sam-4.3
@@ -10,6 +10,8 @@ EXTRACT_SUFX= .msg.gz
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Unix version of Rob Pike's editor for plan9
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= libXgFonts>=1.0nb1:../../fonts/Xg
MAKE_JOBS_SAFE= no
@@ -24,6 +26,8 @@ MAKE_ENV+= X11PREFIX=${X11PREFIX:Q}
INSTALLATION_DIRS= bin include lib/X11/app-defaults \
${PKGMANDIR}/man1 ${PKGMANDIR}/man3 ${PKGMANDIR}/man4 ${PKGMANDIR}/man6
+INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX} X11PREFIX=${DESTDIR}${X11PREFIX}
+
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"