Thanks, I really appreciate your help. I’m confused, though—after applying the patch, the manpage still doesn’t get installed. Running the command by hand works:
Code:
# make clean
===> Cleaning for gambatte-0.4.1
# pkg_delete gambatte
gambatte-0.4.1: complete
# make && make install
===> Configuring for gambatte-0.4.1
===> Building for gambatte-0.4.1
/usr/local/bin/scons -C /usr/ports/obj/gambatte-0.4.1/gambatte_src-0.4.1/libgamb
atte
scons: Reading SConscript files ...
Checking for C header file zlib.h... yes
Checking for C library z... yes
scons: done reading SConscript files.
scons: Building targets ...
<snip>
scons: done building targets.
===> Verifying specs: SDL c m pthread stdc++ z
===> found SDL.8.0 c.51.0 m.5.1 pthread.11.2 stdc++.49.0 z.4.1
===> Installing gambatte-0.4.1 from /usr/ports/packages/i386/all/
gambatte-0.4.1: complete
# man gambatte_sdl
man: no entry for gambatte_sdl in the manual.
# which gambatte_sdl
/usr/local/bin/gambatte_sdl
# make show=INSTALL_MAN
install -c -o root -g bin -m 444
# make show=WRKSRC
/usr/ports/obj/gambatte-0.4.1/gambatte_src-0.4.1/gambatte_sdl
# make show=PREFIX
/usr/local
# install -c -o root -g bin -m 444 /usr/ports/obj/gambatte-0.4.1/gambatte_src-0.
4.1/gambatte_sdl/man/gambatte_sdl.6 /usr/local/man/man6
# man gambatte_sdl
man: Formatting manual page...