2005-05-16 06:39:55 +00:00
|
|
|
# New ports collection makefile for: tomboy
|
|
|
|
# Date created: 20041011
|
|
|
|
# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2007-10-23 03:34:22 +00:00
|
|
|
# $Id: Makefile,v 1.49 2007/09/20 15:16:43 killfill Exp $
|
2005-05-16 06:39:55 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tomboy
|
2009-02-09 09:00:01 +00:00
|
|
|
PORTVERSION= 0.12.2
|
2005-05-16 06:39:55 +00:00
|
|
|
CATEGORIES= deskutils gnome
|
2008-03-24 03:52:36 +00:00
|
|
|
MASTER_SITES= GNOME
|
2006-10-14 08:35:50 +00:00
|
|
|
DIST_SUBDIR= gnome2
|
2005-05-16 06:39:55 +00:00
|
|
|
|
2009-02-09 09:00:01 +00:00
|
|
|
MAINTAINER= mono@FreeBSD.org
|
2005-06-07 02:51:21 +00:00
|
|
|
COMMENT= Personal note taking system for the GNOME desktop
|
2005-05-16 06:39:55 +00:00
|
|
|
|
2007-02-04 23:10:52 +00:00
|
|
|
LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
|
2009-02-09 09:00:01 +00:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/mono/gmime-sharp-2.4/gmime-sharp.dll:${PORTSDIR}/mail/gmime24-sharp \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/ndesk-dbus-glib-1.0.pc:${PORTSDIR}/devel/ndesk-dbus-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/ndesk-dbus-glib-1.0.pc:${PORTSDIR}/devel/ndesk-dbus-glib \
|
|
|
|
mautil:${PORTSDIR}/devel/mono-addins
|
2005-05-16 06:39:55 +00:00
|
|
|
|
2006-10-14 08:35:50 +00:00
|
|
|
USE_BZIP2= yes
|
2006-11-17 01:18:43 +00:00
|
|
|
USE_GETTEXT= yes
|
2009-02-09 09:00:01 +00:00
|
|
|
USE_GNOME= gnomehack gnometarget intlhack gnomeprefix gnomedesktopsharp20
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-05-16 06:39:55 +00:00
|
|
|
USE_GMAKE= yes
|
2006-10-14 08:35:50 +00:00
|
|
|
INSTALLS_ICONS= yes
|
2006-11-17 01:18:43 +00:00
|
|
|
INSTALLS_OMF= yes
|
2005-05-16 06:39:55 +00:00
|
|
|
|
2007-02-04 23:10:52 +00:00
|
|
|
CONFIGURE_ARGS+=--enable-evolution=yes \
|
|
|
|
--enable-dbus=yes \
|
2007-10-23 03:34:22 +00:00
|
|
|
--enable-dbus-service-dir-check=no \
|
|
|
|
--with-dbus-service-dir=${PREFIX}/share/dbus-1/services
|
2005-05-16 06:39:55 +00:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
2007-02-04 23:10:52 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib" \
|
|
|
|
DBUS_SERVICE_DIR="${PREFIX}/share/dbus-1/services"
|
2005-05-16 06:39:55 +00:00
|
|
|
|
2005-05-30 06:33:17 +00:00
|
|
|
MAN1= tomboy.1
|
2005-05-16 06:39:55 +00:00
|
|
|
GCONF_SCHEMAS= tomboy.schemas
|
|
|
|
|
2006-02-19 06:30:47 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2005-06-07 02:51:21 +00:00
|
|
|
post-patch:
|
2007-02-04 23:10:52 +00:00
|
|
|
@${REINPLACE_CMD} 's|`$$PKG_CONFIG --variable=libdir libpanelapplet-2.0`|"$$libdir"|g; \
|
2006-10-14 08:35:50 +00: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 06:30:47 +00:00
|
|
|
${WRKSRC}/configure
|
2008-03-24 03:52:36 +00:00
|
|
|
@${REINPLACE_CMD} 's|/bin/bash|/bin/sh|g' \
|
|
|
|
${WRKSRC}/Tomboy/tomboy*.in
|
2009-02-09 09:00:01 +00:00
|
|
|
@${REINPLACE_CMD} 's|gmime-sharp|gmime-sharp-2.4|g' \
|
|
|
|
${WRKSRC}/configure
|
2006-02-19 06:30:47 +00:00
|
|
|
|
2005-11-10 04:58:06 +00:00
|
|
|
.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
|
2006-02-19 06:30:47 +00:00
|
|
|
.include <bsd.port.post.mk>
|