blob: caf695e7f94fab4da93580c8cfe38d4d0e13781b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $NetBSD: Makefile,v 1.8 2005/04/11 21:45:43 tv Exp $
#
DISTNAME= arnsrc27012002
PKGNAME= arnold-20020127
PKGREVISION= 2
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
GNU_CONFIGURE= yes
BUILD_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"
|