# $NetBSD: Makefile,v 1.5 2009/08/15 17:23:59 wiz Exp $ # DISTNAME= sdlmess0133 PKGNAME= sdlmess-0.133 COMMENT= Multi Emulator Super System, SDL port CONFLICTS= xmess-[0-9]* MAKE_FILE= makefile 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}/castool ${DESTDIR}${PREFIX}/bin ${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"