aboutsummaryrefslogtreecommitdiff
path: root/misc/portell/files/patch-portell.py
diff options
context:
space:
mode:
Diffstat (limited to 'misc/portell/files/patch-portell.py')
-rw-r--r--misc/portell/files/patch-portell.py26
1 files changed, 0 insertions, 26 deletions
diff --git a/misc/portell/files/patch-portell.py b/misc/portell/files/patch-portell.py
deleted file mode 100644
index 51177d7a848b..000000000000
--- a/misc/portell/files/patch-portell.py
+++ /dev/null
@@ -1,26 +0,0 @@
-
-$FreeBSD$
-
---- portell.py.orig
-+++ portell.py
-@@ -14,12 +14,16 @@
- PORTELL_DB = "/var/db/portell.db"
-
- PORTS_DIR = "/usr/ports/"
--
-+IGNORE_DIRS = { "distfiles":None, "Tools":None, "packages":None }
-
- def write_pathname(d, dirname, names):
-- '/'.join(dirname.split('/')[:5]) # chop port path subdirs
-- d[os.path.basename(dirname)] = dirname
--
-+ dirs=dirname.split('/')
-+ if len(dirs)==4:
-+ if IGNORE_DIRS.has_key(dirs[3]):
-+ del names[:]
-+ elif len(dirs)==5:
-+ d[dirs[4]] = dirname
-+ del names[:]
-
- def update_db(msg):
- print msg