mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-17 08:01:36 +00:00
328fd3ec01
- update to 3.14.0 PR: [1] ports/134109 Submitted by: lioux
24 lines
640 B
Python
24 lines
640 B
Python
--- devede.py.orig 2009-05-25 09:50:34.000000000 -0300
|
|
+++ devede.py 2009-06-13 08:40:49.000000000 -0300
|
|
@@ -69,7 +69,19 @@
|
|
except:
|
|
found=False
|
|
|
|
-if tipo==0:
|
|
+tipo=3
|
|
+
|
|
+if tipo==3:
|
|
+ share_locale="%%PREFIX%%/share/locale"
|
|
+ glade="%%DATADIR%%"
|
|
+ sys.path.append("%%PREFIX%%/lib/%%PORTNAME%%")
|
|
+ font_path="%%DATADIR%%"
|
|
+ pic_path="%%DATADIR%%"
|
|
+ other_path="%%DATADIR%%"
|
|
+ help_path="%%DOCSDIR%%"
|
|
+ print "Using port-installed files"
|
|
+
|
|
+elif tipo==0:
|
|
#gettext.bindtextdomain('devede', '/usr/share/locale')
|
|
#Note also before python 2.3 you need the following if
|
|
#you need translations from non python code (glibc,libglade etc.)
|