aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2010-12-09 22:43:26 +0800
committerpav <pav@FreeBSD.org>2010-12-09 22:43:26 +0800
commit1ef91b423847b92c9d56f365751b95f5207c8a60 (patch)
treeb0bfee280c8887df251ab0ea251419f766d8303f /science
parent54bba8fbcd682eb292705b0051be2e308fdc790f (diff)
downloadfreebsd-ports-gnome-1ef91b423847b92c9d56f365751b95f5207c8a60.tar.gz
freebsd-ports-gnome-1ef91b423847b92c9d56f365751b95f5207c8a60.tar.zst
freebsd-ports-gnome-1ef91b423847b92c9d56f365751b95f5207c8a60.zip
- 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)
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