diff options
author | bapt <bapt@FreeBSD.org> | 2012-12-19 20:43:12 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-12-19 20:43:12 +0800 |
commit | e5574a03a6d5ce5a7f02bc6ae028091561649b6a (patch) | |
tree | 826758d4dd62f0fbe097389372f87f830274bb48 | |
parent | 8e4b951fd375652d11f58fa934972b95808884ae (diff) | |
download | freebsd-ports-gnome-e5574a03a6d5ce5a7f02bc6ae028091561649b6a.tar.gz freebsd-ports-gnome-e5574a03a6d5ce5a7f02bc6ae028091561649b6a.tar.zst freebsd-ports-gnome-e5574a03a6d5ce5a7f02bc6ae028091561649b6a.zip |
DeforaOS desktop web browser
PR: ports/172992
Submitted by: Olivier Cochard-Labbe <olivier@cochard.me>
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/deforaos-surfer/Makefile | 33 | ||||
-rw-r--r-- | www/deforaos-surfer/distinfo | 2 | ||||
-rw-r--r-- | www/deforaos-surfer/files/patch-doc__Makefile | 20 | ||||
-rw-r--r-- | www/deforaos-surfer/files/patch-ghtml-webkit.diff | 12 | ||||
-rw-r--r-- | www/deforaos-surfer/pkg-descr | 3 | ||||
-rw-r--r-- | www/deforaos-surfer/pkg-plist | 11 |
7 files changed, 82 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index d77da2193887..81b44dfcdc56 100644 --- a/www/Makefile +++ b/www/Makefile @@ -122,6 +122,7 @@ SUBDIR += dansguardian-devel SUBDIR += davical SUBDIR += decss + SUBDIR += deforaos-surfer SUBDIR += demoroniser SUBDIR += dfileserver SUBDIR += dhttpd diff --git a/www/deforaos-surfer/Makefile b/www/deforaos-surfer/Makefile new file mode 100644 index 000000000000..fbb3cd2c8577 --- /dev/null +++ b/www/deforaos-surfer/Makefile @@ -0,0 +1,33 @@ +# Created by: Olivier Cochard-Labbe <olivier@cochard.me> +# $FreeBSD$ + +PORTNAME= surfer +PORTVERSION= 0.2.6 +CATEGORIES= www +MASTER_SITES= http://www.defora.org/os/download/download/3709/ +DISTNAME= Surfer-${PORTVERSION} +PKGNAMEPREFIX= deforaos- + +MAINTAINER= olivier@cochard.me +COMMENT= DeforaOS desktop web browser + +LICENSE= GPLv3 + +BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \ + ${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl:${PORTSDIR}/textproc/docbook-xsl +LIB_DEPENDS= System:${PORTSDIR}/devel/deforaos-libsystem \ + Desktop:${PORTSDIR}/x11/deforaos-libdesktop \ + gnet-2.0:${PORTSDIR}/net/gnet2 \ + webkitgtk-1.0:${PORTSDIR}/www/webkit-gtk2 +RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss + +USE_GNOME= gtk20 desktopfileutils +USE_PKGCONFIG= build +USE_GETTEXT= yes +INSTALLS_ICONS= yes + +MAKE_ENV+= MANDIR=${MANPREFIX}/man + +MAN1= download.1 helper.1 surfer.1 + +.include <bsd.port.mk> diff --git a/www/deforaos-surfer/distinfo b/www/deforaos-surfer/distinfo new file mode 100644 index 000000000000..01587921a758 --- /dev/null +++ b/www/deforaos-surfer/distinfo @@ -0,0 +1,2 @@ +SHA256 (Surfer-0.2.6.tar.gz) = 5f7c6ebd98d2edccef4be9beff82d697727582c45a638c22b21c8bf985505d30 +SIZE (Surfer-0.2.6.tar.gz) = 75870 diff --git a/www/deforaos-surfer/files/patch-doc__Makefile b/www/deforaos-surfer/files/patch-doc__Makefile new file mode 100644 index 000000000000..3bceaab63c46 --- /dev/null +++ b/www/deforaos-surfer/files/patch-doc__Makefile @@ -0,0 +1,20 @@ +--- ./doc/Makefile.orig 2012-10-14 19:21:29.000000000 +0200 ++++ ./doc/Makefile 2012-12-19 13:31:00.833357884 +0100 +@@ -1,4 +1,4 @@ +-TARGETS = download.1 download.html helper.1 helper.html surfer.1 surfer.html ++TARGETS = download.1 helper.1 surfer.1 + PREFIX = /usr/local + DESTDIR = + RM ?= rm -f +@@ -35,11 +35,8 @@ + + install: $(TARGETS) + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "download.1" +- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "download.html" + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "helper.1" +- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "helper.html" + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "surfer.1" +- ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -i -- "surfer.html" + + uninstall: + ./docbook.sh -P "$(DESTDIR)$(PREFIX)" -u -- "download.1" diff --git a/www/deforaos-surfer/files/patch-ghtml-webkit.diff b/www/deforaos-surfer/files/patch-ghtml-webkit.diff new file mode 100644 index 000000000000..bd17773231b0 --- /dev/null +++ b/www/deforaos-surfer/files/patch-ghtml-webkit.diff @@ -0,0 +1,12 @@ +--- src/ghtml-webkit.c.orig 2012-10-21 14:12:06.000000000 +0200 ++++ src/ghtml-webkit.c 2012-10-21 14:13:02.000000000 +0200 +@@ -160,7 +160,8 @@ + "/etc/ssl/certs/ca-certificates.crt", + "/etc/openssl/certs/ca-certificates.crt", + PREFIX "/etc/ssl/certs/ca-certificates.crt", +- PREFIX "/etc/openssl/certs/ca-certificates.crt" ++ PREFIX "/etc/openssl/certs/ca-certificates.crt", ++ PREFIX "/share/certs/ca-root-nss.crt" + }; + size_t i; + #endif diff --git a/www/deforaos-surfer/pkg-descr b/www/deforaos-surfer/pkg-descr new file mode 100644 index 000000000000..742e6628b5ff --- /dev/null +++ b/www/deforaos-surfer/pkg-descr @@ -0,0 +1,3 @@ +DeforaOS desktop web browser + +WWW: http://www.defora.org/ diff --git a/www/deforaos-surfer/pkg-plist b/www/deforaos-surfer/pkg-plist new file mode 100644 index 000000000000..a8d6a9fbb807 --- /dev/null +++ b/www/deforaos-surfer/pkg-plist @@ -0,0 +1,11 @@ +bin/download +bin/surfer +bin/helper +share/applications/surfer.desktop +share/applications/helper.desktop +share/icons/hicolor/16x16/apps/surfer-view-html-source.png +share/icons/hicolor/24x24/apps/surfer-view-html-source.png +share/locale/de/LC_MESSAGES/Surfer.mo +share/locale/es/LC_MESSAGES/Surfer.mo +share/locale/fr/LC_MESSAGES/Surfer.mo +share/locale/it/LC_MESSAGES/Surfer.mo |