summaryrefslogtreecommitdiff
path: root/graphics/moz-flash/Makefile
blob: cc8ecbd95915922bf716327ea6d628fc49e699a1 (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
# $NetBSD: Makefile,v 1.13 2004/01/26 13:40:49 jmmv Exp $
#

.include "../../multimedia/libflash/Makefile.common"

PKGNAME=	moz-flash-1.0
PKGREVISION=	4

MAINTAINER=	joda@NetBSD.org
COMMENT=	Mozilla open source Flash(tm) plugin

DEPENDS+=	mozilla>=0.9.9:../../www/mozilla

USE_BUILDLINK2=	YES
USE_X11=	YES
USE_LIBTOOL=	YES

BUILD_DIRS=	${WRKSRC}/Plugin
CPPFLAGS+=	-DDEV_DSP=\\\"${DEVOSSSOUND}\\\"
MAKE_ENV+=	SHLIBTOOL="${PKGSHLIBTOOL}"
MAKE_ENV+=	MOZ_PLUGDIR="${MOZ_PLUGDIR}"

MOZ_PLUGDIR=	${PREFIX}/lib/mozilla/plugins

do-install:
	${INSTALL_DATA_DIR} ${MOZ_PLUGDIR}
	cd ${WRKSRC}/Plugin && \
		${INSTALL_PROGRAM} .libs/npflash.so ${MOZ_PLUGDIR}

.include "../../multimedia/libflash/buildlink2.mk"

.include "../../mk/bsd.pkg.mk"