Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / emulators / arnold / Makefile
blob0ffd0f1944c23394700a41c9f09b7e67fb6d84ac
1 # $NetBSD: Makefile,v 1.24 2011/04/22 13:43:28 obache Exp $
4 DISTNAME= arnsrc27012002
5 PKGNAME= arnold-20020127
6 PKGREVISION= 6
7 CATEGORIES= emulators
8 MASTER_SITES= http://arnold.emuunlim.com/download/
9 EXTRACT_SUFX= .zip
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
16 GNU_CONFIGURE= yes
17 CONFIGURE_DIRS= src
18 BUILD_DIRS= ${CONFIGURE_DIRS}
19 BUILD_TARGET= arnold
20 MAKE_FLAGS+= LFLAGS2=#none, especially not -s
22 SHAREDIR= ${PREFIX}/share/arnold
23 MAKE_ENV+= SHAREDIR=${SHAREDIR}
24 AUTO_MKDIRS= yes
26 USE_TOOLS+= pax
28 do-install:
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
42 .endif
44 .include "../../mk/oss.buildlink3.mk"
45 .include "../../devel/SDL/buildlink3.mk"
46 .include "../../x11/gtk/buildlink3.mk"
47 .include "../../mk/bsd.pkg.mk"