pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
joker: added generate to pre-build, successful building
Module Name: pkgsrc-wip
Committed By: Kevin Bloom <kevin.bloom%posteo.net@localhost>
Pushed By: nuclearkev
Date: Mon Aug 28 20:28:30 2023 -0400
Changeset: 9f8c0df75eef0cccde5c50f20c4978c761eb40f0
Modified Files:
joker/Makefile
joker/PLIST
joker/TODO
Log Message:
joker: added generate to pre-build, successful building
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9f8c0df75eef0cccde5c50f20c4978c761eb40f0
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
joker/Makefile | 11 ++++++++---
joker/PLIST | 2 ++
joker/TODO | 17 +----------------
3 files changed, 11 insertions(+), 19 deletions(-)
diffs:
diff --git a/joker/Makefile b/joker/Makefile
index 658fbf25af..4dd9eb7ca8 100644
--- a/joker/Makefile
+++ b/joker/Makefile
@@ -1,19 +1,24 @@
# $NetBSD$
DISTNAME= joker-1.3.0
+PKGVERSION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GITHUB:=candid82/}
GITHUB_TAG= v${PKGVERSION_NOREV}
-MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+MAINTAINER= kevin.bloom%posteo.net@localhost
HOMEPAGE= https://joker-lang.org/
COMMENT= A small dialect of Clojure and Clojure(Script) linter.
LICENSE= epl-v1.0
INSTALLATION_DIRS+= bin
-do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/joker ${DESTDIR}${PREFIX}/bin
+GO_BUILD_PATTERN= .
+
+pre-build:
+ ln -sf ${GO} ${BUILDLINK_DIR}/bin/go
+ cd ${WRKSRC} && ${PKGSRC_SETENV} ${MAKE_ENV} \
+ GOPATH=${WRKDIR}/.gopath ${GO} generate ./...
.include "go-modules.mk"
diff --git a/joker/PLIST b/joker/PLIST
index e69de29bb2..337151f331 100644
--- a/joker/PLIST
+++ b/joker/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/joker
diff --git a/joker/TODO b/joker/TODO
index 707f8b721e..db6d725008 100644
--- a/joker/TODO
+++ b/joker/TODO
@@ -1,16 +1 @@
-Compiling fails due to an unknown reason.
-Errors:
-
-core/array_map.go:73:9: undefined: TYPE
-core/array_map.go:277:9: undefined: TYPE
-core/array_vector.go:70:9: undefined: TYPE
-core/buffer.go:34:9: undefined: TYPE
-core/buffered_reader.go:35:9: undefined: TYPE
-core/channel.go:36:9: undefined: TYPE
-core/data.go:25:14: undefined: linter_allData
-core/data.go:28:15: undefined: linter_jokerData
-core/data.go:31:14: undefined: linter_cljxData
-core/data.go:34:15: undefined: linter_cljData
-core/data.go:34:15: too many errors
-
-*** Error Code 1
\ No newline at end of file
+Just need to test it
\ No newline at end of file
Home |
Main Index |
Thread Index |
Old Index