forked from macports/macports-ports
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1403c44
commit c745148
Showing
2 changed files
with
177 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 | ||
|
||
PortSystem 1.0 | ||
PortGroup cmake 1.1 | ||
PortGroup conflicts_build 1.0 | ||
PortGroup github 1.0 | ||
PortGroup qt4 1.0 | ||
|
||
name sigil-qt4 | ||
conflicts sigil | ||
|
||
github.setup Sigil-Ebook Sigil 0.6.2 | ||
revision 0 | ||
checksums rmd160 2d0d67d5d27a7e868151d6efd2f0219233dec62f \ | ||
sha256 707506840d6ca90e2a794914700ecf347c090b28883e10222018a4fd27c00fbd \ | ||
size 10488473 | ||
github.tarball_from archive | ||
|
||
categories editors | ||
maintainers {@barracuda156 gmail.com:vital.had} openmaintainer | ||
license GPL-3+ | ||
platforms {darwin < 20} | ||
|
||
description Sigil, the ePub editor | ||
|
||
long_description Sigil is a multi-platform WYSIWYG ebook editor. \ | ||
It is designed to edit books in ePub format. | ||
|
||
patchfiles-append patch-newboost.diff | ||
|
||
depends_build-append path:bin/pkg-config:pkgconfig | ||
|
||
depends_lib-append port:boost \ | ||
port:hunspell \ | ||
port:minizip \ | ||
port:xercesc3 \ | ||
port:zlib | ||
|
||
conflicts_build libzip tidy | ||
|
||
# /opt/local/include/xercesc/util/Xerces_autoconf_config.hpp: | ||
# error: cstdint: No such file or directory | ||
compiler.cxx_standard 2011 | ||
|
||
configure.args-append -DCMAKE_OSX_DEPLOYMENT_TARGET=${macosx_deployment_target} \ | ||
-DFORCE_BUNDLED_COPIES=OFF | ||
|
||
# XercesCppUse.h: error: invalid conversion from 'const ushort*' \ | ||
# {aka 'const short unsigned int*'} to 'const XMLCh*' {aka 'const char16_t*'} [-fpermissive] | ||
if {[string match *gcc* ${configure.compiler}]} { | ||
configure.cxxflags-append \ | ||
-fpermissive | ||
} | ||
|
||
build.target Sigil | ||
|
||
destroot { | ||
copy ${destroot.dir}/bin/Sigil.app ${destroot}${applications_dir} | ||
} | ||
|
||
livecheck none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
diff --git src/BoostParts/boost/bind.hpp src/BoostParts/boost/bind.hpp | ||
index e1eb386..3544ea3 100644 | ||
--- src/BoostParts/boost/bind.hpp | ||
+++ src/BoostParts/boost/bind.hpp | ||
@@ -19,6 +19,6 @@ | ||
// See http://www.boost.org/libs/bind/bind.html for documentation. | ||
// | ||
|
||
-#include <boost/bind/bind.hpp> | ||
+#include <boost/bind.hpp> | ||
|
||
#endif // #ifndef BOOST_BIND_HPP_INCLUDED | ||
diff --git src/FlightCrew/stdafx.h src/FlightCrew/stdafx.h | ||
index a7c90a3..23c7efa 100644 | ||
--- src/FlightCrew/stdafx.h | ||
+++ src/FlightCrew/stdafx.h | ||
@@ -30,7 +30,7 @@ | ||
#include <xercesc/util/PlatformUtils.hpp> | ||
#include <xercesc/parsers/XercesDOMParser.hpp> | ||
#include <boost/tuple/tuple.hpp> | ||
-#include <boost/bind/bind.hpp> | ||
+#include <boost/bind.hpp> | ||
#include <boost/lambda/lambda.hpp> | ||
#include <boost/thread.hpp> | ||
#include <boost/format.hpp> | ||
diff --git src/Sigil/BookManipulation/Headings.cpp src/Sigil/BookManipulation/Headings.cpp | ||
index bf098a4..8fbe78b 100644 | ||
--- src/Sigil/BookManipulation/Headings.cpp | ||
+++ src/Sigil/BookManipulation/Headings.cpp | ||
@@ -19,7 +19,7 @@ | ||
** | ||
*************************************************************************/ | ||
|
||
-#include <boost/bind/bind.hpp> | ||
+#include <boost/bind.hpp> | ||
#include <boost/tuple/tuple.hpp> | ||
|
||
#include <QtCore/QtCore> | ||
diff --git src/Sigil/BookManipulation/XhtmlDoc.cpp src/Sigil/BookManipulation/XhtmlDoc.cpp | ||
index 069b5c0..5b43f9a 100644 | ||
--- src/Sigil/BookManipulation/XhtmlDoc.cpp | ||
+++ src/Sigil/BookManipulation/XhtmlDoc.cpp | ||
@@ -21,7 +21,7 @@ | ||
** | ||
*************************************************************************/ | ||
|
||
-#include <boost/bind/bind.hpp> | ||
+#include <boost/bind.hpp> | ||
#include <boost/scoped_ptr.hpp> | ||
#include <boost/shared_ptr.hpp> | ||
#include <xercesc/framework/MemBufInputSource.hpp> | ||
diff --git src/Sigil/Importers/ImportHTML.cpp src/Sigil/Importers/ImportHTML.cpp | ||
index 73620c3..8890fe8 100644 | ||
--- src/Sigil/Importers/ImportHTML.cpp | ||
+++ src/Sigil/Importers/ImportHTML.cpp | ||
@@ -19,7 +19,7 @@ | ||
** | ||
*************************************************************************/ | ||
|
||
-#include <boost/bind/bind.hpp> | ||
+#include <boost/bind.hpp> | ||
#include <boost/tuple/tuple.hpp> | ||
|
||
#include <QtCore/QtCore> | ||
diff --git src/Sigil/Misc/SearchOperations.cpp src/Sigil/Misc/SearchOperations.cpp | ||
index 363a519..1ecca9d 100644 | ||
--- src/Sigil/Misc/SearchOperations.cpp | ||
+++ src/Sigil/Misc/SearchOperations.cpp | ||
@@ -19,7 +19,7 @@ | ||
** | ||
*************************************************************************/ | ||
|
||
-#include <boost/bind/bind.hpp> | ||
+#include <boost/bind.hpp> | ||
#include <boost/tuple/tuple.hpp> | ||
#include <signal.h> | ||
|
||
diff --git src/Sigil/SourceUpdates/AnchorUpdates.cpp src/Sigil/SourceUpdates/AnchorUpdates.cpp | ||
index 818a996..8ab31c2 100644 | ||
--- src/Sigil/SourceUpdates/AnchorUpdates.cpp | ||
+++ src/Sigil/SourceUpdates/AnchorUpdates.cpp | ||
@@ -19,7 +19,7 @@ | ||
** | ||
*************************************************************************/ | ||
|
||
-#include <boost/bind/bind.hpp> | ||
+#include <boost/bind.hpp> | ||
#include <boost/shared_ptr.hpp> | ||
#include <boost/tuple/tuple.hpp> | ||
|
||
diff --git src/Sigil/SourceUpdates/LinkUpdates.cpp src/Sigil/SourceUpdates/LinkUpdates.cpp | ||
index 6176725..b5d5c3d 100644 | ||
--- src/Sigil/SourceUpdates/LinkUpdates.cpp | ||
+++ src/Sigil/SourceUpdates/LinkUpdates.cpp | ||
@@ -20,7 +20,7 @@ | ||
** | ||
*************************************************************************/ | ||
|
||
-#include <boost/bind/bind.hpp> | ||
+#include <boost/bind.hpp> | ||
|
||
#include <QtCore/QtCore> | ||
#include <QtCore/QString> | ||
diff --git src/Sigil/SourceUpdates/UniversalUpdates.cpp src/Sigil/SourceUpdates/UniversalUpdates.cpp | ||
index 367b0ac..8500806 100644 | ||
--- src/Sigil/SourceUpdates/UniversalUpdates.cpp | ||
+++ src/Sigil/SourceUpdates/UniversalUpdates.cpp | ||
@@ -19,7 +19,7 @@ | ||
** | ||
*************************************************************************/ | ||
|
||
-#include <boost/bind/bind.hpp> | ||
+#include <boost/bind.hpp> | ||
#include <boost/shared_ptr.hpp> | ||
#include <boost/tuple/tuple.hpp> | ||
|