diff --git a/devel/git-lfs/Portfile b/devel/git-lfs/Portfile
index da0878a254..3fbf3bef7a 100644
--- a/devel/git-lfs/Portfile
+++ b/devel/git-lfs/Portfile
@@ -3,7 +3,7 @@
 PortSystem              1.0
 PortGroup               github 1.0
 
-github.setup            git-lfs git-lfs 2.4.2 v
+github.setup            git-lfs git-lfs 2.5.1 v
 maintainers             {raimue @raimue} \
                         openmaintainer
 platforms               darwin
@@ -15,24 +15,19 @@ long_description        ${description} is an extension for versioning large file
 homepage                https://git-lfs.github.com/
 license                 MIT
 
-checksums               rmd160  bdf7b71221ec5edf2ebd4b332002e5a6145d6afd \
-                        sha256  245a57c688aded74bd2c6326e251fdaaafa93594429be6de2a83ea65ceea0367 \
-                        size    790767
-
-patchfiles              patch-ronn.diff
+checksums               rmd160  7b8a8ccdd3bad228ca606cf49c0088864701c0a0 \
+                        sha256  c377b9249735e0fa033b4bbc77c03999efd92e01691380a9682f501671deb18c \
+                        size    945876
 
 depends_build           port:go \
                         port:rb19-ronn
 depends_run             port:git
 
-post-patch {
-    reinplace "s:@@PREFIX@@:${prefix}:" ${worksrcpath}/script/man
-}
-
 use_configure no
 
-build.cmd               ./script/bootstrap && ./script/man
-build.target
+build.target            all
+build.args              RONN=${prefix}/bin/ronn-1.9
+build.env               GOPATH=${workpath}
 
 destroot {
     set bindir ${destroot}${prefix}/bin
