summaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-12-09 14:43:26 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-12-09 14:43:26 +0000
commit06c672b2a6b2aefff62b44e32e0473ff15fac7fc (patch)
tree0e4fde987240a2859cf8166750c2e330a8def9bd /science
parentReset drizzt@gufi.org due to maintainer-timeouts and inactivity. (diff)
- Fix plist and unbreak - do not overwrite file installed by shared-mime-info
Submitted by: Ruslan Mahmatkhanov <cvs-src@yandex.ru> Approved by: Anders Troback <freebsd@troback.com> (maintainer)
Notes
Notes: svn path=/head/; revision=265920
Diffstat (limited to 'science')
-rw-r--r--science/gramps/Makefile3
-rw-r--r--science/gramps/files/patch-data_gramps.xml.in19
-rw-r--r--science/gramps/pkg-plist1
3 files changed, 20 insertions, 3 deletions
diff --git a/science/gramps/Makefile b/science/gramps/Makefile
index 490fe5e8a894..3924460b7dff 100644
--- a/science/gramps/Makefile
+++ b/science/gramps/Makefile
@@ -6,6 +6,7 @@
PORTNAME= gramps
PORTVERSION= 3.2.5
+PORTREVISION= 1
CATEGORIES= science gnome python
MASTER_SITES= SF/${PORTNAME}/Stable/${PORTVERSION}
@@ -15,8 +16,6 @@ COMMENT= A GTK/GNOME-based genealogy program
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py-bsddb \
${PYTHON_SITELIBDIR}/_xmlplus/__init__.py:${PORTSDIR}/textproc/py-xml
-BROKEN= incorrect plist
-
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_BDB= 43
diff --git a/science/gramps/files/patch-data_gramps.xml.in b/science/gramps/files/patch-data_gramps.xml.in
new file mode 100644
index 000000000000..2e43efc55b48
--- /dev/null
+++ b/science/gramps/files/patch-data_gramps.xml.in
@@ -0,0 +1,19 @@
+--- data/gramps.xml.in.orig 2010-11-18 09:58:56.000000000 +0300
++++ data/gramps.xml.in 2010-12-09 13:24:49.000000000 +0300
+@@ -7,16 +7,6 @@
+ <_comment>Gramps database</_comment>
+ <glob pattern="*.grdb"/>
+ </mime-type>
+- <mime-type type="application/x-gedcom">
+- <_comment>GEDCOM</_comment>
+- <glob pattern="*.ged"/>
+- <glob pattern="*.gedcom"/>
+- <glob pattern="*.GED"/>
+- <glob pattern="*.GEDCOM"/>
+- <magic priority="80">
+- <match type="string" value="0 HEAD" offset="0:1"/>
+- </magic>
+- </mime-type>
+ <mime-type type="application/x-gramps-package">
+ <_comment>Gramps package</_comment>
+ <glob pattern="*.gpkg"/>
diff --git a/science/gramps/pkg-plist b/science/gramps/pkg-plist
index 7900be1a6ab3..145de51b13b7 100644
--- a/science/gramps/pkg-plist
+++ b/science/gramps/pkg-plist
@@ -2696,7 +2696,6 @@ share/locale/sv/LC_MESSAGES/gramps.mo
share/locale/zh_CN/LC_MESSAGES/gramps.mo
share/mime-info/gramps.keys
share/mime-info/gramps.mime
-share/mime/application/x-gedcom.xml
share/mime/application/x-geneweb.xml
share/mime/application/x-gramps-package.xml
share/mime/application/x-gramps-xml.xml