2011-12-14 11:58:19 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.76 2011/12/14 16:58:19 robert Exp $
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
|
2011-02-08 04:43:02 -05:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
|
2011-02-08 04:43:02 -05:00
|
|
|
COMMENT= Chromium browser
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
|
2011-12-14 11:58:19 -05:00
|
|
|
V= 16.0.912.63
|
2011-02-08 04:43:02 -05:00
|
|
|
DISTNAME= chromium-${V}
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
|
2011-02-08 04:43:02 -05:00
|
|
|
CATEGORIES= www
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
|
2011-08-23 05:33:03 -04:00
|
|
|
HOMEPAGE= http://code.google.com/chromium/
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
|
2011-02-08 04:43:02 -05:00
|
|
|
MAINTAINER= Robert Nagy <robert@openbsd.org>
|
|
|
|
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
|
|
|
|
# BSD-like
|
2011-02-08 04:43:02 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
|
2011-06-10 03:41:24 -04:00
|
|
|
MASTER_SITES= http://blade2k.humppa.hu/distfiles/ \
|
2011-11-11 17:54:53 -05:00
|
|
|
http://commondatastorage.googleapis.com/chromium-browser-official/
|
2009-12-20 12:27:34 -05:00
|
|
|
|
2011-12-14 11:58:19 -05:00
|
|
|
MODULES= lang/python
|
2010-11-11 14:06:23 -05:00
|
|
|
|
2011-12-14 11:58:19 -05:00
|
|
|
WANTLIB += X11 Xext Xrender Xss bz2 c cairo cups dbus-1 event
|
2011-10-27 03:59:08 -04:00
|
|
|
WANTLIB += execinfo expat fontconfig freetype gconf-2 gcrypt gdk-x11-2.0
|
|
|
|
WANTLIB += gdk_pixbuf-2.0 glib-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0
|
|
|
|
WANTLIB += jpeg m nspr4 nss3 nssutil3 pango-1.0 pangocairo-1.0
|
|
|
|
WANTLIB += plc4 png pthread pthread-stubs smime3 speex stdc++
|
2011-12-14 11:58:19 -05:00
|
|
|
WANTLIB += xml2 xslt
|
2011-10-27 03:59:08 -04:00
|
|
|
|
2011-02-08 04:43:02 -05:00
|
|
|
MODPY_RUNDEP= No
|
|
|
|
|
2011-05-12 03:51:10 -04:00
|
|
|
RUN_DEPENDS= sysutils/gamin,-server \
|
2011-05-19 07:57:37 -04:00
|
|
|
devel/xdg-utils \
|
2011-05-26 07:39:14 -04:00
|
|
|
devel/desktop-file-utils \
|
2011-06-28 07:34:42 -04:00
|
|
|
x11/gtk+2,-cups \
|
2011-12-03 18:20:52 -05:00
|
|
|
x11/gnome/icon-theme \
|
|
|
|
x11/gtk+2,-guic
|
2011-02-08 04:43:02 -05:00
|
|
|
BUILD_DEPENDS= archivers/bzip2 \
|
|
|
|
devel/gperf \
|
2010-11-22 03:36:47 -05:00
|
|
|
devel/bison \
|
2011-02-08 04:43:02 -05:00
|
|
|
devel/flex \
|
2011-05-26 07:39:14 -04:00
|
|
|
shells/bash \
|
|
|
|
sysutils/flock
|
2011-02-08 04:43:02 -05:00
|
|
|
LIB_DEPENDS= devel/libexecinfo \
|
2010-11-22 03:36:47 -05:00
|
|
|
archivers/bzip2 \
|
|
|
|
security/nss \
|
2011-02-08 04:43:02 -05:00
|
|
|
devel/gconf2 \
|
|
|
|
x11/gnome/libgnome-keyring \
|
2011-05-14 17:29:03 -04:00
|
|
|
textproc/libxslt \
|
2011-05-26 07:39:14 -04:00
|
|
|
x11/gtk+2 \
|
|
|
|
audio/speex \
|
2011-09-08 06:34:25 -04:00
|
|
|
print/cups>=1.5.0
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
|
2010-05-10 11:26:31 -04:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2009-12-19 11:56:07 -05:00
|
|
|
# Set BUILDTYPE to Debug (or omit it) for a debug build
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
BUILDTYPE= Release
|
2011-03-03 08:47:47 -05:00
|
|
|
MAKE_ENV= BUILDTYPE=${BUILDTYPE} V=1
|
2011-02-08 04:43:02 -05:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
|
|
|
|
REGRESS_TARGET= base_unittests
|
|
|
|
|
|
|
|
CONFIGURE_STYLE=none # prevent python MODULE from overriding do-build
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
|
|
|
|
|
2011-02-08 04:43:02 -05:00
|
|
|
ALL_TARGET= chrome
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
|
|
|
|
BUILDDIR= ${WRKSRC}/out/${BUILDTYPE}
|
|
|
|
|
2011-02-08 04:43:02 -05:00
|
|
|
GYP_DEFS= -Duse_system_bzip2=1 \
|
|
|
|
-Duse_system_libevent=1 \
|
|
|
|
-Duse_system_libjpeg=1 \
|
|
|
|
-Duse_system_libpng=1 \
|
|
|
|
-Duse_system_libxml=1 \
|
2011-05-26 07:39:14 -04:00
|
|
|
-Duse_system_speex=1 \
|
2011-04-29 09:18:01 -04:00
|
|
|
-Duse_system_sqlite=0 \
|
2011-09-19 04:55:26 -04:00
|
|
|
-Duse_system_vpx=0 \
|
2011-10-27 03:59:08 -04:00
|
|
|
-Duse_system_yasm=0 \
|
2011-02-08 04:43:02 -05:00
|
|
|
-Duse_system_zlib=0 \
|
|
|
|
-Ddisable_nacl=1 \
|
|
|
|
-Ddisable_sse2=1 \
|
2011-09-19 04:55:26 -04:00
|
|
|
-Dlinux_use_tcmalloc=0 \
|
|
|
|
-Dlinux_strip_binary=1 \
|
2011-10-27 03:59:08 -04:00
|
|
|
-Denable_webrtc=0 \
|
|
|
|
-Duse_kerberos=0 \
|
2011-02-08 04:43:02 -05:00
|
|
|
-DOS=openbsd
|
|
|
|
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
pre-configure:
|
2010-11-11 14:06:23 -05:00
|
|
|
@ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python
|
2011-10-27 03:59:08 -04:00
|
|
|
@cp -R ${WRKSRC}/third_party/libvpx/source/config/linux \
|
|
|
|
${WRKSRC}/third_party/libvpx/source/config/openbsd
|
2011-06-15 15:41:02 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/build/common.gypi
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
|
|
|
|
# gyp_chromium generates all the Makefiles from gyp
|
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && \
|
2010-11-11 14:06:23 -05:00
|
|
|
env -i ${CONFIGURE_ENV} ${MODPY_BIN} build/gyp_chromium -fmake --ignore-environment \
|
2011-02-08 04:43:02 -05:00
|
|
|
${GYP_DEFS} \
|
|
|
|
"--depth=${WRKSRC}"
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/chrome
|
|
|
|
${INSTALL_PROGRAM} ${BUILDDIR}/chrome ${PREFIX}/chrome
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/chrome ${PREFIX}/bin
|
|
|
|
@perl -pi -e "s,TRUEPREFIX,${TRUEPREFIX},g" ${PREFIX}/bin/chrome
|
2011-03-09 12:24:21 -05:00
|
|
|
${INSTALL_MAN} ${BUILDDIR}/chrome.1 ${PREFIX}/man/man1
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
${INSTALL_DATA} ${BUILDDIR}/chrome.pak ${PREFIX}/chrome
|
2011-02-08 04:43:02 -05:00
|
|
|
${INSTALL_DATA} ${BUILDDIR}/resources.pak ${PREFIX}/chrome
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/chrome/locales
|
|
|
|
${INSTALL_DATA} ${BUILDDIR}/locales/* ${PREFIX}/chrome/locales
|
|
|
|
${INSTALL_DATA} ${BUILDDIR}/*.png ${PREFIX}/chrome
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/chrome/resources
|
|
|
|
@cp -Rp ${BUILDDIR}/resources/* ${PREFIX}/chrome/resources
|
|
|
|
@chown -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/chrome/resources
|
2011-10-27 03:59:08 -04:00
|
|
|
.for f in libffmpegsumo.so mksnapshot protoc
|
2011-02-08 04:43:02 -05:00
|
|
|
${INSTALL_DATA} ${BUILDDIR}/${f} ${PREFIX}/chrome
|
|
|
|
.endfor
|
2011-05-19 07:52:06 -04:00
|
|
|
.for s in 16 22 24 32 48 64 128 256
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/icons/hicolor/${s}x${s}/apps
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/chrome/app/theme/chromium/product_logo_${s}.png \
|
|
|
|
${PREFIX}/share/icons/hicolor/${s}x${s}/apps/chrome.png
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/chrome.desktop \
|
|
|
|
${PREFIX}/share/applications/chrome.desktop
|
Initial import of Chromium for OpenBSD, a multi-month effort! :)
i386 and amd64 supported.
Chromium is an open-source browser project that aims
to build a safer, faster, and more stable way for all
Internet users to experience the web. http://www.chromium.org/
This is version 4.0.251.0 with a tarball already including hundreds
of patches by myself, Sprewell, Ben Laurie and others from the original
FreeBSD effort. See homepage for more details and known issue:
http://sightly.net/peter/openbsd/chromium/
(right now, there are i386 & amd64 -current packages there that can
be pkg_add'ed, links to the FreeBSD page for more info, etc)
The patches are being cleaned up and sent upstream in chunks, the
goal will be to have a clean tarball eventually. I _just_ got this
working earlier this week so it may crash and burn (especially on
amd64 as some parts do not appear 64-bit clean), let me know.
"commit it and let's work on it in-tree" espie@, robert@ & others
2009-12-18 17:25:56 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|