aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-06-30 13:17:19 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-06-30 13:17:19 +0000
commitb17a5f979db807de0ef76a968ebc23007a555303 (patch)
treed86893dad778ca6af87e96c7cb1e45232c6ac7d4
parente53026bc184e89e5453a2eb4c805cec13781c5bb (diff)
downloadports-b17a5f979db807de0ef76a968ebc23007a555303.tar.gz
ports-b17a5f979db807de0ef76a968ebc23007a555303.zip
textproc/discount: Update to 2.2.7c
- Update WWW - Use USES=pathfix to fix .pc installation - Remove MAKE_JOBS_UNSAFE: it is no longer an issue Changes: https://github.com/Orc/discount/commits/main
-rw-r--r--textproc/discount/Makefile14
-rw-r--r--textproc/discount/distinfo6
2 files changed, 12 insertions, 8 deletions
diff --git a/textproc/discount/Makefile b/textproc/discount/Makefile
index bec1db4494e5..80b5d73c2720 100644
--- a/textproc/discount/Makefile
+++ b/textproc/discount/Makefile
@@ -1,26 +1,30 @@
PORTNAME= discount
-PORTVERSION= 2.2.7b
+PORTVERSION= 2.2.7c
+DISTVERSIONPREFIX= v
CATEGORIES= textproc devel
-MASTER_SITES= https://www.pell.portland.or.us/~orc/Code/discount/
+#MASTER_SITES= https://www.pell.portland.or.us/~orc/Code/discount/
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= C implementation of the Markdown markup language
-WWW= https://www.pell.portland.or.us/~orc/Code/discount/
+WWW= https://www.pell.portland.or.us/~orc/Code/discount/ \
+ https://github.com/Orc/discount
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
-USES= cpe pkgconfig tar:bz2
+USES= cpe pathfix pkgconfig tar:bz2
CFLAGS+= -fPIC
CONFIGURE_ARGS= --mandir=${PREFIX}/share/man --prefix=${PREFIX} --shared
CONFIGURE_SCRIPT= configure.sh
HAS_CONFIGURE= yes
-MAKE_JOBS_UNSAFE= yes # libmarkdown is used before it is built
INSTALL_TARGET= install install.man
TEST_TARGET= test
USE_LDCONFIG= yes
+USE_GITHUB= yes
+GH_ACCOUNT= Orc
+
CONFLICTS_INSTALL= markdown
CPE_VENDOR= discount_project
diff --git a/textproc/discount/distinfo b/textproc/discount/distinfo
index 15779c76423a..c06a5868f7a1 100644
--- a/textproc/discount/distinfo
+++ b/textproc/discount/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1663672756
-SHA256 (discount-2.2.7b.tar.bz2) = b9368cc2063831635f9e790d0c4c338c2b4b72658cdc244323241bfcddf6ffd5
-SIZE (discount-2.2.7b.tar.bz2) = 102685
+TIMESTAMP = 1686496698
+SHA256 (Orc-discount-v2.2.7c_GH0.tar.gz) = 5c5139f1f88e83de86169bee3fde4ebd0e1b0798643dc9065b73dc19dbce07b3
+SIZE (Orc-discount-v2.2.7c_GH0.tar.gz) = 133282