Mage is a make/rake-like build tool using Go. You write plain-old go functions,
and Mage automatically uses them as Makefile-like runnable targets.
Makefiles are hard to read and hard to write. Mostly because makefiles are
essentially fancy bash scripts with significant white space and additional
make-related syntax.
Mage lets you have multiple magefiles, name your magefiles whatever you want,
and they're easy to customize for multiple operating systems. Mage has no
dependencies (aside from go) and runs just fine on all major operating systems,
whereas make generally uses bash which is not well supported on Windows. Go is
superior to bash for any non-trivial task involving branching, looping, anything
that's not just straight line execution of commands. And if your project is
written in Go, why introduce another language as idiosyncratic as bash? Why not
use the language your contributors are already comfortable with?
go: Bump go124-dependent ports
Earlier I bumped the default Go to 1.24. Ports that specify a lower
version will still build with those lower version (for now), so they
don't need a bumping. Instead I'm bumping anything that (now) has go124
as a dependency.
devel/mage: Update to 1.15.0
ChangeLog: https://github.com/magefile/mage/releases/tag/v1.15.0
* Update CI
* fix erroneous docstring of sh.Exec()
* Update jQuery to 3.5.0
* -d dir contains magefiles stop with "No .go files marked with the mage build
tag..."
* mage: cancel context on SIGINT
PR: 273084
Reported by: gspurki@gmail.com (maintainer)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Go ports: cleanup, finish transition to USES=go started with r505321 (cat.
audio-mail)
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001
- Switch to go:modules when upstream already uses them
Reviewed by: tobik
Approved by: araujo (mentor), portmgr (adamw)
Differential Revision: https://reviews.freebsd.org/D21741
Convert all Go ports to USES=go
This allows for port testing with lang/go-devel via GO_PORT, setting
up the Go build environment in a single place, and is step one in
simplifying Go ports that often define too complicated do-build
targets themselves.
USES=go gains new arguments 'run' to add lang/go to RUN_DEPENDS and
'no_targets' for ports with composite builds that call 'go' themselves
and do not need the do-build/do-install targets of USES=go.
PR: 238849
Submitted by: dg@syrec.org (also D20745)
Reviewed by: mat, tobik
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D20746
Use post-patch instead of pre-patch and do-patch when stamping the version.
Reported by: mat
Reviewed by: swills, mat
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D15159
Add new port: devel/mage
Mage is a make/rake-like build tool using Go. You write plain-old go functions,
and Mage automatically uses them as Makefile-like runnable targets.
Makefiles are hard to read and hard to write. Mostly because makefiles are
essentially fancy bash scripts with significant white space and additional
make-related syntax.
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D15159