Skip to content
Permalink
Browse files

net/pastebinit upgraded version from 1.3.1 to 1.4.1

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@118212 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Ryan Stonecipher
Ryan Stonecipher committed Mar 25, 2014
1 parent 3345299 commit 3ff709040018fcba71f6453941f68051b85dbccb
Showing with 4 additions and 5 deletions.
  1. +4 −5 net/pastebinit/Portfile
@@ -4,8 +4,7 @@
PortSystem 1.0

name pastebinit
version 1.3.1
revision 1
version 1.4.1
maintainers nomaintainer

categories net python
@@ -18,8 +17,8 @@ platforms darwin
homepage http://www.stgraber.org/category/pastebinit
master_sites http://launchpad.net/pastebinit/trunk/${version}/+download/

checksums rmd160 32b2d7e71e1c990ab898d7c508fb0f7683af64f6 \
sha256 68d559292ed7e423d3500e65d795d3dcc320091fade0eb2503cedb75b18176c6
checksums rmd160 ccaf001d5084116e6b70accfffc5239d20ef0117 \
sha256 39e3dcb98d2aa9d65f86c648c375ca75fa312fc773e568963e9aefffea0c9bf7

use_configure no

@@ -30,7 +29,7 @@ depends_lib-append port:py27-configobj

post-patch {
# Fix paths
reinplace "s|^#!/usr/bin/env python|#!${prefix}/bin/python2.7|" ${worksrcpath}/pastebinit
reinplace "s|^#!/usr/bin/python3|#!${prefix}/bin/python2.7|" ${worksrcpath}/pastebinit
reinplace "s|/etc/pastebin.d|${prefix}/etc/pastebin.d|" ${worksrcpath}/pastebinit
}

0 comments on commit 3ff7090

Please sign in to comment.
You can’t perform that action at this time.