View | Details | Raw Unified | Return to bug 144830
Collapse All | Expand All

(-)midori/Makefile (-20 / +47 lines)
Lines 1-43 Link Here
1
# New ports collection makefile for:	midori
1
# New ports collection makefile for:  midori
2
# Date created:		2007-10-21
2
# Date created:   2007-10-21
3
# Whom:			Michael Johnson <ahze@FreeBSD.org>
3
# Whom:     Michael Johnson <ahze@FreeBSD.org>
4
#
4
#
5
# $FreeBSD: ports/www/midori/Makefile,v 1.12 2010/02/05 11:44:59 dinoex Exp $
5
# $FreeBSD: ports/www/midori/Makefile,v 1.12 2010/02/05 11:44:59 dinoex Exp $
6
#   $MCom: ports/www/midori/Makefile,v 1.19 2009/10/22 21:20:56 kwm Exp $
6
#   $MCom: ports/www/midori/Makefile,v 1.19 2009/10/22 21:20:56 kwm Exp $
7
#
7
#
8
8
9
PORTNAME=	midori
9
PORTNAME=	midori
10
PORTVERSION=	0.2.2
10
PORTVERSION=	0.2.4
11
PORTREVISION=	1
11
CATEGORIES=	www xfce
12
CATEGORIES=	www
13
MASTER_SITES=	http://archive.xfce.org/src/apps/${PORTNAME}/${PORTVERSION:R}/
12
MASTER_SITES=	http://archive.xfce.org/src/apps/${PORTNAME}/${PORTVERSION:R}/
13
DIST_SUBDIR=	xfce4
14
14
15
MAINTAINER=	ahze@FreeBSD.org
15
MAINTAINER=	ahze@FreeBSD.org
16
COMMENT=	Lightweight web browser using WebKit browser engine
16
COMMENT=	Lightweight web browser using WebKit browser engine
17
17
18
LIB_DEPENDS=	webkit-1.0:${PORTSDIR}/www/webkit-gtk2 \
18
RUN_DEPENDS=	python:${PORTSDIR}/lang/python
19
		sqlite3.8:${PORTSDIR}/databases/sqlite3 \
19
20
		soup-2.4:${PORTSDIR}/devel/libsoup
20
BUILD_DEPENDS=	${RUN_DEPENDS} \
21
BUILD_DEPENDS=	python:${PORTSDIR}/lang/python \
22
		rsvg-convert:${PORTSDIR}/graphics/librsvg2
21
		rsvg-convert:${PORTSDIR}/graphics/librsvg2
23
22
24
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
23
LIB_DEPENDS=	webkit-1.0:${PORTSDIR}/www/webkit-gtk2 \
25
		LDFLAGS="-L${LOCALBASE}/lib"
24
	notify.1:${PORTSDIR}/devel/libnotify
26
CONFIGURE_ARGS+=--disable-unique \
25
27
		--jobs=${MAKE_JOBS_NUMBER}
26
CONFIGURE_ARGS+=	--prefix=${LOCALBASE} \
28
27
		--disable-unique \
29
MAKE_JOBS_SAFE=	yes
28
		--disable-libidn \
30
HAS_CONFIGURE=	yes
29
		--enable-sqlite \
31
USE_GMAKE=	yes
30
		--enable-libnotify \
31
		--enable-addons \
32
		--disable-hildon
33
32
USE_BZIP2=	yes
34
USE_BZIP2=	yes
35
USE_PYTHON=	yes
36
USE_OPENSSL=	yes
33
USE_GNOME=	glib20 gtk20 intltool libxml2 pkgconfig
37
USE_GNOME=	glib20 gtk20 intltool libxml2 pkgconfig
34
INSTALLS_ICONS=	yes
35
USE_LDCONFIG=	yes
38
USE_LDCONFIG=	yes
39
INSTALLS_ICONS=	yes
40
41
OPTIONS=	NLS "Enable Native Language support" on 
36
42
37
.include <bsd.port.pre.mk>
43
.include <bsd.port.pre.mk>
38
44
39
# WAF needs that
45
# WAF needs that
40
CONFIGURE_ENV+=	CC=${CC}
46
CONFIGURE_ENV+=	CC="${CC}"
41
47
42
.if !defined(WITHOUT_NLS)
48
.if !defined(WITHOUT_NLS)
43
USE_GETTEXT=	yes
49
USE_GETTEXT=	yes
Lines 47-50 Link Here
47
PLIST_SUB+=	NLS="@comment "
53
PLIST_SUB+=	NLS="@comment "
48
.endif
54
.endif
49
55
56
.if exists(${LOCALBASE}/bin/rst2html)
57
CONFIGURE_ARGS+=	--enable-userdocs --enable-apidocs
58
PLIST_SUB+=	DOCUTILS=""
59
.else
60
CONFIGURE_ARGS+=	--disable-userdocs --disable-apidocs
61
PLIST_SUB+=	DOCUTILS="@comment "
62
.endif
63
64
do-configure:
65
	@cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} waf configure \
