devel/mage 1.17.2_8,1 FreeBSD
Command-line make-like build tool using Go as input files
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
d81b7ba3c3- License
- APACHE20
- Categories
- devel
- Package size
- 1507.9 KiB, 4727.8 KiB installed
Description
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?
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/mage | 1.17.2_8,1 |
| DragonFly | devel/mage | 1.15.0_10,1 |
| MidnightBSD | devel/mage | 1.15.0,1 |
Install
Binary package:
pkg install mage
From the ports tree:
cd /usr/ports/devel/mage/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= mage>0:devel/mage
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.17.2_7,1 | 1.17.2_7,1 | - | 1.15.0_15,1 | 1.17.2_7,1 |
| FreeBSD:14:quarterly | 1.17.2_7,1 | 1.17.2_7,1 | n/a | 1.15.0_13,1 | 1.17.2_7,1 |
| FreeBSD:15:latest | 1.17.2_7,1 | 1.17.2_7,1 | n/a | - | 1.15.0_15,1 |
| FreeBSD:15:quarterly | 1.17.2_7,1 | 1.17.2_7,1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.17.2_6,1 | 1.17.2_7,1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
The Makefile names none itself; they come from USES and USE_*.
The full lists below include those, and their dependencies in turn.
Build dependencies 1
No port depends on this one.
Configuration
No options to configure.
- USES
- go:modules
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| magefile-mage-v1.17.2_GH0.tar.gz | 8.831461e+06 | af594292c863a7c0bfe93c35a33a1c441a2dca24c5ade552a96caacf5015efcc |
Commit history 6
The latest 5 of 6 in the history this site was built from.