summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-12-20 04:35:39 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-12-20 04:35:39 +0000
commit7949e844be9fb88d5489ae2424e81143d2650c18 (patch)
treef275d42f390cfbd7a269a2db6bcb06bb01519eb8 /net
parentCorrect the removal of the ${PREFIX}/lib/gtk-2.0/modules directory. (diff)
Properly install GConf schema files.
Reported by: pointyhat via kris
Notes
Notes: svn path=/head/; revision=124548
Diffstat (limited to 'net')
-rw-r--r--net/straw/Makefile4
-rw-r--r--net/straw/files/patch-setup.py13
2 files changed, 12 insertions, 5 deletions
diff --git a/net/straw/Makefile b/net/straw/Makefile
index f57dc95ed839..c1546c573773 100644
--- a/net/straw/Makefile
+++ b/net/straw/Makefile
@@ -7,7 +7,7 @@
PORTNAME= straw
PORTVERSION= 0.25.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -25,6 +25,8 @@ PYDISTUTILS_INSTALLARGS= -c -O1 --prefix=${PREFIX} \
--install-lib=${PREFIX}/share/gnome \
--with-desktop-file-dir=share/gnome/applications
+GCONF_SCHEMAS= straw.schemas
+
.include <bsd.port.pre.mk>
# pybsddb ships with python 2.3
diff --git a/net/straw/files/patch-setup.py b/net/straw/files/patch-setup.py
index d0bada9d00a6..29e044a51ea8 100644
--- a/net/straw/files/patch-setup.py
+++ b/net/straw/files/patch-setup.py
@@ -1,5 +1,5 @@
--- setup.py.orig Thu Jul 15 15:15:58 2004
-+++ setup.py Mon Aug 16 22:15:09 2004
++++ setup.py Sun Dec 19 23:29:18 2004
@@ -108,8 +108,8 @@
'''Build list of data files to be installed'''
images = glob.glob('images/*.png')
@@ -11,9 +11,14 @@
return files
long_desc = '''\
-@@ -137,10 +137,9 @@
- #config_files = [('gconf/schemas',['data/straw.schemas'],
- # 'with-gconf-schema-file-dir')],
+@@ -134,13 +134,12 @@
+ data_files = data_files(),
+ pot_file = 'po/straw.pot',
+ translations = translations(),
+- #config_files = [('gconf/schemas',['data/straw.schemas'],
+- # 'with-gconf-schema-file-dir')],
++ config_files = [('gconf/schemas',['data/straw.schemas'],
++ 'with-gconf-schema-file-dir')],
scripts = ['src/straw'],
- modules_check = modules_check,
packages = ['straw'],