diff options
author | Stefan Kreutz <mail@skreutz.com> | 2024-05-12 23:42:34 +0200 |
---|---|---|
committer | Stefan Kreutz <mail@skreutz.com> | 2024-05-12 23:42:34 +0200 |
commit | a24a3f38fc297479873cdbe5c93fec4226e2fdbf (patch) | |
tree | 4da899c29755eb16ebaffc679f3301cc4a6ec148 | |
parent | 0c1fea60db8075fe25bf68eb840a56ba9ce41069 (diff) | |
download | temp-postgres-a24a3f38fc297479873cdbe5c93fec4226e2fdbf.tar |
Port to FreeBSD
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rwxr-xr-x | configure | 5 |
3 files changed, 10 insertions, 1 deletions
@@ -1,4 +1,4 @@ -# Portable makefile supporting OpenBSD and GNU/Linux. +# Portable makefile supporting OpenBSD, FreeBSD, and GNU/Linux. PREFIX = /usr/local INSTALL = install @@ -28,6 +28,10 @@ On OpenBSD you can install the dependencies using `pkg_add(1)`: $ doas pkg_add postgresql-server postgresql-client +On FreeBSD you can install the dependencies using `pkg-install(8)`: + + $ sudo pkg install postgresql16-server postgresql16-client + On Void Linux you can install the dependencies using `xbps-install(1)`: $ sudo xbps-install -S dash postgresql postgresql-client @@ -10,6 +10,11 @@ case "$( uname )" in echo 'BINGRP = bin' 1>&3 echo 'MANGRP = bin' 1>&3 ;; + FreeBSD) + echo 'BINGRP = wheel' 1>&3 + echo 'MANDIR = share/man/man' 1>&3 + echo 'MANGRP = wheel' 1>&3 + ;; Linux) echo 'BINMODE = 755' 1>&3 echo 'MANMODE = 644' 1>&3 |