summaryrefslogtreecommitdiff
path: root/editors/jed
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-29 19:43:36 +0000
committerjoerg <joerg>2010-01-29 19:43:36 +0000
commit6cf3c423b4f2a15bb259766e1383c45796c574a1 (patch)
treef96e2b9208214b60919e3b089639838c058b1f6c /editors/jed
parent7467486dd7deb9a82a21398e953bb5b85815c33e (diff)
downloadpkgsrc-6cf3c423b4f2a15bb259766e1383c45796c574a1.tar.gz
DESTDIR support
Diffstat (limited to 'editors/jed')
-rw-r--r--editors/jed/Makefile5
-rw-r--r--editors/jed/Makefile.common11
2 files changed, 10 insertions, 6 deletions
diff --git a/editors/jed/Makefile b/editors/jed/Makefile
index 2ce57778125..91607831336 100644
--- a/editors/jed/Makefile
+++ b/editors/jed/Makefile
@@ -1,7 +1,10 @@
-# $NetBSD: Makefile,v 1.26 2006/02/05 23:08:56 joerg Exp $
+# $NetBSD: Makefile,v 1.27 2010/01/29 19:46:20 joerg Exp $
#
PKGNAME= jed-0.99.16
PKGREVISION= 2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../editors/jed/Makefile.common"
COMMENT= Extensible folding editor with Emacs/WordStar/EDT emulations
diff --git a/editors/jed/Makefile.common b/editors/jed/Makefile.common
index c712872cc62..1f58148e43a 100644
--- a/editors/jed/Makefile.common
+++ b/editors/jed/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.7 2009/06/30 00:07:14 joerg Exp $
+# $NetBSD: Makefile.common,v 1.8 2010/01/29 19:46:20 joerg Exp $
#
DISTNAME= jed-0.99-16
CATEGORIES= editors
@@ -19,10 +19,11 @@ GNU_CONFIGURE= yes
EGDIR= ${PREFIX}/share/examples/jed
CONF_FILES= ${EGDIR}/jed.conf ${PREFIX}/etc/jed.conf
+INSTALLATION_DIRS+= ${EGDIR}
+
post-install:
- ${RMDIR} ${PREFIX}/share/jed/bin
- ${RMDIR} ${PREFIX}/share/jed/lib/tm
- ${INSTALL_DATA_DIR} ${EGDIR}
- ${INSTALL_DATA} ${WRKSRC}/lib/jed.conf ${EGDIR}
+ ${RMDIR} ${DESTDIR}${PREFIX}/share/jed/bin
+ ${RMDIR} ${DESTDIR}${PREFIX}/share/jed/lib/tm
+ ${INSTALL_DATA} ${WRKSRC}/lib/jed.conf ${DESTDIR}${EGDIR}
.include "../../devel/libslang/buildlink3.mk"