summaryrefslogtreecommitdiff
path: root/editors/ed
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 18:20:43 +0000
committerjoerg <joerg>2010-01-27 18:20:43 +0000
commited5d63641cb2301bb229711f7fb1a44baed00b88 (patch)
tree12e6bd4c5f3a469ff7a38ff4ae2b357e72b3e438 /editors/ed
parent22e781817162e2d28ce4855c210866fed0b05b3c (diff)
downloadpkgsrc-ed5d63641cb2301bb229711f7fb1a44baed00b88.tar.gz
DESTDIR support by simplification.
Diffstat (limited to 'editors/ed')
-rw-r--r--editors/ed/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/editors/ed/Makefile b/editors/ed/Makefile
index 4de45bc36af..01d40b7d484 100644
--- a/editors/ed/Makefile
+++ b/editors/ed/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2008/11/04 14:27:37 reed Exp $
+# $NetBSD: Makefile,v 1.12 2010/01/27 18:20:43 joerg Exp $
DISTNAME= ed-1.1
CATEGORIES= editors
@@ -9,6 +9,8 @@ MAINTAINER= reed@reedmedia.net
HOMEPAGE= http://www.gnu.org/software/ed/ed.html
COMMENT= GNU version of line-oriented text editor
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
.include "../../mk/bsd.prefs.mk"
@@ -21,7 +23,6 @@ CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX:Q}
PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q}
BUILD_DEFS+= GNU_PROGRAM_PREFIX
-post-install:
- cd ${WRKSRC} && ${MAKE} install-man
+INSTALL_TARGET= install install-man
.include "../../mk/bsd.pkg.mk"