diff options
author | jlam <jlam> | 2008-03-03 18:25:52 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 18:25:52 +0000 |
commit | 3d81effabfcbab5f1fe7b559a3b6f6d5f452285e (patch) | |
tree | 94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/easyedit | |
parent | db9434603719ac10a2850a15ce7013bca33811d2 (diff) | |
download | pkgsrc-3d81effabfcbab5f1fe7b559a3b6f6d5f452285e.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/Makefile | 9 |
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" |