Merge from vendor branch TNF:
[pkgsrcv2.git] / multimedia / flashplayer / Makefile
1 # $NetBSD: Makefile,v 1.10 2010/01/18 09:59:16 wiz Exp $
2 #
3
4 PKG_DESTDIR_SUPPORT=    user-destdir
5
6 .include "../../multimedia/libflash/Makefile.common"
7
8 PKGNAME=        ${DISTNAME:C/-/player-/}
9 PKGREVISION=    6
10 COMMENT=        Standalone open source Flash(tm) player
11
12 BUILD_DIRS=     ${WRKSRC}/Player
13 CPPFLAGS+=      -DDEV_DSP="\"${DEVOSSSOUND}\""
14
15 .include "../../mk/compiler.mk"
16
17 .if !empty(CC_VERSION:Mgcc-3.*)
18 MAKE_ENV+=      LIBSTDCPP=-lstdc++
19 .else
20 MAKE_ENV+=      LIBSTDCPP=
21 .endif
22
23 INSTALLATION_DIRS+=     bin
24
25 .include "../../multimedia/libflash/buildlink3.mk"
26 .include "../../x11/libXext/buildlink3.mk"
27 .include "../../x11/xextproto/buildlink3.mk"
28 .include "../../mk/bsd.pkg.mk"