Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / emulators / mednafen / Makefile
blob2a7e36db572e0644577ccc19b30b62e1fd1284ac
1 # $NetBSD: Makefile,v 1.18 2012/09/23 05:36:23 obache Exp $
4 DISTNAME= mednafen-0.8.D.3
5 PKGNAME= mednafen-0.8.13.3
6 PKGREVISION= 3
7 CATEGORIES= emulators
8 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mednafen/}
9 EXTRACT_SUFX= .tar.bz2
11 MAINTAINER= wiz@NetBSD.org
12 HOMEPAGE= http://mednafen.sourceforge.net/
13 COMMENT= Portable multi-system emulator
14 LICENSE= gnu-gpl-v2
16 WRKSRC= ${WRKDIR}/mednafen
17 GNU_CONFIGURE= yes
18 USE_TOOLS+= intltool pkg-config
19 USE_LANGUAGES= c c++
20 USE_LIBTOOL= yes
21 USE_PKGLOCALEDIR= yes
22 INSTALLATION_DIRS= share/doc/mednafen
24 SUBST_CLASSES+= dsp
25 SUBST_STAGE.dsp= pre-configure
26 SUBST_MESSAGE.dsp= Fixing path to audio device.
27 SUBST_FILES.dsp= src/sexyal/drivers/oss.cpp src/sexyal/sexyal.cpp
28 SUBST_SED.dsp= -e s,/dev/dsp,${DEVOSSAUDIO},
30 .include "../../mk/bsd.prefs.mk"
32 .if ${X11_TYPE} == "modular"
33 CONFIGURE_ARGS+= --x-includes=${PREFIX:Q}/include
34 CONFIGURE_ARGS+= --x-libraries=${PREFIX:Q}/lib
35 .endif
37 post-install:
38 ${INSTALL_DATA} ${WRKSRC}/Documentation/*.html \
39 ${DESTDIR}${PREFIX}/share/doc/mednafen
41 .include "../../audio/esound/buildlink3.mk"
42 .include "../../audio/libsndfile/buildlink3.mk"
43 .include "../../devel/SDL/buildlink3.mk"
44 .include "../../devel/gettext-lib/buildlink3.mk"
45 .include "../../misc/libcdio/buildlink3.mk"
46 .include "../../net/SDL_net/buildlink3.mk"
47 .include "../../mk/oss.buildlink3.mk"
48 .include "../../mk/bsd.pkg.mk"