40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.19 2014/01/08 10:37:38 jperkin 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= pkgsrc-users@NetBSD.org
|
|
#HOMEPAGE= http://pdaxrom.theinternet.nl/fceu/
|
|
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}|"
|
|
|
|
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 "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|