summaryrefslogtreecommitdiff
path: root/net/bittorrent-gui/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-20 01:09:05 +0000
commit3b0d97b0de8516db29699676c860489da3f7f0e1 (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /net/bittorrent-gui/Makefile
parent10abca39942a8f34d088f39ccc073fee44271274 (diff)
downloadpkgsrc-3b0d97b0de8516db29699676c860489da3f7f0e1.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/bittorrent-gui/Makefile')
-rw-r--r--net/bittorrent-gui/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/net/bittorrent-gui/Makefile b/net/bittorrent-gui/Makefile
index c3db4391091..a357225750a 100644
--- a/net/bittorrent-gui/Makefile
+++ b/net/bittorrent-gui/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2007/09/21 13:04:10 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2008/06/20 01:09:29 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../net/bittorrent/Makefile.common"
@@ -19,12 +21,12 @@ INSTALLATION_DIRS= bin ${ICONS_DIR} ${ICONS_DIR}/default ${ICONS_DIR}/old
do-build: # empty
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/bittorrent ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/maketorrent ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/bittorrent ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/maketorrent ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/images/icons/default/* \
- ${PREFIX}/${ICONS_DIR}/default
+ ${DESTDIR}${PREFIX}/${ICONS_DIR}/default
${INSTALL_DATA} ${WRKSRC}/images/icons/old/* \
- ${PREFIX}/${ICONS_DIR}/old
+ ${DESTDIR}${PREFIX}/${ICONS_DIR}/old
.include "../../lang/python/application.mk"
.include "../../x11/py-gtk2/buildlink3.mk"