aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-25 23:18:27 +0800
committertijl <tijl@FreeBSD.org>2014-09-25 23:18:27 +0800
commitb20f32bb38994e1bb5de05cecc229f10659e0f49 (patch)
treec350c4abc20ce22bda0b7dba0636816742669bc8 /science
parent20be128769eb36776631a3639656f9528820a14c (diff)
downloadfreebsd-ports-gnome-b20f32bb38994e1bb5de05cecc229f10659e0f49.tar.gz
freebsd-ports-gnome-b20f32bb38994e1bb5de05cecc229f10659e0f49.tar.zst
freebsd-ports-gnome-b20f32bb38994e1bb5de05cecc229f10659e0f49.zip
- Set CPPFLAGS and LIBS in a number of ports so configure can find libintl.h
and libintl.so. This fixes a problem where DATADIRNAME gets an incorrect value which causes locale files to be installed in the wrong place. - The only configure checks that still need to be patched are related to intltool so move DATADIRNAME patching from USES=pathfix to USE_GNOME=intlhack. - games/klavaro: remove excessive dependencies - japanese/libskk: add INSTALL_TARGET=install-strip - math/libqalculate: add INSTALL_TARGET=install-strip and remove pthread patching - multimedia/freetuxtv: remove excessive dependencies - science/gramps: fix shared-mime-info use Exp-run by: antoine Approved by: portmgr (antoine)
Diffstat (limited to 'science')
-rw-r--r--science/gramps/Makefile8
-rw-r--r--science/gramps/pkg-plist17
2 files changed, 5 insertions, 20 deletions
diff --git a/science/gramps/Makefile b/science/gramps/Makefile
index 6ad151b0ab99..ad775b27781a 100644
--- a/science/gramps/Makefile
+++ b/science/gramps/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gramps
PORTVERSION= 3.4.8
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= science gnome python
MASTER_SITES= SF/${PORTNAME}/Stable/${PORTVERSION}
@@ -19,12 +19,14 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}bsddb>0:${PORTSDIR}/databases/py-bsddb \
USE_BDB= 5+
USE_PYTHON= yes
-USES= desktop-file-utils gettext pathfix shared-mime-info gmake
+USES= desktop-file-utils gettext shared-mime-info gmake
USE_GNOME= pygtk2
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --disable-mime-install
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
-CONFIGURE_ENV+= GMSGFMT="${LOCALBASE}/bin/msgfmt"
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= ENCHANT PYWEBKITGTK GNOME GRAPHVIZ EXIV
diff --git a/science/gramps/pkg-plist b/science/gramps/pkg-plist
index 67a4e954ab17..a9da716ef77a 100644
--- a/science/gramps/pkg-plist
+++ b/science/gramps/pkg-plist
@@ -3149,23 +3149,7 @@ share/locale/vi/LC_MESSAGES/gramps.mo
share/locale/zh_CN/LC_MESSAGES/gramps.mo
share/mime-info/gramps.keys
share/mime-info/gramps.mime
-share/mime/XMLnamespaces
-share/mime/aliases
-share/mime/application/x-geneweb.xml
-share/mime/application/x-gramps-package.xml
-share/mime/application/x-gramps-xml.xml
-share/mime/application/x-gramps.xml
-share/mime/generic-icons
-share/mime/globs
-share/mime/globs2
-share/mime/icons
-share/mime/magic
-share/mime/mime.cache
share/mime/packages/gramps.xml
-share/mime/subclasses
-share/mime/treemagic
-share/mime/types
-share/mime/version
share/pixmaps/gramps.png
@dirrmtry man/cs/man1
@dirrmtry man/cs
@@ -3255,4 +3239,3 @@ share/pixmaps/gramps.png
@dirrmtry share/icons/gnome/scalable/mimetypes
@dirrmtry share/icons/gnome/scalable
@dirrmtry share/icons/gnome
-@dirrmtry share/mime/application