On 2021/12/29 18:11, Matthias Schmidt wrote: > attached is a tarball for a new port. I noticed one strange thing > during the port's creation. make fetch doesn't download the tarball > from github although I use the same syntax as other ports and the > Makefile template. The download path is different from the one on the > website... Once I downloaded the tarball to the distfiles, I could > easily create the port.
No idea what's up with your fetch (showing what haopens would help) but it works for me. WANTLIB needs uodating and there are whitespace nits, here's an updated Makefile.
# $OpenBSD$ COMMENT = opinionated command line journal GH_ACCOUNT = thexhr GH_PROJECT = jrnlc GH_TAGNAME = 2021.b CATEGORIES = misc HOMEPAGE = https://github.com/thexhr/jrnlc MAINTAINER = Matthias Schmidt <[email protected]> # ISC PERMIT_PACKAGE = Yes # Uses pledge() WANTLIB += c json-c sodium LIB_DEPENDS = devel/json-c \ security/libsodium NO_TEST = Yes .include <bsd.port.mk>