66
		${CONFIGURE_ARGS} && ${TRUE}
67
68
do-build:
69
	@cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} waf build && ${TRUE} 
70
71
do-install:
72
	@cd ${WRKSRC} && ${SETENV} ${PYTHON_CMD} waf install && ${TRUE}
73
74
post-install:
75
	@-update-desktop-database
76
50
.include <bsd.port.post.mk>
77
.include <bsd.port.post.mk>
(-)midori/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (midori-0.2.2.tar.bz2) = 14f81a7a10f80a173da1b5e88713400b
1
MD5 (midori-0.2.4.tar.bz2) = ccd2ae162993c2c92c9e0eac7778c62d
2
SHA256 (midori-0.2.2.tar.bz2) = bec38745947b79a80352374937cecb81fd21d30c35f11b11290fabdad1e4cb07
2
SHA256 (midori-0.2.4.tar.bz2) = 02a2b13e2ca51badae828b0a331af92f09ae3d6a9ab0a56e647544db64f7790f
3
SIZE (midori-0.2.2.tar.bz2) = 613546
3
SIZE (midori-0.2.4.tar.bz2) = 645554
(-)midori/files/patch-data_search (+16 lines)
Line 0 Link Here
1
--- data/search.orig	2009-09-12 00:09:38.000000000 +0200
2
+++ data/search	2009-10-05 16:37:43.000000000 +0200
3
@@ -6,6 +6,13 @@
4
 icon=
5
 token=g
6
 
7
+[FreshPorts]
8
+name=FreshPorts
9
+text=The change made to the FreeBSD ports tree
10
+uri=http://www.freshports.org/search.php?stype=name&method=match&query=%s&num=10&orderby=category&orderbyuptodown=asc&search=Search
11
+icon=
12
+token=fp
13
+
14
 [Wikipedia]
15
 name=Wikipedia
16
 text=The free encyclopedia
(-)midori/files/patch-wscript (+12 lines)
Line 0 Link Here
1
--- wscript.orig	2010-03-07 22:23:04.000000000 +0100
2
+++ wscript	2010-03-15 22:55:02.000000000 +0100
3
@@ -252,8 +252,7 @@
4
     if not conf.env['HAVE_UNIQUE']:
5
         if Options.platform == 'win32':
6
             conf.check (lib='ws2_32')
7
-        check_pkg ('openssl', mandatory=False)
8
-        conf.define ('USE_SSL', [0,1][conf.env['HAVE_OPENSSL'] == 1])
9
+        conf.define ('HAVE_OPENSSL', [0,1][conf.check (header_name='openssl/opensslv.h')])
10
         conf.define ('HAVE_NETDB_H', [0,1][conf.check (header_name='netdb.h')])
11
         conf.check (header_name='sys/wait.h')
12
         conf.check (header_name='sys/select.h')
