pkgsrc/emulators/arcem/Makefile

44 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.24 2013/11/11 16:44:45 joerg Exp $
#
DISTNAME= arcem-1.50-src
PKGNAME= ${DISTNAME:S/-src//}
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=arcem/}
EXTRACT_SUFX= .zip
LINUX_FILES= \
linux.rom.gz \
HardImage1.gz
.for f in ${LINUX_FILES}
SITES.${f}+= \
ftp://ftp.arm.uk.linux.org/pub/linux/arcem/
.endfor
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${LINUX_FILES}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://arcem.sourceforge.net/
COMMENT= Dave Gilbert's Acorn Archimedes emulator
WRKSRC= ${WRKDIR}/arcem-src
USE_TOOLS+= gmake
MAKE_ENV+= SYSTEM=X
INSTALLATION_DIRS+= bin share/arcem
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/arcem ${DESTDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKDIR}/linux.rom \
${DESTDIR}${PREFIX}/share/arcem/ROM
${INSTALL_DATA} ${WRKDIR}/HardImage1 \
${DESTDIR}${PREFIX}/share/arcem/HardImage1
${INSTALL_DATA} ${FILESDIR}/dot.arcemrc \
${DESTDIR}${PREFIX}/share/arcem/dot.arcemrc
${INSTALL_DATA} ${WRKSRC}/hexcmos \
${DESTDIR}${PREFIX}/share/arcem/hexcmos
.include "../../x11/libXext/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"