summaryrefslogtreecommitdiff
path: root/homebrew/proftpd/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/proftpd/.make.sh-auto')
-rw-r--r--homebrew/proftpd/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
diff --git a/homebrew/proftpd/.make.sh-auto b/homebrew/proftpd/.make.sh-auto
new file mode 100644
index 000000000..6466960a9
--- /dev/null
+++ b/homebrew/proftpd/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+inreplace "sample-configurations/basic.conf", "nogroup", "nobody"
+pkg:configure
+ENV.deparallelize
+install_user = ENV["USER"]
+install_group = `groups`.split[0]
+make INSTALL_USER=#{DESTDIR=${PKG_DEST} install_user} INSTALL_GROUP=#{install_group} install