summaryrefslogtreecommitdiffstats
path: root/deskutils/gnote/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/gnote/Makefile')
-rw-r--r--deskutils/gnote/Makefile58
1 files changed, 58 insertions, 0 deletions
diff --git a/deskutils/gnote/Makefile b/deskutils/gnote/Makefile
new file mode 100644
index 000000000..4920e4578
--- /dev/null
+++ b/deskutils/gnote/Makefile
@@ -0,0 +1,58 @@
+# New ports collection makefile for: gnote
+# Date created: 20 July 2009
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+#
+
+PORTNAME= gnote
+PORTVERSION= 0.5.3
+CATEGORIES= deskutils gnome
+MASTER_SITES= GNOME
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A port of Tomboy to C++, note taking application
+
+LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \
+ gtkspell.0:${PORTSDIR}/textproc/gtkspell \
+ boost_filesystem.4:${PORTSDIR}/devel/boost \
+ uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid
+
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomeprefix gconf2 intltool ltverhack
+USE_GETTEXT= yes
+INSTALLS_OMF= yes
+GCONF_SCHEMAS= gnote.schemas
+USE_AUTOTOOLS= libtool:22
+INSTALLS_ICONS= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ PANELAPPLET_LIBDIR="${PREFIX}/libdata"
+
+DOCS= AUTHORS COPYING ChangeLog NEWS README TODO
+MAN1= gnote.1
+
+.if !defined(WITHOUT_APPLET)
+LIB_DEPENDS+= panelappletmm-2.6:${PORTSDIR}/x11-toolkits/libpanelappletmm
+CONFIGURE_ARGS+=--enable-applet
+PLIST_SUB+= APPLET=""
+.else
+CONFIGURE_ARGS+=--disable-applet
+PLIST_SUB+= APPLET="@comment "
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/include/boost|${LOCALBASE}/include/boost|g' \
+ ${WRKSRC}/configure
+
+.ifndef (NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+.for i in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>