summaryrefslogtreecommitdiff
path: root/editors/sam
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-29 19:54:17 +0000
committerjoerg <joerg>2010-01-29 19:54:17 +0000
commit84f5488bcf4627187b2a79c038b42e5e6165d584 (patch)
tree8cec06901d3233b66f39a31fbeba75d6e8a2c62c /editors/sam
parent09d6b6a4e7d7cfe6888dbbe4bd65ea5094c1307d (diff)
downloadpkgsrc-84f5488bcf4627187b2a79c038b42e5e6165d584.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"