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$
|
2006-02-19 06:30:47 +00:00
|
|
|
# $Id: Makefile,v 1.22 2006/02/16 02:44:45 tmclau02 Exp $
|
2005-05-16 06:39:55 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tomboy
|
2006-02-19 06:30:47 +00:00
|
|
|
PORTVERSION= 0.3.5
|
2006-06-29 02:09:33 +00:00
|
|
|
PORTREVISION= 5
|
2005-05-16 06:39:55 +00:00
|
|
|
CATEGORIES= deskutils gnome
|
|
|
|
MASTER_SITES= http://www.beatniksoftware.com/tomboy/releases/
|
|
|
|
|
2005-09-20 01:00:40 +00:00
|
|
|
MAINTAINER= bsd-sharp-list@forge.novell.com
|
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
|
|
|
|
2006-05-28 15:54:10 +00:00
|
|
|
LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
|
2005-09-29 03:43:25 +00:00
|
|
|
BUILD_DEPENDS= gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp10 \
|
2005-05-16 06:39:55 +00:00
|
|
|
${LOCALBASE}/lib/mono/dbus-sharp/dbus-sharp.dll:${PORTSDIR}/devel/dbus-sharp
|
2005-09-29 03:43:25 +00:00
|
|
|
RUN_DEPENDS= gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp10 \
|
2005-06-07 02:51:21 +00:00
|
|
|
${LOCALBASE}/lib/mono/dbus-sharp/dbus-sharp.dll:${PORTSDIR}/devel/dbus-sharp
|
2005-05-16 06:39:55 +00:00
|
|
|
|
2005-05-30 06:33:17 +00:00
|
|
|
USE_GNOME= gnomehack gnometarget intltool gnomeprefix gnomepanel
|
2005-05-16 06:39:55 +00:00
|
|
|
USE_X_PREFIX= yes
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-05-16 06:39:55 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
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>
|
|
|
|
|
|
|
|
# Tomboy's Evolution plugin relies on gmime# and not evo# according to
|
|
|
|
# configure. Enable if either evo or gmime# is installed.
|
|
|
|
.if defined (WITH_EVOLUTION) || exists (${X11BASE}/bin/evolution) || exists (${LOCALBASE}/lib/mono/gmime-sharp/gmime-sharp.dll)
|
|
|
|
CONFIGURE_ARGS+= --enable-evolution=yes
|
2006-08-15 00:12:55 +00:00
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/mono/gmime-sharp/gmime-sharp.dll:${PORTSDIR}/mail/gmime2-sharp
|
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/lib/mono/gmime-sharp/gmime-sharp.dll:${PORTSDIR}/mail/gmime2-sharp
|
2006-02-19 06:30:47 +00:00
|
|
|
PLIST_SUB+= EVO:=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= EVO:="@comment "
|
|
|
|
.endif
|
|
|
|
|
2005-06-07 02:51:21 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|(libdir)/dbus-1.0|(prefix)/share/dbus-1|g' \
|
|
|
|
${WRKSRC}/data/Makefile.in
|
2006-02-19 06:30:47 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|`$$PKG_CONFIG --variable=libdir libpanelapplet-2.0`|"$$libdir"|g; \
|
|
|
|
s|PANELAPPLET_SERVER_DIR="$$libdir|PANELAPPLET_SERVER_DIR="$$prefix/libdata|g' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL} ${COPY} ${_BINOWNGRP} -m ${BINMODE} ${WRKSRC}/Tomboy/Plugins/FixedWidth.dll ${PREFIX}/lib/tomboy/Plugins
|
|
|
|
${INSTALL} ${COPY} ${_BINOWNGRP} -m ${BINMODE} ${WRKSRC}/Tomboy/Plugins/NoteOfTheDay.dll ${PREFIX}/lib/tomboy/Plugins
|
2005-06-07 02:51:21 +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>
|