summaryrefslogtreecommitdiff
path: root/net/rtorrent
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-05 17:31:09 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-05 17:31:09 +0000
commitaa48c982406bf3ae2fc7616f0d5dfd0654627380 (patch)
tree9c7b8d7af3ab6f4c4b742fb364df84b9851cf76c /net/rtorrent
parent6e82078eeffa2d3575e27ed632f26e8ec04106e6 (diff)
downloadpkgsrc-aa48c982406bf3ae2fc7616f0d5dfd0654627380.tar.gz
DESTDIR support.
Diffstat (limited to 'net/rtorrent')
-rw-r--r--net/rtorrent/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/rtorrent/Makefile b/net/rtorrent/Makefile
index bb8f9fbbe6c..298b58cb20f 100644
--- a/net/rtorrent/Makefile
+++ b/net/rtorrent/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/10/17 12:28:13 tron Exp $
+# $NetBSD: Makefile,v 1.15 2006/11/05 17:31:10 joerg Exp $
DISTNAME= rtorrent-0.6.3
CATEGORIES= net
@@ -8,6 +8,8 @@ MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://libtorrent.rakshasa.no/
COMMENT= Ncurses based torrent client with support for sessions
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_NCURSES= yes
@@ -29,10 +31,11 @@ CXXFLAGS+= -fpermissive -fno-strength-reduce -fno-thread-jumps \
-fno-inline -fforce-addr
.endif
+INSTALLATION_DIRS= share/examples/rtorrent
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rtorrent
${INSTALL_DATA} ${WRKSRC}/doc/rtorrent.rc \
- ${PREFIX}/share/examples/rtorrent
+ ${DESTDIR}${PREFIX}/share/examples/rtorrent
.include "../../devel/ncurses/buildlink3.mk"
.include "../../net/libtorrent/buildlink3.mk"