aboutsummaryrefslogtreecommitdiff
path: root/net/tucan
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2011-05-22 21:24:04 +0000
committerMatthias Andree <mandree@FreeBSD.org>2011-05-22 21:24:04 +0000
commit8d4717707b89e16d66bc28b02f7cc888eea14205 (patch)
tree6a792c2a3dd307dc5df983accb300d6d5d8de059 /net/tucan
parent3eaf1d033b0d84f9c11cb84f73e6f90983c6a76a (diff)
downloadports-8d4717707b89e16d66bc28b02f7cc888eea14205.tar.gz
ports-8d4717707b89e16d66bc28b02f7cc888eea14205.zip
Notes
Diffstat (limited to 'net/tucan')
-rw-r--r--net/tucan/Makefile13
-rw-r--r--net/tucan/files/patch-core__service_config.py19
-rw-r--r--net/tucan/pkg-descr11
3 files changed, 38 insertions, 5 deletions
diff --git a/net/tucan/Makefile b/net/tucan/Makefile
index ab762a59e4be..396d3d791ed3 100644
--- a/net/tucan/Makefile
+++ b/net/tucan/Makefile
@@ -7,25 +7,32 @@
PORTNAME= tucan
PORTVERSION= 0.3.9
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://forja.rediris.es/frs/download.php/1470/ \
http://build-tucan-doc.googlecode.com/files/
MAINTAINER= gustau.perez@gmail.com
-COMMENT= Give us the links, we'll cook the meal!
+COMMENT= Tucan Manager aids file-sharing with 1-click hosters
RUN_DEPENDS= ${LOCALBASE}/bin/pilconvert.py:${PORTSDIR}/graphics/py-imaging \
${LOCALBASE}/bin/cntraining:${PORTSDIR}/graphics/tesseract/
NO_BUILD= yes
USE_GNOME= pygtk2 librsvg2
-USE_PYTHON= yes
+USE_PYTHON= 2.5+
MANCOMPRESSED= yes
MAN1= tucan.1
USE_GETTEXT= yes
+post-patch:
+ ${REINPLACE_CMD} -Ee 's|#! /usr/bin/env python|#! ${PYTHON_CMD}|' ${WRKSRC}/tucan.py
+
+# remove .orig leftovers from files/patch-*
+pre-install:
+ ${RM} ${WRKSRC}/core/*.orig
+
do-install:
${MKDIR} ${PREFIX}/bin/
${MKDIR} ${PREFIX}/share/pixmaps/
diff --git a/net/tucan/files/patch-core__service_config.py b/net/tucan/files/patch-core__service_config.py
new file mode 100644
index 000000000000..28ed918b3ad0
--- /dev/null
+++ b/net/tucan/files/patch-core__service_config.py
@@ -0,0 +1,19 @@
+--- ./core/service_config.py.orig 2009-10-07 01:02:28.000000000 +0200
++++ ./core/service_config.py 2011-05-22 19:41:52.000000000 +0200
+@@ -18,7 +18,7 @@
+ ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ ###############################################################################
+
+-import os
++import os, stat
+ import pickle
+ import base64
+ import logging
+@@ -157,6 +157,7 @@
+
+ def save(self):
+ """"""
++ os.chmod(self.path + CONF, stat.S_IRUSR|stat.S_IWUSR)
+ f = open(self.path + CONF, "w")
+ self.write(f)
+ f.close()
diff --git a/net/tucan/pkg-descr b/net/tucan/pkg-descr
index 35120092067d..61451e7f3dde 100644
--- a/net/tucan/pkg-descr
+++ b/net/tucan/pkg-descr
@@ -1,4 +1,11 @@
-Tucan Manager is a free file sharing application designed for 1-Click
-Hosters. Fast and lightweight.
+Supporting the main Hosters like RapidShare or MegaUpload, Tucan
+brings a new experience to users discouraged by other file sharing
+methods as p2p.
+
+Tesseract OCR engine in combination with PIL library, grant
+Tucan the ability to solve any captcha whitout user action.
+
+Tucan also manages waits between downloads and interchangeable
+links seamlessly, relieving the user from this nuisance.
WWW: http://www.tucaneando.com