<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/71e85716522d751faf0a847393e1db78340e7443">https://github.com/macports/macports-ports/commit/71e85716522d751faf0a847393e1db78340e7443</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 71e85716522d751faf0a847393e1db78340e7443
</span>Author: Janosch Peters <janosch1@mailbox.org>
AuthorDate: Thu Jan 28 13:04:10 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> smooth: new port smooth
</span>---
aqua/smooth/Portfile | 43 ++++++++++++++++++++++
.../smooth/files/patch-fix-dylib-install-path.diff | 11 ++++++
aqua/smooth/files/patch-fix-libxml2-includes.diff | 11 ++++++
3 files changed, 65 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/smooth/Portfile b/aqua/smooth/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7a3b149217f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/smooth/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,43 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- 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
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup github 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup enzo1982 smooth 0.9.6 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from releases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories aqua
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license Artistic-2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {@janosch mailbox.org:janosch1} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description ${name} is a class library for user interfaces written in C++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description ${name} is an object oriented C++ class library for Windows, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ macOS, Linux and most Unix-like operating systems. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ It provides basic functionality and platform support for \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ applications and libraries. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \n \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \nFeatures provided by smooth include:\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \n* user interface API with various widgets\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \n* simple to use multithreading API\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \n* file and network IO interface\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \n* completely transparent Unicode and software \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ internationalization support\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ \n* a libxml2 based XML parser\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage http://www.smooth-project.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 b53e8720b3e3e8fad48e7c1f6f1dd55a910758f8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e678880e59c8cf7c53c4b4d72df0d11b07a650f288b55f2d44e95b02495c0e8c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 8040291
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib port:bzip2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:curl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:fribidi \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:gtk3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:include/turbojpeg.h:libjpeg-turbo \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:libxml2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-fix-libxml2-includes.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-fix-dylib-install-path.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+makefile.prefix_name prefix
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/smooth/files/patch-fix-dylib-install-path.diff b/aqua/smooth/files/patch-fix-dylib-install-path.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..bff62e83a98
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/smooth/files/patch-fix-dylib-install-path.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.orig 2020-12-25 17:02:53.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile 2021-01-27 12:17:23.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -246,7 +246,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ifeq ($(BUILD_WIN32),True)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LINKER_OPTS += --shared -mwindows -Wl,--dynamicbase,--nxcompat,--kill-at,--out-implib,$(LIBNAME)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else ifeq ($(BUILD_OSX),True)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LINKER_OPTS += -dynamiclib -framework Carbon -framework Cocoa -Wl,-dylib_install_name,libsmooth-$(VERSION).$(REVISION)$(SHARED)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LINKER_OPTS += -dynamiclib -framework Carbon -framework Cocoa -Wl,-dylib_install_name,$(prefix)/lib/libsmooth-$(VERSION).$(REVISION)$(SHARED)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LINKER_OPTS += --shared -Wl,-soname,libsmooth-$(VERSION)$(SHARED).$(REVISION)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/smooth/files/patch-fix-libxml2-includes.diff b/aqua/smooth/files/patch-fix-libxml2-includes.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..8341a4daf36
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/smooth/files/patch-fix-libxml2-includes.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- classes/xml/Makefile.orig 2020-12-22 20:25:35.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ classes/xml/Makefile 2020-12-29 15:28:02.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -9,7 +9,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ifeq ($(USE_BUNDLED_LIBXML2),True)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MYCCOPTS += -I"$(SRCDIR)"/$(SMOOTH_PATH)/include/support/libxml2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else ifeq ($(BUILD_OSX),True)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- MYCCOPTS += -I$(shell xcodebuild -sdk macosx -version | grep "^Path: " | head -n 1 | tail -c +7)/usr/include/libxml2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ MYCCOPTS += -I$(prefix)/include/libxml2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MYCCOPTS += $(shell pkg-config --cflags libxml-2.0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span></pre><pre style='margin:0'>
</pre>