[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / emulators / mame

File: [cvs.NetBSD.org] / pkgsrc / emulators / mame / Makefile (download)

Revision 1.11, Thu Jun 14 07:45:15 2012 UTC (10 years, 7 months ago) by sbd
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.10: +2 -1 lines

Recursive PKGREVISION bump for libxml2 buildlink addition.

# $NetBSD: Makefile,v 1.11 2012/06/14 07:45:15 sbd Exp $
#

DISTNAME=		mame0146s
PKGNAME=		${DISTNAME:S/0/-0./:S/s$//}
PKGREVISION=		1
MASTER_SITES=		http://mamedev.org/downloader.php?file=releases/

COMMENT=		Multiple Arcade Machine Emulator

CONFLICTS=		xmame-[0-9]* sdlmame-[0-9]*

DOCDIR=			share/doc/mame
INSTALLATION_DIRS=	bin ${DOCDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man6

# mame source is double-zipped
post-extract:
	cd ${WRKDIR} && ${.CURDIR}/../../mk/extract/extract mame.zip
	rm ${WRKDIR}/mame.zip

# not installed, because not found necessary so far:
# regrep, split, src2html, srcclean, testkeys
do-install:
	set -e; \
	for prg in chdman jedutil ldresample ldverify mame romcmp unidasm; \
	do \
		${INSTALL_PROGRAM} ${WRKSRC}/"$$prg" ${DESTDIR}${PREFIX}/bin; \
	done
	set -e; \
	for doc in config.txt license.txt mame.txt; do \
		${INSTALL_DATA} ${WRKSRC}/docs/"$$doc" ${DESTDIR}${PREFIX}/${DOCDIR}; \
	done
# skipped: ldplayer man page exists, but no binary?
# skipped: testkeys, binary not installed
	set -e; \
	for man in chdman.1 jedutil.1 ldverify.1 romcmp.1; \
	do \
		${INSTALL_DATA} ${WRKSRC}/src/osd/sdl/man/"$$man" ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1; \
	done
	${INSTALL_DATA} ${WRKSRC}/src/osd/sdl/man/mame.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6; \

.include "Makefile.common"