summaryrefslogtreecommitdiff
path: root/deskutils/tomboy/Makefile
diff options
context:
space:
mode:
authorRomain Tartière <romain@FreeBSD.org>2014-07-07 19:45:43 +0000
committerRomain Tartière <romain@FreeBSD.org>2014-07-07 19:45:43 +0000
commit1226c032092f45ca12423098467d5f4bd199152f (patch)
tree0cc8a5a90caeeb56c6e536feddeb13123a299afa /deskutils/tomboy/Makefile
parent- Update libtorrent to 0.13.4 (diff)
Update to 1.14.1.
Notes
Notes: svn path=/head/; revision=361125
Diffstat (limited to 'deskutils/tomboy/Makefile')
-rw-r--r--deskutils/tomboy/Makefile35
1 files changed, 18 insertions, 17 deletions
diff --git a/deskutils/tomboy/Makefile b/deskutils/tomboy/Makefile
index 36dfa37e3dd9..031e17a269d6 100644
--- a/deskutils/tomboy/Makefile
+++ b/deskutils/tomboy/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tomboy
-PORTVERSION= 1.12.2
+PORTVERSION= 1.14.1
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -11,11 +11,9 @@ MAINTAINER= mono@FreeBSD.org
COMMENT= Personal note taking system for the GNOME desktop
LIB_DEPENDS= libgtkspell.so:${PORTSDIR}/textproc/gtkspell
-BUILD_DEPENDS= ${LOCALBASE}/lib/mono/gmime-sharp-2.4/gmime-sharp.dll:${PORTSDIR}/mail/gmime24-sharp \
- ${LOCALBASE}/libdata/pkgconfig/dbus-sharp-glib-1.0.pc:${PORTSDIR}/devel/dbus-sharp-glib \
+BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-sharp-glib-1.0.pc:${PORTSDIR}/devel/dbus-sharp-glib \
mautil:${PORTSDIR}/devel/mono-addins
-RUN_DEPENDS= ${LOCALBASE}/lib/mono/gmime-sharp-2.4/gmime-sharp.dll:${PORTSDIR}/mail/gmime24-sharp \
- ${LOCALBASE}/libdata/pkgconfig/dbus-sharp-glib-1.0.pc:${PORTSDIR}/devel/dbus-sharp-glib \
+RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-sharp-glib-1.0.pc:${PORTSDIR}/devel/dbus-sharp-glib \
mautil:${PORTSDIR}/devel/mono-addins
USES= gettext gmake mono pathfix pkgconfig tar:xz
@@ -25,21 +23,16 @@ INSTALLS_ICONS= yes
INSTALLS_OMF= yes
USE_LDCONFIG= yes
-MAKE_JOBS_UNSAFE= yes
+MAKE_JOBS_UNSAFE=yes
-CONFIGURE_ARGS+=--enable-evolution=yes
-
-MAN1= tomboy.1
-GCONF_SCHEMAS= tomboy.schemas
-
-OPTIONS_DEFINE= APPLET
+OPTIONS_DEFINE= APPLET EVOLUTION
APPLET_DESC= Enable GNOME panel applet
+EVOLUTION_DESC= Build evolution addin
# Restrict to stable (even) versions, indicated by the second component.
PORTSCOUT= limitw:1,even
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
.if ${PORT_OPTIONS:MAPPLET}
CONFIGURE_ARGS+=--enable-panel-applet
@@ -49,6 +42,16 @@ CONFIGURE_ARGS+=--disable-panel-applet
PLIST_SUB+= APPLET="@comment "
.endif
+.if ${PORT_OPTIONS:MEVOLUTION}
+CONFIGURE_ARGS+=--enable-evolution
+BUILD_DEPENDS+= ${LOCALBASE}/lib/mono/gmime-sharp-2.6/gmime-sharp.dll:${PORTSDIR}/mail/gmime26-sharp
+RUN_DEPENDS+= ${LOCALBASE}/lib/mono/gmime-sharp-2.6/gmime-sharp.dll:${PORTSDIR}/mail/gmime26-sharp
+PLIST_SUB+= EVOLUTION=""
+.else
+CONFIGURE_ARGS+=--disable-evolution
+PLIST_SUB+= EVOLUTION="@comment"
+.endif
+
post-patch:
@${REINPLACE_CMD} 's|`$$PKG_CONFIG --variable=libdir libpanelapplet-2.0`|"$$libdir"|g; \
s|PANELAPPLET_SERVER_DIR="$$libdir|PANELAPPLET_SERVER_DIR="$$prefix/libdata|g; \
@@ -56,7 +59,5 @@ post-patch:
${WRKSRC}/configure
@${REINPLACE_CMD} 's|/bin/bash|/bin/sh|g' \
${WRKSRC}/Tomboy/tomboy*.in
- @${REINPLACE_CMD} 's|gmime-sharp|gmime-sharp-2.4|g' \
- ${WRKSRC}/configure
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>