mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
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)
This commit is contained in:
parent
2e3137a176
commit
656ecd1c75
@ -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
|
||||
|
@ -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
|
||||
|
11
lang/owl-lisp/files/patch-Makefile
Normal file
11
lang/owl-lisp/files/patch-Makefile
Normal file
@ -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 $@
|
||||
|
Loading…
Reference in New Issue
Block a user