Created
December 22, 2015 05:48
-
-
Save rubenerd/9cdb1f9b033b543f677d to your computer and use it in GitHub Desktop.
Pull FreeBSD www ports tree for nginx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
_category="www" | |
_port="nginx-devel" | |
pkg update | |
pkg install subversion | |
svn checkout --depth empty svn+ssh://svn.freebsd.org/ports/head /usr/ports | |
cd /usr/ports | |
svn update --set-depth files | |
svn update Mk | |
svn update Templates | |
svn update Tools | |
svn update --set-depth files $_category | |
cd $_category | |
svn update $_port |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment