blob: 4799055d361287bc60a4f7bc36a0d21aede78286 (
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
|
# $NetBSD: Makefile,v 1.16 2012/05/16 16:08:43 marino Exp $
#
DISTNAME= fceu-0.98.13.src
PKGNAME= ${DISTNAME:S/.src//}
PKGREVISION= 3
CATEGORIES= emulators
MASTER_SITES= # http://pdaxrom.theinternet.nl/fceu/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= wiz@NetBSD.org
#HOMEPAGE= http://pdaxrom.theinternet.nl/fceu/
COMMENT= Portable NES and Famicom emulator
WRKSRC= ${WRKDIR}/fceu
USE_PKGLOCALEDIR= yes
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
SUBST_CLASSES+= dsp
SUBST_STAGE.dsp= post-patch
SUBST_MESSAGE.dsp= Adjusting sound device path.
SUBST_FILES.dsp= src/drivers/sexyal/drivers/oss.c
SUBST_SED.dsp= -e "s|/dev/dsp|${DEVOSSAUDIO}|"
INSTALLATION_DIRS= ${PKGMANDIR}/man6 share/doc/fceu
LDFLAGS.DragonFly= -lm
post-install:
${INSTALL_DATA} ${WRKSRC}/Documentation/fceu-sdl.6 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/fceu.6
${INSTALL_DATA} ${WRKSRC}/Documentation/*.html \
${DESTDIR}${PREFIX}/share/doc/fceu
${INSTALL_DATA} ${WRKSRC}/Documentation/*.txt \
${DESTDIR}${PREFIX}/share/doc/fceu
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|