From aa48c982406bf3ae2fc7616f0d5dfd0654627380 Mon Sep 17 00:00:00 2001 From: joerg Date: Sun, 5 Nov 2006 17:31:09 +0000 Subject: DESTDIR support. --- net/rtorrent/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'net/rtorrent') 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" -- cgit v1.2.3