aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deskutils/tomboy/Makefile12
-rw-r--r--deskutils/tomboy/pkg-plist4
2 files changed, 12 insertions, 4 deletions
diff --git a/deskutils/tomboy/Makefile b/deskutils/tomboy/Makefile
index 767b0d4937df..f016068de730 100644
--- a/deskutils/tomboy/Makefile
+++ b/deskutils/tomboy/Makefile
@@ -8,20 +8,22 @@
PORTNAME= tomboy
PORTVERSION= 0.3.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= deskutils gnome
MASTER_SITES= http://www.beatniksoftware.com/tomboy/releases/
MAINTAINER= tmclaugh@sdf.lonestar.org
-COMMENT= Personal note taking systemfor the GNOME desktop
+COMMENT= Personal note taking system for the GNOME desktop
LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell2
BUILD_DEPENDS= gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp \
${LOCALBASE}/lib/mono/dbus-sharp/dbus-sharp.dll:${PORTSDIR}/devel/dbus-sharp
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp \
+ ${LOCALBASE}/lib/mono/dbus-sharp/dbus-sharp.dll:${PORTSDIR}/devel/dbus-sharp
USE_GNOME= gnomehack gnometarget intltool gnomeprefix gnomepanel
USE_X_PREFIX= yes
+USE_REINPLACE= yes
USE_LIBTOOL_VER=15
USE_GMAKE= yes
@@ -31,4 +33,8 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= tomboy.1
GCONF_SCHEMAS= tomboy.schemas
+post-patch:
+ @${REINPLACE_CMD} -e 's|(libdir)/dbus-1.0|(prefix)/share/dbus-1|g' \
+ ${WRKSRC}/data/Makefile.in
+
.include <bsd.port.mk>
diff --git a/deskutils/tomboy/pkg-plist b/deskutils/tomboy/pkg-plist
index b4542e29ec47..ce42a825d636 100644
--- a/deskutils/tomboy/pkg-plist
+++ b/deskutils/tomboy/pkg-plist
@@ -1,11 +1,11 @@
bin/tomboy
-lib/dbus-1.0/services/com.beatniksoftware.Tomboy.service
lib/tomboy/Plugins/PrintNotes.dll
lib/tomboy/Tomboy.exe
lib/tomboy/Tomboy.exe.config
lib/tomboy/libtomboy.so
libdata/bonobo/servers/GNOME_TomboyApplet.server
libdata/pkgconfig/tomboy-plugins.pc
+share/dbus-1/services/com.beatniksoftware.Tomboy.service
share/gnome/gnome-2.0/ui/GNOME_TomboyApplet.xml
share/gnome/pixmaps/tintin.png
share/locale/bg/LC_MESSAGES/tomboy.mo
@@ -33,5 +33,7 @@ share/locale/rw/LC_MESSAGES/tomboy.mo
share/locale/sq/LC_MESSAGES/tomboy.mo
share/locale/sv/LC_MESSAGES/tomboy.mo
share/locale/zh_CN/LC_MESSAGES/tomboy.mo
+@unexec rmdir %D/share/locale/rw/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/rw 2> /dev/null || true
@dirrm lib/tomboy/Plugins
@dirrm lib/tomboy