summaryrefslogtreecommitdiff
path: root/editors/jed
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-29 19:43:36 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-29 19:43:36 +0000
commit3a2b3ebb27b03a5894d8899d3056933a0cb86975 (patch)
treef96e2b9208214b60919e3b089639838c058b1f6c /editors/jed
parentb23eb8c4f49ae298ffb0055d6cc2223458182545 (diff)
downloadpkgsrc-3a2b3ebb27b03a5894d8899d3056933a0cb86975.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"