summaryrefslogtreecommitdiff
path: root/net/rtorrent
diff options
context:
space:
mode:
authorjoerg <joerg>2006-11-05 17:31:09 +0000
committerjoerg <joerg>2006-11-05 17:31:09 +0000
commita04891bb08b7613694e96b6c35d1de4d40422b95 (patch)
tree9c7b8d7af3ab6f4c4b742fb364df84b9851cf76c /net/rtorrent
parent99d41bdd30141350ae72be44236404dfb3afa3b1 (diff)
downloadpkgsrc-a04891bb08b7613694e96b6c35d1de4d40422b95.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"