aboutsummaryrefslogtreecommitdiff
path: root/finance/homebank
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2007-05-28 23:06:01 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2007-05-28 23:06:01 +0000
commit3e36c3cb2051f57ea8390a9126c42b449bfd549d (patch)
tree69726c5681838dab8e9073500ecc0caf13401919 /finance/homebank
parent6bc9fa76fd9b60c7bf47effd14d1600f035e43a7 (diff)
downloadports-3e36c3cb2051f57ea8390a9126c42b449bfd549d.tar.gz
ports-3e36c3cb2051f57ea8390a9126c42b449bfd549d.zip
Notes
Diffstat (limited to 'finance/homebank')
-rw-r--r--finance/homebank/Makefile13
-rw-r--r--finance/homebank/pkg-plist4
2 files changed, 10 insertions, 7 deletions
diff --git a/finance/homebank/Makefile b/finance/homebank/Makefile
index 5ef189480ffa..6e6f8f582ae8 100644
--- a/finance/homebank/Makefile
+++ b/finance/homebank/Makefile
@@ -7,6 +7,7 @@
PORTNAME= homebank
PORTVERSION= 3.3
+PORTREVISION= 1
CATEGORIES= finance
MASTER_SITES= http://homebank.free.fr/public/
@@ -15,7 +16,7 @@ COMMENT= Manage your personal accounts at home
USE_XLIB= yes
USE_GMAKE= yes
-USE_GNOME= gtk20
+USE_GNOME= gtk20 desktopfileutils
WANT_GNOME= yes
USE_GETTEXT= yes
INSTALLS_ICONS= yes
@@ -36,11 +37,13 @@ PLIST_SUB+= GNOME:="@comment "
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|[(]datadir[)]/application-registry|(prefix)/share/gnome/application-registry|g' \
- ${WRKSRC}/mime/Makefile.in
+ @${REINPLACE_CMD} -e 's|[(]datadir[)]/application-registry|(prefix)/share/gnome/application-registry|g ; \
+ s|[(]datadir[)]/mime-info|(prefix)/share/gnome/mime-info|g' \
+ ${WRKSRC}/mime/Makefile.in
.ifndef (GNOME_ENABLED)
- @${REINPLACE_CMD} -e 's|install-appDATA install|install|g' \
- ${WRKSRC}/mime/Makefile.in
+ @${REINPLACE_CMD} -e 's|install-appDATA install|install|g ; \
+ s| install-mimeDATA||g' \
+ ${WRKSRC}/mime/Makefile.in
.endif
post-install:
diff --git a/finance/homebank/pkg-plist b/finance/homebank/pkg-plist
index 93fef82398f9..456b4cb56301 100644
--- a/finance/homebank/pkg-plist
+++ b/finance/homebank/pkg-plist
@@ -6,6 +6,8 @@ share/applications/homebank.desktop
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%GNOME:%%share/gnome/application-registry/homebank.applications
+%%GNOME:%%share/gnome/mime-info/homebank.keys
+%%GNOME:%%share/gnome/mime-info/homebank.mime
%%DATADIR%%/images/account.svg
%%DATADIR%%/images/archive.svg
%%DATADIR%%/images/banktransfert.svg
@@ -66,8 +68,6 @@ share/locale/nl/LC_MESSAGES/homebank.mo
share/locale/pt_BR/LC_MESSAGES/homebank.mo
share/locale/ru/LC_MESSAGES/homebank.mo
share/locale/zh_CN/LC_MESSAGES/homebank.mo
-share/mime-info/homebank.keys
-share/mime-info/homebank.mime
share/mime/packages/homebank.xml
share/pixmaps/homebank.svg
@dirrm %%DATADIR%%/images