diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2007-05-25 04:35:20 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2007-05-25 04:35:20 +0000 |
commit | f0ba37093842a7fed3a1b676ce75f5708c0859f6 (patch) | |
tree | e197a9a530ec360e7f9c92a39772bc6544d13d36 /finance | |
parent | Update to 0.130. (diff) |
Update to 3.3.
Notes
Notes:
svn path=/head/; revision=191712
Diffstat (limited to 'finance')
-rw-r--r-- | finance/homebank/Makefile | 26 | ||||
-rw-r--r-- | finance/homebank/distinfo | 6 | ||||
-rw-r--r-- | finance/homebank/pkg-plist | 22 |
3 files changed, 44 insertions, 10 deletions
diff --git a/finance/homebank/Makefile b/finance/homebank/Makefile index c3522b9e1527..5ef189480ffa 100644 --- a/finance/homebank/Makefile +++ b/finance/homebank/Makefile @@ -6,8 +6,7 @@ # PORTNAME= homebank -PORTVERSION= 3.2.1 -PORTREVISION= 1 +PORTVERSION= 3.3 CATEGORIES= finance MASTER_SITES= http://homebank.free.fr/public/ @@ -17,27 +16,40 @@ COMMENT= Manage your personal accounts at home USE_XLIB= yes USE_GMAKE= yes USE_GNOME= gtk20 +WANT_GNOME= yes USE_GETTEXT= yes +INSTALLS_ICONS= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" -EXTRACT_AFTER_ARGS= | ${TAR} -xf - --exclude autom4te.cache - DOCS= AUTHORS COPYING ChangeLog NEWS README .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500000 -BROKEN= Does not build on FreeBSD 4.x +.if ${HAVE_GNOME:Mgnomehier}!="" +USE_GNOME= gnomehier +PLIST_SUB+= GNOME:="" +GNOME_ENABLED= yes +.else +PLIST_SUB+= GNOME:="@comment " +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|[(]datadir[)]/application-registry|(prefix)/share/gnome/application-registry|g' \ + ${WRKSRC}/mime/Makefile.in +.ifndef (GNOME_ENABLED) + @${REINPLACE_CMD} -e 's|install-appDATA install|install|g' \ + ${WRKSRC}/mime/Makefile.in .endif -.ifndef (NOPORTDOCS) post-install: +.ifndef (NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for i in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif + @-update-desktop-database .include <bsd.port.post.mk> diff --git a/finance/homebank/distinfo b/finance/homebank/distinfo index 000d020edb75..3b000075357a 100644 --- a/finance/homebank/distinfo +++ b/finance/homebank/distinfo @@ -1,3 +1,3 @@ -MD5 (homebank-3.2.1.tar.gz) = 825adf3641aefe89e64fb055cf8f6a87 -SHA256 (homebank-3.2.1.tar.gz) = f0623a388b77238a7940b9f21d4305792deacefec8942b54f6339648a32ba46c -SIZE (homebank-3.2.1.tar.gz) = 532120 +MD5 (homebank-3.3.tar.gz) = b22bbf72837663f2d1181929043c3f0c +SHA256 (homebank-3.3.tar.gz) = be7f252e24d7f094e6060d7812d1d70796f85ddfd47e8eebf94c5bd05c5d3733 +SIZE (homebank-3.3.tar.gz) = 658153 diff --git a/finance/homebank/pkg-plist b/finance/homebank/pkg-plist index 85cf629eb01e..93fef82398f9 100644 --- a/finance/homebank/pkg-plist +++ b/finance/homebank/pkg-plist @@ -1,9 +1,11 @@ bin/homebank +share/applications/homebank.desktop %%PORTDOCS%%%%DOCSDIR%%/AUTHORS %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/NEWS %%PORTDOCS%%%%DOCSDIR%%/README +%%GNOME:%%share/gnome/application-registry/homebank.applications %%DATADIR%%/images/account.svg %%DATADIR%%/images/archive.svg %%DATADIR%%/images/banktransfert.svg @@ -18,6 +20,9 @@ bin/homebank %%DATADIR%%/images/filter.svg %%DATADIR%%/images/homebank.svg %%DATADIR%%/images/legend.svg +%%DATADIR%%/images/lpi-bug.png +%%DATADIR%%/images/lpi-help.png +%%DATADIR%%/images/lpi-translate.png %%DATADIR%%/images/lst_auto.svg %%DATADIR%%/images/lst_edit.svg %%DATADIR%%/images/lst_new.svg @@ -32,6 +37,7 @@ bin/homebank %%DATADIR%%/images/ope_valid.svg %%DATADIR%%/images/payee.svg %%DATADIR%%/images/personaltransfert.svg +%%DATADIR%%/images/prf_columns.svg %%DATADIR%%/images/prf_display.svg %%DATADIR%%/images/prf_euro.svg %%DATADIR%%/images/prf_general.svg @@ -49,10 +55,26 @@ bin/homebank %%DATADIR%%/images/view_line.svg %%DATADIR%%/images/view_list.svg %%DATADIR%%/images/view_pie.svg +share/icons/hicolor/16x16/apps/homebank.png +share/icons/hicolor/24x24/apps/homebank.png +share/icons/hicolor/32x32/apps/homebank.png +share/icons/hicolor/48x48/apps/homebank.png +share/icons/hicolor/scalable/apps/homebank.svg share/locale/es/LC_MESSAGES/homebank.mo share/locale/fr/LC_MESSAGES/homebank.mo 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 @dirrm %%DATADIR%% %%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrmtry share/applications +@exec %%LOCALBASE%%/bin/update-mime-database %D/share/mime +@unexec %%LOCALBASE%%/bin/update-mime-database %D/share/mime +@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true +@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true |