openra: add man page

This commit is contained in:
Ricardo Ardissone 2016-05-08 18:41:05 -03:00
parent d88ea67fb7
commit fab7a4c21f

View File

@ -30,6 +30,7 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ mono makeWrapper lua pkgconfig ]; nativeBuildInputs = [ mono makeWrapper lua pkgconfig ];
patchPhase = '' patchPhase = ''
mkdir Support
sed -i 's/^VERSION.*/VERSION = release-${version}/g' Makefile sed -i 's/^VERSION.*/VERSION = release-${version}/g' Makefile
substituteInPlace thirdparty/configure-native-deps.sh --replace "locations=\"" "locations=\"${lua}/lib " substituteInPlace thirdparty/configure-native-deps.sh --replace "locations=\"" "locations=\"${lua}/lib "
substituteInPlace Makefile --replace "@./thirdparty/fetch-geoip-db.sh" "" substituteInPlace Makefile --replace "@./thirdparty/fetch-geoip-db.sh" ""
@ -96,10 +97,9 @@ in stdenv.mkDerivation rec {
make dependencies make dependencies
''; '';
#todo: man-page buildFlags = [ "DEBUG=false" "default" "man-page" ];
buildFlags = [ "DEBUG=false" "default" ];
installTargets = [ "install" "install-linux-icons" "install-linux-desktop" "install-linux-appdata" "install-linux-mime" ]; installTargets = [ "install" "install-linux-icons" "install-linux-desktop" "install-linux-appdata" "install-linux-mime" "install-man-page" ];
postInstall = with stdenv.lib; let postInstall = with stdenv.lib; let
runtime = makeLibraryPath [ SDL2 freetype openal systemd lua ]; runtime = makeLibraryPath [ SDL2 freetype openal systemd lua ];