diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 18:25:52 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 18:25:52 +0000 |
commit | 80c7fb273d8e710ea174cde389ccea199e8a754b (patch) | |
tree | 94991d2182e36c43f4a6dac0f35a6023230a4d45 /editors/ne | |
parent | 38c8b857b2a15de072b4fa8baf0650634b5be996 (diff) | |
download | pkgsrc-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/ne')
-rw-r--r-- | editors/ne/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/editors/ne/Makefile b/editors/ne/Makefile index 624c5836f06..efa87d7dcdf 100644 --- a/editors/ne/Makefile +++ b/editors/ne/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:53 jlam Exp $ DISTNAME= ne-1.31 CATEGORIES= editors @@ -8,6 +8,8 @@ DISTFILES= ${DISTNAME}.tar.gz ne.manpage.1 NE.spec.ascii NE.changes.spec MAINTAINER= bjh@mail.dotcom.fr COMMENT= Re-write of Phoenix E. A sensible light-weight editor +PKG_DESTDIR_SUPPORT= user-destdir + DIST_SUBDIR= ${PKGNAME_NOREV} WRKSRC= ${WRKDIR}/src @@ -18,10 +20,11 @@ BUILD_TARGET= NetBSD ne INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/nenewp ${PREFIX}/bin/ne - ${INSTALL_MAN} ${_DISTDIR}/ne.manpage.1 ${PREFIX}/${PKGMANDIR}/man1/ne.1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ne + ${INSTALL_PROGRAM} ${WRKSRC}/nenewp ${DESTDIR}${PREFIX}/bin/ne + ${INSTALL_MAN} ${_DISTDIR}/ne.manpage.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ne.1 + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ne ${INSTALL_DATA} ${_DISTDIR}/NE.spec.ascii ${_DISTDIR}/NE.changes.spec \ - ${WRKSRC}/LICENCE ${PREFIX}/share/doc/ne + ${WRKSRC}/LICENCE ${DESTDIR}${PREFIX}/share/doc/ne .include "../../mk/bsd.pkg.mk" |