pkgsrc/emulators/sdlmess/Makefile
wiz 405dc16314 Update to 0.130. Rename makefile.sdl in pre-patch phase and share
patches with sdlmame.

Changes: lots as usual, but the only documentation is the too long
ChangeLog.
2009-04-20 14:34:24 +00:00

37 lines
974 B
Makefile

# $NetBSD: Makefile,v 1.2 2009/04/20 14:34:24 wiz Exp $
#
DISTNAME= sdlmess0130
PKGNAME= sdlmess-0.130
COMMENT= Multi Emulator Super System, SDL port
CONFLICTS= xmess-[0-9]*
MAKE_FILE= makefile
PATCHDIR= ${.CURDIR}/../../emulators/sdlmame/patches
DOCDIR= share/doc/mess
SHAREDIR= share/mess
INSTALLATION_DIRS= bin ${DOCDIR}/sysinfo ${SHAREDIR}/artwork \
${SHAREDIR}/hash
pre-patch:
cd ${WRKSRC} && mv makefile.sdl makefile
post-build:
cd ${WRKSRC} && ./dat2html
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/imgtool ${DESTDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mess ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/artwork/* \
${DESTDIR}${PREFIX}/${SHAREDIR}/artwork
${INSTALL_DATA} ${WRKSRC}/hash/* \
${DESTDIR}${PREFIX}/${SHAREDIR}/hash
${INSTALL_DATA} ${WRKSRC}/sysinfo.htm ${DESTDIR}${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/sysinfo/* \
${DESTDIR}${PREFIX}/${DOCDIR}/sysinfo
.include "../../emulators/sdlmame/Makefile.common"