diff --git a/textproc/lowdown/Makefile b/textproc/lowdown/Makefile index 1d7882283140..59e58bc0ac00 100644 --- a/textproc/lowdown/Makefile +++ b/textproc/lowdown/Makefile @@ -1,22 +1,23 @@ PORTNAME= lowdown -PORTVERSION= 0.10.0 +PORTVERSION= 0.11.1 CATEGORIES= textproc MASTER_SITES= https://kristaps.bsd.lv/lowdown/snapshots/ MAINTAINER= bapt@FreeBSD.org COMMENT= Simple Markdown translator LICENSE= ISCL BUILD_DEPENDS= ${LOCALBASE}/lib/libdiff.a:textproc/libdiff LDFLAGS+= -lmd 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} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-diff .include 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 @@ -1,40 +1,43 @@ 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 share/man/man3/lowdown.3.gz share/man/man3/lowdown_buf.3.gz share/man/man3/lowdown_buf_diff.3.gz share/man/man3/lowdown_buf_free.3.gz share/man/man3/lowdown_buf_new.3.gz share/man/man3/lowdown_diff.3.gz share/man/man3/lowdown_doc_free.3.gz share/man/man3/lowdown_doc_new.3.gz share/man/man3/lowdown_doc_parse.3.gz share/man/man3/lowdown_file.3.gz share/man/man3/lowdown_file_diff.3.gz share/man/man3/lowdown_gemini_free.3.gz share/man/man3/lowdown_gemini_new.3.gz share/man/man3/lowdown_gemini_rndr.3.gz share/man/man3/lowdown_html_free.3.gz share/man/man3/lowdown_html_new.3.gz share/man/man3/lowdown_html_rndr.3.gz share/man/man3/lowdown_latex_free.3.gz share/man/man3/lowdown_latex_new.3.gz share/man/man3/lowdown_latex_rndr.3.gz share/man/man3/lowdown_metaq_free.3.gz share/man/man3/lowdown_node_free.3.gz share/man/man3/lowdown_nroff_free.3.gz share/man/man3/lowdown_nroff_new.3.gz share/man/man3/lowdown_nroff_rndr.3.gz share/man/man3/lowdown_odt_free.3.gz share/man/man3/lowdown_odt_new.3.gz share/man/man3/lowdown_odt_rndr.3.gz share/man/man3/lowdown_term_free.3.gz 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