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

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

Revision 1.20, Sun May 25 21:23:26 2008 UTC (11 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.19: +2 -2 lines

Reset maintainer on his request.

# $NetBSD: Makefile,v 1.20 2008/05/25 21:23:26 wiz Exp $
#

DISTNAME=		openmsx-0.6.2
#PKGREVISION=		1
CATEGORIES=		emulators
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=openmsx/}

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://openmsx.sourceforge.net/
COMMENT=		MSX emulator that aims for perfection

USE_TOOLS+=		gmake
USE_LANGUAGES=		c c++
HAS_CONFIGURE=		yes

MAKE_FILE=		GNUmakefile
CONFIGURE_ENV+=		OPENMSX_FLAVOUR=pkgsrc
MAKE_ENV+=		OPENMSX_FLAVOUR=pkgsrc

post-extract:
	@${CP} ${FILESDIR}/platform-netbsd.mk ${WRKSRC}/build
	@${LN} -s platform-netbsd.mk ${WRKSRC}/build/platform-dragonfly.mk
	@${ECHO_MSG} "OPENMSX_STRIP:=true" > \
		${WRKSRC}/build/flavour-pkgsrc.mk

SUBST_CLASSES+=		prefix
SUBST_STAGE.prefix=	post-patch
SUBST_FILES.prefix=	build/custom.mk
SUBST_SED.prefix=	-e "s,/opt/openMSX,${PREFIX}/openmsx,"
SUBST_MESSAGE.prefix=	Fixing installation directory.

post-build:
	@(							\
	${ECHO} "#!${SH}";					\
	${ECHO} 'exec ${PREFIX}/openmsx/bin/openmsx $$@'	\
	) > ${WRKSRC}/openmsx.sh

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/openmsx.sh ${PREFIX}/bin/openmsx

.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"