openbsd-ports/x11/gnome/tomboy/Makefile
2010-12-06 16:47:06 +00:00

67 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.43 2010/12/06 16:47:06 jasper Exp $
COMMENT= desktop note-taking application written in C\#
GNOME_PROJECT= tomboy
GNOME_VERSION= 1.4.2
REVISION= 2
CATEGORIES= x11
# LGPLv2.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += ICE SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext
WANTLIB += Xfixes Xi Xinerama Xrandr Xrender atk-1.0 cairo expat
WANTLIB += fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gtk-x11-2.0
WANTLIB += m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += png pthread-stubs xcb z gthread-2.0 xcb-render
WANTLIB += GL Xxf86vm drm xcb-shm
MODULES= x11/gnome \
lang/mono \
devel/gettext \
devel/gconf2
DESKTOP_FILES= Yes
MODGNOME_HELP_FILES= Yes
MODGCONF2_SCHEMAS_DIR= tomboy
MODGCONF2_LIBDEP= No
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= devel/mono-addins \
sysutils/ndesk-dbus-glib \
x11/gnome/mono-gnome-desktop \
textproc/gtkspell \
misc/shared-mime-info \
x11/gnome/icon-theme \
mail/gmime24,-mono
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--disable-update-mimedb \
--disable-sketching \
--enable-panel-applet
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GROFF = Yes
# this is *.config.in on purpose (and not *.config)
DLLMAP_FILES= Tomboy/Tomboy.exe.config.in \
Tomboy/Addins/Bugzilla/BugzillaNoteAddin.cs \
Tomboy/Addins/Evolution/EvolutionNoteAddin.cs
# XXX ** (gnome-session:7425): WARNING **: Unable to find desktop file
# 'Tomboy.desktop': Valid key file could not be found in search dirs
post-install:
mv ${PREFIX}/share/applications/tomboy.desktop \
${PREFIX}/share/applications/Tomboy.desktop
.include <bsd.port.mk>