[63683] trunk/dports/net

mnick at macports.org mnick at macports.org
Fri Feb 12 07:16:30 PST 2010


Revision: 63683
          http://trac.macports.org/changeset/63683
Author:   mnick at macports.org
Date:     2010-02-12 07:16:27 -0800 (Fri, 12 Feb 2010)
Log Message:
-----------
new port: net/pastebinit 0.11.2

Added Paths:
-----------
    trunk/dports/net/pastebinit/
    trunk/dports/net/pastebinit/Portfile

Added: trunk/dports/net/pastebinit/Portfile
===================================================================
--- trunk/dports/net/pastebinit/Portfile	                        (rev 0)
+++ trunk/dports/net/pastebinit/Portfile	2010-02-12 15:16:27 UTC (rev 63683)
@@ -0,0 +1,51 @@
+# -*- coding: utf-8; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+
+name                pastebinit
+version             0.11.2
+maintainers         mnick
+
+categories          net python
+description         pastebinit is a command-line tool to send data to a "pastebin"
+long_description    ${description}: \
+                    a web site which allows its users to upload snippets of text for public viewing.
+
+platforms           darwin
+
+homepage            http://www.stgraber.org/category/pastebinit
+master_sites        http://launchpad.net/pastebinit/trunk/${version}/+download/
+
+checksums           md5     64b620d7ae9fbdac8f2e23fbfecbdec3 \
+                    sha1    57c3a9b21b8b1e6330546e17fd3e30628963f803 \
+                    rmd160  ff5450bb10994982875eeceb1d8b60afdfe20c6e
+
+use_configure       no
+
+set sharedir        ${prefix}/share/${name}/
+set localedir       ${prefix}/share/locale/
+
+build {
+    system "cd ${worksrcpath}/po && make"
+}
+
+destroot {
+    xinstall -m 755 ${worksrcpath}/pastebinit ${destroot}${prefix}/bin
+    
+    # Localization
+    xinstall -m 755 -d ${destroot}${localedir}
+    foreach f  [glob ${worksrcpath}/po/mo/*] {
+        file copy ${f} ${destroot}${localedir}
+    }
+
+    # Example config
+    xinstall -m 755 -d ${destroot}${sharedir}
+    foreach f {pastebinit.xml COPYING} {
+        file copy ${worksrcpath}/${f} ${destroot}${sharedir}
+    }
+}
+
+livecheck.type      regex
+livecheck.url       http://launchpad.net/pastebinit
+livecheck.regex     Latest version is (.*)


Property changes on: trunk/dports/net/pastebinit/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100212/aba8e497/attachment.html>


More information about the macports-changes mailing list