pkgs/tools/networking/p2p/rtorrent/default.nix: avoid use of "install -D" to make FreeBSD happy

svn path=/nixpkgs/trunk/; revision=30783
This commit is contained in:
Peter Simons 2011-12-06 20:44:31 +00:00
parent 6ffd033174
commit 088470ef55

View File

@ -14,7 +14,10 @@ stdenv.mkDerivation {
buildInputs = [ libtorrent ncurses pkgconfig libsigcxx curl zlib openssl ];
postInstall = "install -D -m 444 doc/rtorrent.1 $out/share/man/man1/rtorrent.1";
postInstall = ''
ensureDir $out/share/man/man1
mv doc/rtorrent.1 $out/share/man/man1/rtorrent.1
'';
meta = {
homepage = "http://libtorrent.rakshasa.no/";