summaryrefslogtreecommitdiff
path: root/net/bittorrent-gui
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
commit80f8f7c3b3aa5f5f64de1111703eed75cf2b333b (patch)
treebb388f6b2532587595653e67cce25229ed050cb8 /net/bittorrent-gui
parentdf12796d2c7ff30316099a62cbdf43f49006d442 (diff)
downloadpkgsrc-80f8f7c3b3aa5f5f64de1111703eed75cf2b333b.tar.gz
Add DESTDIR support.
Diffstat (limited to 'net/bittorrent-gui')
-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"