From 80c7fb273d8e710ea174cde389ccea199e8a754b Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 18:25:52 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- editors/ve/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'editors/ve') diff --git a/editors/ve/Makefile b/editors/ve/Makefile index 65122da6bc7..235b183951c 100644 --- a/editors/ve/Makefile +++ b/editors/ve/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2005/06/16 06:57:50 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2008/03/03 18:25:53 jlam Exp $ DISTNAME= ve-1.0 CATEGORIES= editors @@ -9,6 +9,8 @@ EXTRACT_SUFX= .tgz MAINTAINER= rxg@NetBSD.org COMMENT= NTHU-CS Maple BBS 2.36 BBS-like editor +PKG_DESTDIR_SUPPORT= user-destdir + INSTALLATION_DIRS= bin post-patch: @@ -16,8 +18,8 @@ post-patch: ${MV} ${WRKSRC}/edit.c.done ${WRKSRC}/edit.c do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/ve ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/ve - ${INSTALL_DATA} ${WRKSRC}/ve.hlp ${PREFIX}/share/ve + ${INSTALL_PROGRAM} ${WRKSRC}/ve ${DESTDIR}${PREFIX}/bin + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/ve + ${INSTALL_DATA} ${WRKSRC}/ve.hlp ${DESTDIR}${PREFIX}/share/ve .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3