1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/deskutils/tomboy/Makefile
Tijl Coosemans 553ce7bd8e - Update devel/gmake to 4.2.
- deskutils/tomboy, devel/ocaml-deriving-ocsigen: patch Makefile bug.
- games/0ad: disable make jobs when building bundled Spidermonkey.

PR:		209868
Exp-run by:	antoine
Approved by:	portmgr (antoine)
2016-06-05 14:35:02 +00:00

58 lines
1.6 KiB
Makefile

# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
# $FreeBSD$
PORTNAME= tomboy
PORTVERSION= 1.15.4
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
MAINTAINER= mono@FreeBSD.org
COMMENT= Personal note taking system for the GNOME desktop
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgtkspell.so:textproc/gtkspell
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-sharp-glib-1.0.pc:devel/dbus-sharp-glib \
mautil:devel/mono-addins
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/dbus-sharp-glib-1.0.pc:devel/dbus-sharp-glib \
mautil:devel/mono-addins
USES= cpe gettext gmake libtool mono pathfix pkgconfig tar:xz
USE_GNOME= intlhack gnomeprefix gnomedocutils gnomesharp20
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
INSTALLS_OMF= yes
USE_LDCONFIG= yes
GCONF_SCHEMAS= tomboy.schemas
CPE_VENDOR= gnome
MAKE_JOBS_UNSAFE=yes
OPTIONS_DEFINE= EVOLUTION
EVOLUTION_DESC= Build evolution addin
# Restrict to stable (even) versions, indicated by the second component.
PORTSCOUT= limitw:1,even
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MEVOLUTION}
CONFIGURE_ARGS+=--enable-evolution
BUILD_DEPENDS+= ${LOCALBASE}/lib/mono/gmime-sharp-2.6/gmime-sharp.dll:mail/gmime26-sharp
RUN_DEPENDS+= ${LOCALBASE}/lib/mono/gmime-sharp-2.6/gmime-sharp.dll:mail/gmime26-sharp
PLIST_SUB+= EVOLUTION=""
.else
CONFIGURE_ARGS+=--disable-evolution
PLIST_SUB+= EVOLUTION="@comment "
.endif
post-patch:
@${REINPLACE_CMD} 's|/bin/bash|/bin/sh|g' \
${WRKSRC}/Tomboy/tomboy*.in
@${REINPLACE_CMD} 's/(TARGET_NAME$$)/(TARGET_NAME)/' \
${WRKSRC}/Tomboy/Makefile.in
.include <bsd.port.mk>