Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Mar 2024 20:17:45 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 656ecd1c7590 - main - lang/owl-lisp: Use upstream release archive and some Makefile improvements
Message-ID:  <202403192017.42JKHjAP074855@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

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

commit 656ecd1c759097f38c155d152331c25dd94df1a8
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-03-19 20:01:35 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-03-19 20:17:25 +0000

    lang/owl-lisp: Use upstream release archive and some Makefile improvements
    
    - Use upstream release archive as recommended by Porters Handbook
    - Don't run tests during build
    - Adjust Makefile to improve readability and uniformity
    
    PR:             277591
    Reviewed by:    Paco Pascal <me@pacopascal.com> (maintainer)
---
 lang/owl-lisp/Makefile             | 34 +++++++++++++++-------------------
 lang/owl-lisp/distinfo             |  6 +++---
 lang/owl-lisp/files/patch-Makefile | 11 +++++++++++
 3 files changed, 29 insertions(+), 22 deletions(-)

diff --git a/lang/owl-lisp/Makefile b/lang/owl-lisp/Makefile
index d2e1ab7646fc..9775a546c3a7 100644
--- a/lang/owl-lisp/Makefile
+++ b/lang/owl-lisp/Makefile
@@ -1,7 +1,9 @@
-PORTNAME=		owl-lisp
-DISTVERSIONPREFIX=	v
-DISTVERSION=		0.2.2
-CATEGORIES=		lang
+PORTNAME=	owl-lisp
+DISTVERSION=	0.2.2
+PORTREVISION=	1
+CATEGORIES=	lang
+MASTER_SITES=	https://haltp.org/files/
+DISTNAME=	owl-${DISTVERSION}
 
 MAINTAINER=	me@pacopascal.com
 COMMENT=	Functional dialect of Scheme
@@ -10,23 +12,17 @@ WWW=		https://gitlab.com/owl-lisp/owl
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENCE
 
-USE_GITLAB=	yes
-GL_PROJECT=	owl
-GL_TAGNAME=	v0.2.2
+MAKE_ARGS+= 	CC="${CC}" \
+		CFLAGS="${CFLAGS}" \
+		PREFIX="${PREFIX}"
 
-MAKE_ARGS+=\
-	CC="${CC}" \
-	CFLAGS="${CFLAGS}" \
-	PREFIX="${PREFIX}"
+TEST_TARGET=	fasltest test random-test
 
-TEST_TARGET=fasltest test random-test
-
-PLIST_FILES=\
-	bin/ol \
-	bin/ovm \
-	share/man/man1/ol.1.gz \
-	share/man/man1/ovm.1.gz \
-	share/owl-lisp/fasl/init.fasl
+PLIST_FILES=	bin/ol \
+		bin/ovm \
+		share/man/man1/ol.1.gz \
+		share/man/man1/ovm.1.gz \
+		share/owl-lisp/fasl/init.fasl
 
 post-install:
 	${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/ol
diff --git a/lang/owl-lisp/distinfo b/lang/owl-lisp/distinfo
index cfed8c4fb7c4..79f6bd8c8c15 100644
--- a/lang/owl-lisp/distinfo
+++ b/lang/owl-lisp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1700935454
-SHA256 (owl-v0.2.2.tar.bz2) = d4afd9519523a9ebf4fef83be014c9ff0db9ea0db13006307aaf15683155b99f
-SIZE (owl-v0.2.2.tar.bz2) = 457461
+TIMESTAMP = 1709963998
+SHA256 (owl-0.2.2.tar.gz) = fb7487706552688aae73a92f1508bb27b0d79c5e753e4406ffa0d34a0c1de20f
+SIZE (owl-0.2.2.tar.gz) = 1419238
diff --git a/lang/owl-lisp/files/patch-Makefile b/lang/owl-lisp/files/patch-Makefile
new file mode 100644
index 000000000000..17e80a06b307
--- /dev/null
+++ b/lang/owl-lisp/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig	2024-03-09 07:10:33 UTC
++++ Makefile
+@@ -49,7 +49,7 @@ bin/ol: c/ol.c
+ bin/ol: c/ol.c
+ 	# compile the real owl repl binary
+ 	$(CC) $(CFLAGS) $(LDFLAGS) -o bin/olp $?
+-	CC="$(CC)" LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" sh tests/run all bin/olp
++	# CC="$(CC)" LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)" sh tests/run all bin/olp
+ 	test '!' -f $@ || mv $@ bin/ol-old
+ 	mv bin/olp $@
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403192017.42JKHjAP074855>