blob: 6ac9aec85e6c05ddd301964f3b4ee0435475a1fc (
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
33
34
35
36
37
38
39
40
41
42
43
|
# $NetBSD: Makefile,v 1.3 2009/10/27 08:09:10 wiz Exp $
#
DISTNAME= # from icedtea-extras.mk
PKGNAME= openjdk7-icedtea-plugin-1.11.0.20091005
CATEGORIES= www
MASTER_SITES= # from icedtea-extras.mk
MAINTAINER= tnn@NetBSD.org
HOMEPAGE= http://icedtea.classpath.org/
COMMENT= Java browser plugin
#LICENSE= # GPL2 + Classpath exception
BUILD_DEPENDS+= zip-[0-9]*:../../archivers/zip
PKG_DESTDIR_SUPPORT= user-destdir
ICEDTEA_PACKAGE= yes
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${ICEDTEA}
CONFIGURE_ARGS+= --enable-npplugin
BUILDLINK_PASSTHRU_DIRS+= ${PREFIX}/java/openjdk7
PREPEND_PATH+= ${PREFIX}/java/openjdk7/bin
SUBST_CLASSES+= fix-paths
SUBST_STAGE.fix-paths= pre-configure
SUBST_MESSAGE.fix-paths= Fixing paths.
SUBST_FILES.fix-paths= plugin/icedteanp/IcedTeaNPPlugin.cc
SUBST_SED.fix-paths+= -e 's,%s/../../bin/java,${PREFIX}/java/openjdk7/bin/java,g'
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} IcedTeaNPPlugin.so
INSTALLATION_DIRS+= lib/netscape/plugins
do-install:
${INSTALL_LIB} ${WRKSRC}/plugin/icedteanp/IcedTeaNPPlugin.so ${DESTDIR}${PREFIX}/lib/netscape/plugins
BUILDLINK_API_DEPENDS.xulrunner+= xulrunner>=1.9.1.3nb6
.include "../../lang/openjdk7/icedtea-extras.mk"
.include "../../mk/bsd.pkg.mk"
|