2011-07-21 15:05:46 +02:00
|
|
|
# $NetBSD: Makefile,v 1.4 2011/07/21 13:05:51 obache Exp $
|
2011-04-19 13:16:02 +02:00
|
|
|
|
|
|
|
.include "dist.mk"
|
|
|
|
PKGNAME= xulrunner-${MOZ_BRANCH}${MOZ_BRANCH_MINOR}
|
2011-07-21 15:05:46 +02:00
|
|
|
PKGREVISION= 1
|
2011-04-19 13:16:02 +02:00
|
|
|
CATEGORIES= devel www
|
|
|
|
|
|
|
|
MAINTAINER= tnn@NetBSD.org
|
|
|
|
HOMEPAGE= http://developer.mozilla.org/en/docs/XULRunner
|
|
|
|
COMMENT= XML User Interface Language runtime environment
|
|
|
|
LICENSE= mpl-1.1
|
|
|
|
|
|
|
|
MOZILLA_DIR= # empty
|
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= xulrunner/installer/libxul-embedding.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= xulrunner/installer/libxul.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-gtkmozembed-embedding.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-gtkmozembed.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-js.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-nspr.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-nss.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= xulrunner/installer/mozilla-plugin.pc.in
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --enable-application=xulrunner
|
|
|
|
CONFIGURE_ARGS+= --enable-libxul
|
2011-07-21 14:17:55 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-ipc
|
2011-04-19 13:16:02 +02:00
|
|
|
|
|
|
|
ALL_ENV+= MOZILLA_PKG_NAME=xulrunner
|
|
|
|
|
|
|
|
MAKE_ENV+= FREEBL_NO_DEPEND=0
|
|
|
|
|
|
|
|
.include "../../devel/xulrunner/mozilla-common.mk"
|
|
|
|
.include "options.mk"
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && autoconf
|
|
|
|
cd ${WRKSRC}/js/src && autoconf
|
|
|
|
cd ${WRKSRC}/nsprpub && autoconf
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
# XXX fix the pkg-config files instead
|
|
|
|
rm -f ${DESTDIR}${PREFIX}/lib/xulrunner/libxpcomglue.a
|
|
|
|
ln -s ${PREFIX}/lib/xulrunner-sdk/sdk/lib/libxpcomglue.a \
|
|
|
|
${DESTDIR}${PREFIX}/lib/xulrunner/libxpcomglue.a
|
|
|
|
rm -f ${DESTDIR}${PREFIX}/lib/xulrunner/libxpcomglue_s.a
|
|
|
|
ln -s ${PREFIX}/lib/xulrunner-sdk/sdk/lib/libxpcomglue_s.a \
|
|
|
|
${DESTDIR}${PREFIX}/lib/xulrunner/libxpcomglue_s.a
|
|
|
|
rm -f ${DESTDIR}${PREFIX}/lib/xulrunner/libunicharutil_external_s.a
|
|
|
|
ln -s ${PREFIX}/lib/xulrunner-sdk/sdk/lib/libunicharutil_external_s.a \
|
|
|
|
${DESTDIR}${PREFIX}/lib/xulrunner/libunicharutil_external_s.a
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|