git: e52e25925783 - main - textproc/lowdown: upgrade to 0.11.1

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Sat, 12 Mar 2022 15:38:26 UTC
The branch main has been updated by bapt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e52e2592578310bc6f618600224dd17f3eae19a1

commit e52e2592578310bc6f618600224dd17f3eae19a1
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2022-03-12 15:38:01 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2022-03-12 15:38:01 +0000

    textproc/lowdown: upgrade to 0.11.1
---
 textproc/lowdown/Makefile             |  3 ++-
 textproc/lowdown/distinfo             |  6 +++---
 textproc/lowdown/files/patch-Makefile | 10 ++++++++++
 textproc/lowdown/pkg-plist            |  3 +++
 4 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/textproc/lowdown/Makefile b/textproc/lowdown/Makefile
index 1d7882283140..59e58bc0ac00 100644
--- a/textproc/lowdown/Makefile
+++ b/textproc/lowdown/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	lowdown
-PORTVERSION=	0.10.0
+PORTVERSION=	0.11.1
 CATEGORIES=	textproc
 MASTER_SITES=	https://kristaps.bsd.lv/lowdown/snapshots/
 
@@ -14,6 +14,7 @@ MAKE_ARGS=	LDFLAGS="${LDFLAGS}" MANDIR=${PREFIX}/share/man
 
 HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	PREFIX="${PREFIX}"
+INSTALL_TARGET=	install install_libs
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
diff --git a/textproc/lowdown/distinfo b/textproc/lowdown/distinfo
index de912e1c6e92..8ee4e4a1d8ee 100644
--- a/textproc/lowdown/distinfo
+++ b/textproc/lowdown/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1637679338
-SHA256 (lowdown-0.10.0.tar.gz) = b75cad25b10fa72d2c4730020eadf56345860964f4266bbcb18363e7c89c6297
-SIZE (lowdown-0.10.0.tar.gz) = 229928
+TIMESTAMP = 1647099054
+SHA256 (lowdown-0.11.1.tar.gz) = 0dec4ef8d51d1fcbe3333009e01b916b637cc83194c6ed0bdfe944646518690f
+SIZE (lowdown-0.11.1.tar.gz) = 244057
diff --git a/textproc/lowdown/files/patch-Makefile b/textproc/lowdown/files/patch-Makefile
new file mode 100644
index 000000000000..cf8609f1891d
--- /dev/null
+++ b/textproc/lowdown/files/patch-Makefile
@@ -0,0 +1,10 @@
+--- Makefile.orig	2022-03-12 15:37:17 UTC
++++ Makefile
+@@ -214,6 +214,7 @@ install_shared: liblowdown.so install_lib_common
+ 
+ install_shared: liblowdown.so install_lib_common
+ 	$(INSTALL_LIB) liblowdown.so.$(LIBVER) $(DESTDIR)$(LIBDIR)
++	ln -sf libdowndown.so.${LIBVER} $(DESTDIR)$(LIBDIR)/liblowdown.so
+ 
+ install_static: liblowdown.a install_lib_common
+ 	$(INSTALL_LIB) liblowdown.a $(DESTDIR)$(LIBDIR)
diff --git a/textproc/lowdown/pkg-plist b/textproc/lowdown/pkg-plist
index eadf703246d6..d4658116e31e 100644
--- a/textproc/lowdown/pkg-plist
+++ b/textproc/lowdown/pkg-plist
@@ -2,6 +2,8 @@ bin/lowdown
 bin/lowdown-diff
 include/lowdown.h
 lib/liblowdown.a
+lib/liblowdown.so
+lib/liblowdown.so.1
 libdata/pkgconfig/lowdown.pc
 share/man/man1/lowdown.1.gz
 share/man/man1/lowdown-diff.1.gz
@@ -38,3 +40,4 @@ share/man/man3/lowdown_term_new.3.gz
 share/man/man3/lowdown_term_rndr.3.gz
 share/man/man3/lowdown_tree_rndr.3.gz
 share/man/man5/lowdown.5.gz
+%%DATADIR%%/odt/styles.xml