mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
4ef9f1b3e7
PR: 208718 Submitted by: tkato432 yahoo com Sponsored by: Absolight
24 lines
602 B
Plaintext
24 lines
602 B
Plaintext
--- devede.orig 2012-10-20 18:32:49 UTC
|
|
+++ devede
|
|
@@ -59,7 +59,19 @@ if found==False:
|
|
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.)
|