(-)midori/pkg-plist (-18 / +28 lines)
Lines 3-9 Link Here
3
lib/midori/libadblock.so
3
lib/midori/libadblock.so
4
lib/midori/libcolorful-tabs.so
4
lib/midori/libcolorful-tabs.so
5
lib/midori/libcookie-manager.so
5
lib/midori/libcookie-manager.so
6
lib/midori/libdnsprefetch.so
7
lib/midori/libfeed-panel.so
6
lib/midori/libfeed-panel.so
8
lib/midori/libformhistory.so
7
lib/midori/libformhistory.so
9
lib/midori/libmouse-gestures.so
8
lib/midori/libmouse-gestures.so
Lines 20-25 Link Here
20
%%DOCSDIR%%/ChangeLog
19
%%DOCSDIR%%/ChangeLog
21
%%DOCSDIR%%/EXPAT
20
%%DOCSDIR%%/EXPAT
22
%%DOCSDIR%%/README
21
%%DOCSDIR%%/README
22
%%DOCUTILS%%%%DOCSDIR%%/user/midori.html
23
share/icons/hicolor/16x16/apps/midori.png
23
share/icons/hicolor/16x16/apps/midori.png
24
share/icons/hicolor/16x16/categories/extension.png
24
share/icons/hicolor/16x16/categories/extension.png
25
share/icons/hicolor/16x16/status/news-feed.png
25
share/icons/hicolor/16x16/status/news-feed.png
Lines 68-90 Link Here
68
%%NLS%%share/locale/uk/LC_MESSAGES/midori.mo
68
%%NLS%%share/locale/uk/LC_MESSAGES/midori.mo
69
%%NLS%%share/locale/zh_CN/LC_MESSAGES/midori.mo
69
%%NLS%%share/locale/zh_CN/LC_MESSAGES/midori.mo
70
%%NLS%%share/locale/zh_TW/LC_MESSAGES/midori.mo
70
%%NLS%%share/locale/zh_TW/LC_MESSAGES/midori.mo
71
%%DATADIR%%/res/autosuggestcontrol.css
71
share/midori/res/autosuggestcontrol.css
72
%%DATADIR%%/res/autosuggestcontrol.js
72
share/midori/res/autosuggestcontrol.js
73
%%DATADIR%%/res/error.html
73
share/midori/res/error.html
74
%%DATADIR%%/res/logo-shade.png
74
share/midori/res/logo-shade.png
75
%%DATADIR%%/res/mootools.js
75
share/midori/res/mootools.js
76
%%DATADIR%%/res/speeddial-head.html
76
share/midori/res/speeddial-head.html
77
%%DATADIR%%/res/speeddial.json
77
share/midori/res/speeddial.json
78
@dirrm %%DATADIR%%/res
78
@dirrm share/midori/res
79
@dirrm %%DATADIR%%
79
@dirrm share/midori
80
%%NLS%%@dirrmtry share/locale/sr@latin/LC_MESSAGES
80
@exec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || true
81
%%NLS%%@dirrmtry share/locale/sr@latin
81
@unexec %%LOCALBASE%%/bin/update-desktop-database >/dev/null || true
82
%%NLS%%@dirrmtry share/locale/ast/LC_MESSAGES
82
@dirrmtry share/icons/hicolor/48x48/status
83
%%NLS%%@dirrmtry share/locale/ast
83
@dirrmtry share/icons/hicolor/48x48/categories
84
@dirrmtry share/icons/hicolor/48x48/apps
85
@dirrmtry share/icons/hicolor/32x32/status
86
@dirrmtry share/icons/hicolor/32x32/categories
87
@dirrmtry share/icons/hicolor/32x32/apps
88
@dirrmtry share/icons/hicolor/24x24/status
89
@dirrmtry share/icons/hicolor/24x24/categories
90
@dirrmtry share/icons/hicolor/24x24/apps
91
@dirrmtry share/icons/hicolor/22x22/status
92
@dirrmtry share/icons/hicolor/22x22/categories
93
@dirrmtry share/icons/hicolor/22x22/apps
94
@dirrmtry share/icons/hicolor/16x16/status
95
@dirrmtry share/icons/hicolor/16x16/categories
96
@dirrmtry share/icons/hicolor/16x16/apps
97
%%DOCUTILS%%@dirrmtry %%DOCSDIR%%/user
84
@dirrm %%DOCSDIR%%
98
@dirrm %%DOCSDIR%%
85
@dirrmtry share/applications
86
@dirrm lib/midori
99
@dirrm lib/midori
87
@dirrm etc/xdg/midori
100
@dirrm etc/xdg/midori
88
@dirrmtry etc/xdg
89
@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
90
@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true

Return to bug 144830