summaryrefslogtreecommitdiff
path: root/graphics/moz-flash/Makefile
blob: 56057da3aa045967ce9214c343b4f64d3daf34c9 (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
# $NetBSD: Makefile,v 1.4 2002/03/13 17:37:13 fredb Exp $
#

PKGNAME=	moz-flash-1.0
PKGREVISION=	1

MAINTAINER=	joda@netbsd.org
COMMENT=	Mozilla open source flash(tm) plugin

LIBFLASHDIR=	../../graphics/libflash
PATCHDIR=	${.CURDIR}/${LIBFLASHDIR}/patches
FILESDIR=	${.CURDIR}/${LIBFLASHDIR}/files
DISTINFO_FILE=	${.CURDIR}/${LIBFLASHDIR}/distinfo

DEPENDS+=	libflash>=0.4.10nb1:${LIBFLASHDIR}
DEPENDS+=	mozilla>=0.9.9:../../www/mozilla

USE_X11BASE=	yes

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

do-build:
		cd ${WRKSRC}/Plugin && ${SETENV} ${MAKE_ENV} ${MAKE}

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

.include "${LIBFLASHDIR}/Makefile.common"