ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/www/webkit-qt5/Makefile
Revision: 23462
Committed: Thu May 10 16:36:51 2018 UTC (5 years, 11 months ago) by laffer1
Content type: text/plain
File size: 2394 byte(s)
Log Message:
change approach

File Contents

# Content
1 # $MidnightBSD$
2 # $FreeBSD: head/www/webkit-qt5/Makefile 418153 2016-07-06 22:10:14Z mat $
3
4 PORTNAME= webkit
5 DISTVERSION= ${QT5_VERSION}
6 PORTREVISION= 3
7 CATEGORIES= www
8 MASTER_SITE_SUBDIR= community_releases/${QT5_VERSION:R}/${QT5_VERSION}/
9 PKGNAMEPREFIX= qt5-
10
11 MAINTAINER= ports@MidnightBSD.org
12 COMMENT= Qt WebKit implementation
13
14 LICENSE= gpl3
15
16 LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
17 libicui18n.so:devel/icu \
18 libleveldb.so:databases/leveldb \
19 libpng.so:graphics/png \
20 libwebp.so:graphics/webp
21 BUILD_DEPENDS= ${LOCALBASE}/bin/flex:textproc/flex
22
23 USE_GL= gl
24 USE_GNOME= libxml2 libxslt
25 USE_PERL5= build
26 USE_QT5= core gui network opengl printsupport qml quick sql \
27 widgets buildtools_build
28 QT_DIST= ${PORTNAME}
29 USE_RUBY= yes
30 RUBY_NO_RUN_DEPENDS= yes
31 USE_XORG= x11 xcomposite xrender
32 USES= bison gperf jpeg perl5 pkgconfig python:build qmake:outsource \
33 sqlite
34 # Use flex(1) from ports.
35 MAKE_ENV= PATH="${LOCALBASE}/bin:${PATH}"
36 # "all" builds many more targets. The default one is called "first" in
37 # QtWebKit, and is invoked by default when make is called without arguments.
38 ALL_TARGET= first
39 USE_LDCONFIG= ${PREFIX}/${QT_LIBDIR_REL}
40
41 QT_DEFINES= ACCESSIBILITY
42 QT_CONFIG= accessibility accessibility-atspi-bridge
43
44 OPTIONS_DEFINE= GSTREAMER
45 OPTIONS_DEFAULT=GSTREAMER
46
47 GSTREAMER_USE= GNOME=glib20 GSTREAMER1=yes
48
49 .include <bsd.port.pre.mk>
50
51 DISTINFO_FILE= ${.CURDIR:H:H}/www/webkit-qt5/distinfo
52
53 post-patch:
54 ${REINPLACE_CMD} -e 's,python,${PYTHON_VERSION},g' \
55 -e 's,$$$${PYTHON},${PYTHON_VERSION},g' \
56 ${WRKSRC}/Source/WebCore/DerivedSources.make \
57 ${WRKSRC}/Source/WebCore/DerivedSources.pri \
58 ${WRKSRC}/Source/WebKit2/DerivedSources.make \
59 ${WRKSRC}/Source/WebKit2/DerivedSources.pri \
60 ${WRKSRC}/Source/JavaScriptCore/DerivedSources.make \
61 ${WRKSRC}/Source/JavaScriptCore/DerivedSources.pri \
62 ${WRKSRC}/Tools/qmake/mkspecs/features/configure.prf
63
64 pre-configure:
65 @${REINPLACE_CMD} -Ee 's|linux-?\*|unix|g' \
66 ${WRKSRC}/Source/JavaScriptCore/DerivedSources.pri \
67 ${WRKSRC}/Source/JavaScriptCore/JavaScriptCore.pri \
68 ${WRKSRC}/Source/JavaScriptCore/Target.pri \
69 ${WRKSRC}/Source/WebCore/WebCore.pri \
70 ${WRKSRC}/Tools/qmake/mkspecs/features/features.prf
71 .if ! ${PORT_OPTIONS:MGSTREAMER}
72 @${REINPLACE_CMD} -e 's|packagesExist.*gstreamer.*|false {|' \
73 ${WRKSRC}/Tools/qmake/mkspecs/features/features.prf
74 .endif
75
76 .include <bsd.port.post.mk>

Properties

Name Value
svn:eol-style native
svn:keywords MidnightBSD=%H
svn:mime-type text/plain