mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
c8903f1219
With hat: portmgr
63 lines
1.9 KiB
Makefile
63 lines
1.9 KiB
Makefile
# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tomboy
|
|
PORTVERSION= 1.12.2
|
|
CATEGORIES= deskutils gnome
|
|
MASTER_SITES= GNOME
|
|
DIST_SUBDIR= gnome2
|
|
|
|
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 \
|
|
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 \
|
|
mautil:${PORTSDIR}/devel/mono-addins
|
|
|
|
USES= gettext gmake mono pathfix pkgconfig tar:xz
|
|
USE_GNOME= intlhack gnomeprefix gnomedesktopsharp20
|
|
GNU_CONFIGURE= yes
|
|
INSTALLS_ICONS= yes
|
|
INSTALLS_OMF= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CONFIGURE_ARGS+=--enable-evolution=yes
|
|
|
|
MAN1= tomboy.1
|
|
GCONF_SCHEMAS= tomboy.schemas
|
|
|
|
OPTIONS_DEFINE= APPLET
|
|
APPLET_DESC= Enable GNOME panel applet
|
|
|
|
# Restrict to stable (even) versions, indicated by the second component.
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MAPPLET}
|
|
CONFIGURE_ARGS+=--enable-panel-applet
|
|
PLIST_SUB+= APPLET=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-panel-applet
|
|
PLIST_SUB+= APPLET="@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; \
|
|
s|PANELAPPLET_SERVER_DIR="$$PANELAPPLET_LIBDIR|PANELAPPLET_SERVER_DIR="$$prefix/libdata|g' \
|
|
${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>
|