summaryrefslogtreecommitdiffstats
path: root/www/py-surl
diff options
context:
space:
mode:
authorglarkin <glarkin@FreeBSD.org>2010-10-19 14:53:51 +0000
committerglarkin <glarkin@FreeBSD.org>2010-10-19 14:53:51 +0000
commitd626b39f84e2b45efd36723a8ebc929476f7d720 (patch)
treee9032749edbe28a9bd3a38b8522d3f00d7a06c10 /www/py-surl
parenta3a93bae14fc6e7f0cdef8dccdcf41a62020fdde (diff)
downloadFreeBSD-ports-d626b39f84e2b45efd36723a8ebc929476f7d720.zip
FreeBSD-ports-d626b39f84e2b45efd36723a8ebc929476f7d720.tar.gz
surl is a URL shortening command line application that supports
various sites. It supports stdin or filename input. It grabs the URLs, converts them, and returns the same text that was used in the input. It is known to work with a wealth of services, such as bit.ly, goo.gl, tinyurl.com and tr.im. WWW: https://launchpad.net/surl PR: ports/151189 Submitted by: Carlo Strub <c-s at c-s.li>
Diffstat (limited to 'www/py-surl')
-rw-r--r--www/py-surl/Makefile26
-rw-r--r--www/py-surl/distinfo3
-rw-r--r--www/py-surl/pkg-descr7
-rw-r--r--www/py-surl/pkg-plist24
4 files changed, 60 insertions, 0 deletions
diff --git a/www/py-surl/Makefile b/www/py-surl/Makefile
new file mode 100644
index 0000000..829593e
--- /dev/null
+++ b/www/py-surl/Makefile
@@ -0,0 +1,26 @@
+# Ports collection makefile for: py-surl
+# Date created: 2010-10-04
+# Whom: Carlo Strub <c-s@c-s.li>
+#
+# $FreeBSD$
+#
+
+PORTNAME= surl
+PORTVERSION= 0.7.0
+CATEGORIES= www
+MASTER_SITES= http://launchpadlibrarian.net/37026875/ \
+ http://www.c-s.li/ports/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= c-s@c-s.li
+COMMENT= URL shortening command line application
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=0:${PORTSDIR}/devel/py-simplejson
+
+LICENSE= GPLv3
+
+USE_PYTHON= 2.5+
+USE_PYDISTUTILS=yes
+USE_BZIP2= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-surl/distinfo b/www/py-surl/distinfo
new file mode 100644
index 0000000..ecc8fb3
--- /dev/null
+++ b/www/py-surl/distinfo
@@ -0,0 +1,3 @@
+MD5 (surl-0.7.0.tar.bz2) = 7318d2a0aa6a21794b12e5ec9fb2402a
+SHA256 (surl-0.7.0.tar.bz2) = 9ae44c149b0f8b726e229f31451000aea6f7164c810618b4b8cf7cf3662c7e57
+SIZE (surl-0.7.0.tar.bz2) = 22878
diff --git a/www/py-surl/pkg-descr b/www/py-surl/pkg-descr
new file mode 100644
index 0000000..6cbdc07
--- /dev/null
+++ b/www/py-surl/pkg-descr
@@ -0,0 +1,7 @@
+surl is a URL shortening command line application that supports
+various sites. It supports stdin or filename input. It grabs the
+URLs, converts them, and returns the same text that was used in the
+input. It is known to work with a wealth of services, such as bit.ly,
+goo.gl, tinyurl.com and tr.im.
+
+WWW: https://launchpad.net/surl
diff --git a/www/py-surl/pkg-plist b/www/py-surl/pkg-plist
new file mode 100644
index 0000000..4e7c19e
--- /dev/null
+++ b/www/py-surl/pkg-plist
@@ -0,0 +1,24 @@
+bin/surl
+%%PYTHON_SITELIBDIR%%/surl/__init__.py
+%%PYTHON_SITELIBDIR%%/surl/__init__.pyc
+%%PYTHON_SITELIBDIR%%/surl/__init__.pyo
+%%PYTHON_SITELIBDIR%%/surl/dirs.py
+%%PYTHON_SITELIBDIR%%/surl/dirs.pyc
+%%PYTHON_SITELIBDIR%%/surl/dirs.pyo
+%%PYTHON_SITELIBDIR%%/surl/plugin.lst
+%%PYTHON_SITELIBDIR%%/surl/plugins.py
+%%PYTHON_SITELIBDIR%%/surl/plugins.pyc
+%%PYTHON_SITELIBDIR%%/surl/plugins.pyo
+%%PYTHON_SITELIBDIR%%/surl/services.py
+%%PYTHON_SITELIBDIR%%/surl/services.pyc
+%%PYTHON_SITELIBDIR%%/surl/services.pyo
+%%PYTHON_SITELIBDIR%%/surl/surl.py
+%%PYTHON_SITELIBDIR%%/surl/surl.pyc
+%%PYTHON_SITELIBDIR%%/surl/surl.pyo
+%%PYTHON_SITELIBDIR%%/surl/surlscript.py
+%%PYTHON_SITELIBDIR%%/surl/surlscript.pyc
+%%PYTHON_SITELIBDIR%%/surl/surlscript.pyo
+%%PYTHON_SITELIBDIR%%/surl/version.py
+%%PYTHON_SITELIBDIR%%/surl/version.pyc
+%%PYTHON_SITELIBDIR%%/surl/version.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/surl
OpenPOWER on IntegriCloud