# $NetBSD: Makefile,v 1.5 2004/10/03 00:14:40 tv Exp $ # DISTNAME= arnsrc27012002 PKGNAME= arnold-20020127 PKGREVISION= 1 CATEGORIES= emulators MASTER_SITES= http://arnold.emuunlim.com/download/ EXTRACT_SUFX= .zip MAINTAINER= dillo@NetBSD.org HOMEPAGE= http://arnold.emuunlim.com/ COMMENT= Amstrad CPC, Amstrad CPC+ and KC Compact emulator # we want case sensitive file names. EXTRACT_CMD_OPTS.zip= -aqo WRKSRC= ${WRKDIR}/arnold/src USE_BUILDLINK3= yes GNU_CONFIGURE= yes ALL_TARGET= arnold SHAREDIR= ${PREFIX}/share/arnold DOCDIR= ${PREFIX}/share/doc/arnold MAKE_ENV+= SHAREDIR=${SHAREDIR} post-extract: ${CHMOD} +x ${WRKSRC}/configure do-install: ${INSTALL_PROGRAM} ${WRKSRC}/../arnold ${PREFIX}/bin ${INSTALL_DATA_DIR} ${SHAREDIR} ${INSTALL_DATA_DIR} ${SHAREDIR}/roms for dir in amsdose cpc464e cpc6128e cpc664e cpcplus kcc; \ do \ ${INSTALL_DATA_DIR} ${SHAREDIR}/roms/$$dir; \ for f in ${WRKSRC}/../roms/$$dir/*; \ do \ ${INSTALL_DATA} $$f ${SHAREDIR}/roms/$$dir; \ done \ done ${INSTALL_DATA_DIR} ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/../readme.txt ${DOCDIR} ${INSTALL_DATA} ${WRKSRC}/../readme.linux ${DOCDIR} .include "../../mk/ossaudio.buildlink3.mk" .include "../../devel/SDL/buildlink3.mk" .include "../../x11/gtk/buildlink3.mk" .include "../../mk/bsd.pkg.mk"