diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-04 19:21:10 +0000 |
commit | 39843c2c61acd3e8f1b7d0fa6eb0f76884067d10 (patch) | |
tree | 49bcc2e4ee778e69c05972f13c0e319fdf272a66 /misc/9menu | |
parent | 0523c1825d9b781d6f10c2ef70daf0a164e0f142 (diff) | |
download | pkgsrc-39843c2c61acd3e8f1b7d0fa6eb0f76884067d10.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'misc/9menu')
-rw-r--r-- | misc/9menu/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/9menu/Makefile b/misc/9menu/Makefile index 53a26da5059..85a73a77dce 100644 --- a/misc/9menu/Makefile +++ b/misc/9menu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2007/02/02 17:07:48 joerg Exp $ +# $NetBSD: Makefile,v 1.22 2008/03/04 19:21:10 jlam Exp $ DISTNAME= 9menu-1.8 PKGREVISION= 1 @@ -9,6 +9,8 @@ EXTRACT_SUFX= .shar.gz MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Simple menu patterned after the plan9 user interface +PKG_DESTDIR_SUPPORT= user-destdir + MAKE_FILE= Makefile.noimake BUILD_TARGET= 9menu @@ -16,8 +18,8 @@ WRKSRC= ${WRKDIR} INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/9menu ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/9menu.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/9menu ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/9menu.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../x11/libX11/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |