FreeBSD port: lang/clojure 1.10.1.447 -> 1.10.3.1020

From: Filipe da Silva Santos via ports <ports_at_FreeBSD.org>
Date: Mon, 08 Nov 2021 22:07:26 UTC
Following the devel/leiningen update, let's also bump Clojure version.

Since the last update was in 2019, I'm sendind this patch directly to
the list.

--- /usr/ports/lang/clojure/Makefile	2021-11-02 03:11:14.868390000 +0000
+++ /home/shiorid/projects/ports/lang/clojure/Makefile	2021-11-08 21:33:40.466468000 +0000
@@ -1,7 +1,7 @@
 # Created by: ijliao
 
 PORTNAME=	clojure
-PORTVERSION=	1.10.1.447
+PORTVERSION=	1.10.3.1020
 CATEGORIES=	lang lisp java
 MASTER_SITES=	https://download.clojure.org/install/
 DISTNAME=	clojure-tools-${PORTVERSION}
@@ -23,6 +23,8 @@
 WRKSRC=		${WRKDIR}/clojure-tools
 
 post-patch:
+	@${REINPLACE_CMD} 's,BINDIR,${PREFIX}\/bin,g' \
+		${WRKSRC}/clj
 	@${REINPLACE_CMD} 's,PREFIX,${DATADIR},g' \
 		${WRKSRC}/clojure

--- /usr/ports/lang/clojure/pkg-plist	2021-11-02 03:11:14.868490000 +0000
+++ /home/shiorid/projects/ports/lang/clojure/pkg-plist	2021-11-08 21:13:43.417956000 +0000
@@ -2,6 +2,6 @@
 bin/clojure
 man/man1/clj.1.gz
 man/man1/clojure.1.gz
-%%DATADIR%%/libexec/clojure-tools-%%PORTVERSION%%.jar
 %%DATADIR%%/deps.edn
 %%DATADIR%%/example-deps.edn
+%%DATADIR%%/libexec/clojure-tools-%%PORTVERSION%%.jar

--
Filipe da Silva Santos <contact_at_shiori.com.br>
102E 1944 2189 31FF 06EB  3F79 760B AE45 F7B3 008E