--- Portfile.orig	2015-03-05 23:21:22.000000000 +0100
+++ Portfile	2015-03-06 00:03:42.000000000 +0100
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                pass
-version             1.6.3
+version             1.6.5
 maintainers         macports.swinbank.org:john openmaintainer
 categories          security
 description         ${name} is the standard unix password manager
@@ -24,16 +24,10 @@
 distname            password-store-${version}
 use_xz              yes
 
-checksums           rmd160 1a1311b67942a0a490af5c20376483a4a5240101 \
-                    sha256 d419d40aa165c1f893e994dd706733374a9db8cf5314124702a061e70e0340f7
+checksums           rmd160 76e50eaef02163dc23c155ade34b88e965ac6f30 \
+                    sha256 337a39767e6a8e69b2bcc549f27ff3915efacea57e5334c6068fcb72331d7315
 
-patchfiles          patch-Makefile.diff \
-                    patch-getopt-path.diff \
-                    patch-use_apple_mktemp.diff
-
-post-patch {
-    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/src/platform/darwin.sh
-}
+patchfiles          patch-Makefile.diff
 
 use_configure       no
 build {}
