diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-27 19:07:31 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-27 19:07:31 +0000 |
commit | cf92c4cbe646e292de518caace0d2dc5e80ce00b (patch) | |
tree | 17cbeef538a6a8fbbc9633aa0df8dd163d0c1527 /sysutils/idesk | |
parent | 315e41c06fb9cc5b4abf63fa3833445c809db223 (diff) | |
download | pkgsrc-cf92c4cbe646e292de518caace0d2dc5e80ce00b.tar.gz |
DESTDIR support
Diffstat (limited to 'sysutils/idesk')
-rw-r--r-- | sysutils/idesk/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sysutils/idesk/Makefile b/sysutils/idesk/Makefile index d7f058fbf50..31974d13746 100644 --- a/sysutils/idesk/Makefile +++ b/sysutils/idesk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2010/01/18 09:59:27 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2010/01/27 19:10:29 joerg Exp $ # DISTNAME= idesk-0.7.5 @@ -11,6 +11,8 @@ MAINTAINER= pancake@phreaker.net HOMEPAGE= http://idesk.sourceforge.net/ COMMENT= Lightweight desktop icons handler +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= YES USE_LANGUAGES= c c++ USE_TOOLS+= gmake pkg-config @@ -22,9 +24,10 @@ SUBST_STAGE.lnkpath= pre-configure SUBST_FILES.lnkpath= examples/default.lnk SUBST_SED.lnkpath= -e 's|/usr/local/share|${PREFIX}/share|g' +INSTALLATION_DIRS+= share/doc/idesk + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/idesk - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/idesk + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/idesk .include "../../graphics/imlib2/buildlink3.mk" .include "../../x11/libSM/buildlink3.mk" |