summaryrefslogtreecommitdiff
path: root/editors/easyedit
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 18:25:52 +0000
commit80c7fb273d8e710ea174cde389ccea199e8a754b (patch)
tree94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/easyedit
parent38c8b857b2a15de072b4fa8baf0650634b5be996 (diff)
downloadpkgsrc-80c7fb273d8e710ea174cde389ccea199e8a754b.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'editors/easyedit')
-rw-r--r--editors/easyedit/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/editors/easyedit/Makefile b/editors/easyedit/Makefile
index da25e771ed8..1075053756d 100644
--- a/editors/easyedit/Makefile
+++ b/editors/easyedit/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2007/01/07 09:13:52 rillig Exp $
+# $NetBSD: Makefile,v 1.12 2008/03/03 18:25:52 jlam Exp $
#
DISTNAME= ee-1.4.6.src
@@ -11,12 +11,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mahon.cwx.net/
COMMENT= Easy to use text editor
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ee ${PREFIX}/bin/easyedit
- ${INSTALL_MAN} ${WRKSRC}/ee.1 ${PREFIX}/${PKGMANDIR}/man1/easyedit.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/ee ${DESTDIR}${PREFIX}/bin/easyedit
+ ${INSTALL_MAN} ${WRKSRC}/ee.1 \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/easyedit.1
.include "../../mk/bsd.pkg.mk"