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/vfu | |
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/vfu')
-rw-r--r-- | misc/vfu/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/misc/vfu/Makefile b/misc/vfu/Makefile index c42356612f0..09fb38b297c 100644 --- a/misc/vfu/Makefile +++ b/misc/vfu/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2006/10/04 21:49:19 wiz Exp $ +# $NetBSD: Makefile,v 1.46 2008/03/04 19:21:12 jlam Exp $ # DISTNAME= vfu-3.04 @@ -12,6 +12,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://cade.datamax.bg/vfu/ COMMENT= Small, handy, easy-to-use file manager +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ USE_TOOLS+= perl:run REPLACE_PERL+= rx/rx_* @@ -33,12 +35,12 @@ do-install: cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} install post-install: - ${INSTALL_DATA_DIR} ${DOCDIR} ${EGDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR} ${DESTDIR}${EGDIR} cd ${WRKSRC} && \ ${INSTALL_DATA} COPYING INSTALL CONFIG FAQ HISTORY NOTES README \ - README.DOS THANKS.TO TODO XWINDOW.NOTES ${DOCDIR} + README.DOS THANKS.TO TODO XWINDOW.NOTES ${DESTDIR}${DOCDIR} cd ${WRKSRC} && \ - ${INSTALL_DATA} ${WRKSRC}/vfu.conf ${EGDIR}/vfu.conf + ${INSTALL_DATA} ${WRKSRC}/vfu.conf ${DESTDIR}${EGDIR}/vfu.conf .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |