summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kreutz <mail@skreutz.com>2024-05-12 23:42:34 +0200
committerStefan Kreutz <mail@skreutz.com>2024-05-12 23:42:34 +0200
commita24a3f38fc297479873cdbe5c93fec4226e2fdbf (patch)
tree4da899c29755eb16ebaffc679f3301cc4a6ec148
parent0c1fea60db8075fe25bf68eb840a56ba9ce41069 (diff)
downloadtemp-postgres-a24a3f38fc297479873cdbe5c93fec4226e2fdbf.tar
Port to FreeBSD
-rw-r--r--Makefile2
-rw-r--r--README.md4
-rwxr-xr-xconfigure5
3 files changed, 10 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b28ae64..f4d88d4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# Portable makefile supporting OpenBSD and GNU/Linux.
+# Portable makefile supporting OpenBSD, FreeBSD, and GNU/Linux.
PREFIX = /usr/local
INSTALL = install
diff --git a/README.md b/README.md
index ea8ff0b..2fabd4f 100644
--- a/README.md
+++ b/README.md
@@ -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
diff --git a/configure b/configure
index 9a1e936..c9b0f50 100755
--- a/configure
+++ b/configure
@@ -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
Generated by cgit. See skreutz.com for my tech blog and contact information.