b33629298c
The data file needed for sound is installed into ${PREFIX}/share/xrick/data.zip. Either copy it to your current dir, or start xrick with xrick -data ${PREFIX}/share/xrick/data.zip Changes: * Reworked the build system so xrick can easily be built on Unix boxes as well as on non-Unix boxes (do not rely on symbolic links, etc.). * Use function keys instead of numeric keys for various game controls, as some non-US keyboard require that SHIFT is pressed for numbers (A. Majorel). * Fixed a potential buffer overflow in command-line parameters handling (A. Majorel). * Joystick is (hopefully) OK now (S. Chauveau). * Implemented all sounds: music, effects, etc. * The sound was horrible on Windows due to a poorly dimensionned sound buffer. Fixed. * Re-ripped all sounds. This time I used STeem with debugger to save each sound as a WAV file, then Audacity to filter an annoying static noise produced by STeem, then SOX to re-sample.
33 lines
883 B
Makefile
33 lines
883 B
Makefile
# $NetBSD: Makefile,v 1.3 2003/01/06 19:48:08 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= xrick-021212
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.bigorno.net/xrick/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pino@dohd.org
|
|
HOMEPAGE= http://www.bigorno.net/xrick/
|
|
COMMENT= Rick Dangerous clone for X
|
|
|
|
RESTRICTED= "Copyright of graphics, images, maps, and sounds is questionable."
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
NO_SRC_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
NO_SRC_ON_FTP= ${RESTRICTED}
|
|
|
|
USE_GMAKE= YES
|
|
USE_BUILDLINK2= YES
|
|
USE_X11= YES
|
|
|
|
post-extract:
|
|
cd ${WRKSRC} && ${GUNZIP_CMD} xrick.6.gz
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xrick ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/xrick.6 ${PREFIX}/man/man6
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/xrick
|
|
${INSTALL_DATA} ${WRKSRC}/data.zip ${PREFIX}/share/xrick
|
|
|
|
.include "../../devel/SDL/buildlink2.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|