summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--README.md7
-rwxr-xr-xconfigure5
3 files changed, 13 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 1463056..2fabd4f 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,10 @@
The `temp-postgres` utility runs the PostgreSQL server off a temporary data
directory. See [this][intro] blog post for an introduction.
+This project's original source code is hosted [here][home].
+
[intro]: https://www.skreutz.com/posts/temporary-postgresql-server/
+[home]: https://git.skreutz.com/temp-postgres.git/
## Usage
@@ -25,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.