blob: 504e4f7958ded04cd815116da966c46e8994fadb (
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
|
# $NetBSD: Makefile,v 1.7 2005/04/11 21:45:43 tv Exp $
#
DISTNAME= fceu-0.98.12.src
PKGNAME= ${DISTNAME:S/.src//}
PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://fceultra.sourceforge.net/releases/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://fceultra.sourceforge.net/
COMMENT= Portable NES and Famicom emulator
WRKSRC= ${WRKDIR}/fceu
USE_PKGLOCALEDIR= yes
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}|"
post-install:
${INSTALL_DATA} ${WRKSRC}/Documentation/fceu-sdl.6 \
${PREFIX}/man/man6/fceu.6
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fceu
${INSTALL_DATA} ${WRKSRC}/Documentation/*.html \
${PREFIX}/share/doc/fceu
${INSTALL_DATA} ${WRKSRC}/Documentation/*.txt \
${PREFIX}/share/doc/fceu
.include "../../devel/SDL/buildlink3.mk"
.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|