2005-05-16 08:39:55 +02:00
|
|
|
# New ports collection makefile for: tomboy
|
|
|
|
# Date created: 20041011
|
|
|
|
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tomboy
|
2013-01-11 09:32:19 +01:00
|
|
|
PORTVERSION= 1.12.2
|
2005-05-16 08:39:55 +02:00
|
|
|
CATEGORIES= deskutils gnome
|
2008-03-24 04:52:36 +01:00
|
|
|
MASTER_SITES= GNOME
|
2006-10-14 10:35:50 +02:00
|
|
|
DIST_SUBDIR= gnome2
|
2005-05-16 08:39:55 +02:00
|
|
|
|
2009-02-09 10:00:01 +01:00
|
|
|
MAINTAINER= mono@FreeBSD.org
|
2005-06-07 04:51:21 +02:00
|
|
|
COMMENT= Personal note taking system for the GNOME desktop
|
2005-05-16 08:39:55 +02:00
|
|
|
|
2007-02-05 00:10:52 +01:00
|
|
|
LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
|
2009-02-09 10:00:01 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/mono/gmime-sharp-2.4/gmime-sharp.dll:${PORTSDIR}/mail/gmime24-sharp \
|
2012-09-25 11:15:28 +02:00
|
|
|
${LOCALBASE}/libdata/pkgconfig/dbus-sharp-glib-1.0.pc:${PORTSDIR}/devel/dbus-sharp-glib \
|
2009-02-09 10:00:01 +01:00
|
|
|
mautil:${PORTSDIR}/devel/mono-addins
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/mono/gmime-sharp-2.4/gmime-sharp.dll:${PORTSDIR}/mail/gmime24-sharp \
|
2012-09-25 11:15:28 +02:00
|
|
|
${LOCALBASE}/libdata/pkgconfig/dbus-sharp-glib-1.0.pc:${PORTSDIR}/devel/dbus-sharp-glib \
|
2009-02-09 10:00:01 +01:00
|
|
|
mautil:${PORTSDIR}/devel/mono-addins
|
2005-05-16 08:39:55 +02:00
|
|
|
|
2012-09-25 11:15:28 +02:00
|
|
|
USE_XZ= yes
|
2013-04-24 20:10:30 +02:00
|
|
|
USES= gettext
|
2011-08-11 21:20:17 +02:00
|
|
|
USE_GNOME= gnomehack intlhack gnomeprefix gnomedesktopsharp20
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-05-16 08:39:55 +02:00
|
|
|
USE_GMAKE= yes
|
2006-10-14 10:35:50 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2006-11-17 02:18:43 +01:00
|
|
|
INSTALLS_OMF= yes
|
2009-06-22 09:55:50 +02:00
|
|
|
USE_LDCONFIG= yes
|
2005-05-16 08:39:55 +02:00
|
|
|
|
2010-09-30 19:58:41 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-evolution=yes
|
2005-05-16 08:39:55 +02:00
|
|
|
|
2005-05-30 08:33:17 +02:00
|
|
|
MAN1= tomboy.1
|
2005-05-16 08:39:55 +02:00
|
|
|
GCONF_SCHEMAS= tomboy.schemas
|
|
|
|
|
2013-01-11 10:06:47 +01:00
|
|
|
OPTIONS_DEFINE= APPLET
|
|
|
|
APPLET_DESC= Enable GNOME panel applet
|
2010-10-06 21:24:53 +02:00
|
|
|
|
2010-06-30 14:55:09 +02:00
|
|
|
# Restrict to stable (even) versions, indicated by the second component.
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
|
2006-02-19 07:30:47 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2013-01-11 10:06:47 +01:00
|
|
|
.if ${PORT_OPTIONS:MAPPLET}
|
2010-10-06 21:24:53 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-panel-applet
|
|
|
|
PLIST_SUB+= APPLET=""
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-panel-applet
|
|
|
|
PLIST_SUB+= APPLET="@comment "
|
|
|
|
.endif
|
|
|
|
|
2005-06-07 04:51:21 +02:00
|
|
|
post-patch:
|
2007-02-05 00:10:52 +01:00
|
|
|
@${REINPLACE_CMD} 's|`$$PKG_CONFIG --variable=libdir libpanelapplet-2.0`|"$$libdir"|g; \
|
2006-10-14 10:35:50 +02:00
|
|
|
s|PANELAPPLET_SERVER_DIR="$$libdir|PANELAPPLET_SERVER_DIR="$$prefix/libdata|g; \
|
|
|
|
s|PANELAPPLET_SERVER_DIR="$$PANELAPPLET_LIBDIR|PANELAPPLET_SERVER_DIR="$$prefix/libdata|g' \
|
2006-02-19 07:30:47 +01:00
|
|
|
${WRKSRC}/configure
|
2008-03-24 04:52:36 +01:00
|
|
|
@${REINPLACE_CMD} 's|/bin/bash|/bin/sh|g' \
|
|
|
|
${WRKSRC}/Tomboy/tomboy*.in
|
2009-02-09 10:00:01 +01:00
|
|
|
@${REINPLACE_CMD} 's|gmime-sharp|gmime-sharp-2.4|g' \
|
|
|
|
${WRKSRC}/configure
|
2006-02-19 07:30:47 +01:00
|
|
|
|
2012-09-25 11:15:28 +02:00
|
|
|
.include "${PORTSDIR}/lang/mono/bsd.mono.mk"
|
2006-02-19 07:30:47 +01:00
|
|
|
.include <bsd.port.post.mk>
|