https://github.com/sarcasticadmin/ports
personal ports overlay
https://github.com/sarcasticadmin/ports
freebsd freebsd-ports overlay ports
Last synced: 5 months ago
JSON representation
personal ports overlay
- Host: GitHub
- URL: https://github.com/sarcasticadmin/ports
- Owner: sarcasticadmin
- Created: 2020-01-22T08:45:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-26T16:18:03.000Z (about 3 years ago)
- Last Synced: 2025-02-17T12:32:52.628Z (8 months ago)
- Topics: freebsd, freebsd-ports, overlay, ports
- Language: Makefile
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ports
## Config
/etc/make.conf
```
DEVELOPER=yes
OVERLAYS=/usr/robs-ports
```## Build a port
```
make config
make makesum
make makeplist > pkg-plist # Remove to line after output
make package
make stage
make install
```
> ALLOW_UNSUPPORTED_SYSTEM=yes## plist
If youve autogenerated the `pkg-plist` then you need to remove the first line from the top
of its output:```
# cat pkg-plist
/you/have/to/check/what/makeplist/gives/you
etc/rc.d/vm
lib/vm-bhyve/vm-base
lib/vm-bhyve/vm-cmd
lib/vm-bhyve/vm-config
lib/vm-bhyve/vm-core
lib/vm-bhyve/vm-datastore
lib/vm-bhyve/vm-guest
```Or you'll end up with the following error:
```
# make install
===> Installing for vm-bhyve-1.5.0.p1
===> Checking if vm-bhyve is already installed
===> Registering installation for vm-bhyve-1.5.0.p1
pkg-static: Unable to access file /usr/robs-ports/sysutils/vm-bhyve/work/stage/you/have/to/check/what/makeplist/gives/you:No such file or directory
*** Error code 74Stop.
make[1]: stopped in /usr/robs-ports/sysutils/vm-bhyve
*** Error code 1Stop.
```This is a mechanism that the portstree adds to ensure people aren't blindly adding the output of `make plist`
## Sources
* [Porters Handbook](https://www.freebsd.org/doc/en/books/porters-handbook/book.html)
* [Quick porting](https://www.freebsd.org/doc/en/books/porters-handbook/book.html#quick-porting)