summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--install.sh12
1 files changed, 4 insertions, 8 deletions
diff --git a/install.sh b/install.sh
index ae440bc7..6f4789bb 100644
--- a/install.sh
+++ b/install.sh
@@ -27,14 +27,10 @@ Linux() {
 }
 
 Darwin() {
-	port selfupdate
-	port -N install git mandoc nvi pkgconfig $packages
-	mkdir -p /opt/local/etc/select/man
-	printf 'bin/man\nshare/man/man1/man.1\nshare/man/man1/man.1.gz\n' \
-		>/opt/local/etc/select/man/base
-	printf '/usr/bin/man\n/usr/share/man/man1/man.1\n-\n' \
-		>/opt/local/etc/select/man/system
-	port select --set man system
+	packages=$(echo $packages | sed 's/the_silver_searcher/ag/')
+	cd git/jorts
+	git pull
+	./Plan -j4 git mandoc nvi $packages | sh
 }
 
 $(uname)