diff -aurN grsync.orig/Makefile grsync/Makefile --- grsync.orig/Makefile 2010-04-12 07:57:38.279526587 +0000 +++ grsync/Makefile 2010-04-13 07:18:36.705754222 +0000 @@ -6,7 +6,7 @@ # PORTNAME= grsync -PORTVERSION= 1.0.0 +PORTVERSION= 1.1.0 CATEGORIES= net ipv6 MASTER_SITES= http://www.opbyte.it/release/ \ GENTOO/distfiles \ @@ -17,10 +17,12 @@ RUN_DEPENDS= rsync:${PORTSDIR}/net/rsync -USE_GNOME= gtk20 +USE_GNOME= gtk20 desktopfileutils GNU_CONFIGURE= yes USE_GMAKE= yes +INSTALLS_ICONS= yes + CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" @@ -40,4 +42,7 @@ ${WRKSRC}/configure .endif +post-install: + @-update-desktop-database + .include diff -aurN grsync.orig/distinfo grsync/distinfo --- grsync.orig/distinfo 2010-04-12 07:57:38.295527922 +0000 +++ grsync/distinfo 2010-04-12 07:57:55.024510447 +0000 @@ -1,3 +1,3 @@ -MD5 (grsync-1.0.0.tar.gz) = 4deb6cc00658e224068324f43ec8714e -SHA256 (grsync-1.0.0.tar.gz) = bfc8eab06cbd851de89ba5a0a5b662acc6ea6064b598d05de0c3b30724c33273 -SIZE (grsync-1.0.0.tar.gz) = 264559 +MD5 (grsync-1.1.0.tar.gz) = 64ced98754874e74d021903721a71417 +SHA256 (grsync-1.1.0.tar.gz) = 1184621d3c3cf95801fd1ece2e0a7ef478a7fc63462c3edb758699a84531f61d +SIZE (grsync-1.1.0.tar.gz) = 279830 diff -aurN grsync.orig/pkg-plist grsync/pkg-plist --- grsync.orig/pkg-plist 2010-04-12 07:57:38.293522849 +0000 +++ grsync/pkg-plist 2010-04-13 07:29:11.158292185 +0000 @@ -2,8 +2,15 @@ bin/grsync-batch share/applications/grsync.desktop share/pixmaps/grsync.png +share/pixmaps/grsync-busy.png share/grsync/grsync.glade @dirrm share/grsync +share/icons/hicolor/48x48/mimetypes/application-x-grsync-session.png +@dirrmtry share/icons/hicolor/48x48/mimetypes +@dirrmtry share/icons/hicolor/48x48 +@dirrmtry share/icons/hicolor +@dirrmtry share/icons +share/mime/packages/grsync.xml %%NLS%%share/locale/ca_ES/LC_MESSAGES/grsync.mo %%NLS%%share/locale/cs_CZ/LC_MESSAGES/grsync.mo %%NLS%%share/locale/de_DE/LC_MESSAGES/grsync.mo @@ -37,4 +44,8 @@ %%NLS%%@dirrmtry share/locale/sv_SE %%NLS%%@dirrmtry share/locale/tr_TR/LC_MESSAGES %%NLS%%@dirrmtry share/locale/tr_TR +@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 @dirrmtry share/applications