1 # $NetBSD: Makefile,v 1.24 2011/04/22 13:43:28 obache Exp $
4 DISTNAME
= arnsrc27012002
5 PKGNAME
= arnold-20020127
8 MASTER_SITES
= http
://arnold.emuunlim.com
/download
/
11 MAINTAINER
= pkgsrc-users@NetBSD.org
12 HOMEPAGE
= http
://arnold.emuunlim.com
/
13 COMMENT
= Amstrad CPC
, Amstrad CPC
+ and KC Compact emulator
15 WRKSRC
= ${WRKDIR}/arnold
18 BUILD_DIRS
= ${CONFIGURE_DIRS}
20 MAKE_FLAGS
+= LFLAGS2
=#none, especially not -s
22 SHAREDIR
= ${PREFIX}/share
/arnold
23 MAKE_ENV
+= SHAREDIR
=${SHAREDIR}
29 ${INSTALL_PROGRAM} ${WRKSRC}/arnold
${DESTDIR}${PREFIX}/bin
30 cd
${WRKSRC}/roms
&& pax
-wr
* ${DESTDIR}${SHAREDIR}/roms
/
31 cd
${DESTDIR}${SHAREDIR}/roms
&& \
32 ${FIND} .
-type f
-print |
${XARGS} ${CHMOD} ${SHAREMODE} && \
33 ${FIND} .
-type d
-print |
${XARGS} ${CHMOD} ${PKGDIRMODE}
34 cd
${WRKSRC} && ${INSTALL_DATA} readme.
* \
35 ${DESTDIR}${PREFIX}/share
/doc
/arnold
37 .
include "../../mk/bsd.prefs.mk"
39 .if
${X11_TYPE} == "modular"
40 CONFIGURE_ARGS
+= --x-includes
=${PREFIX}/include
41 CONFIGURE_ARGS
+= --x-libraries
=${PREFIX}/lib
44 .
include "../../mk/oss.buildlink3.mk"
45 .
include "../../devel/SDL/buildlink3.mk"
46 .
include "../../x11/gtk/buildlink3.mk"
47 .
include "../../mk/bsd.pkg.mk"