summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 18:20:43 +0000
committerjoerg <joerg>2010-01-27 18:20:43 +0000
commit55b645d97db10a100153950b4df3b01607242176 (patch)
tree12e6bd4c5f3a469ff7a38ff4ae2b357e72b3e438
parentdcc4a1ae7bf6a8d3a0977628254bcc7a1661a9d7 (diff)
downloadpkgsrc-55b645d97db10a100153950b4df3b01607242176.tar.gz
DESTDIR support by simplification.
-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"