From b3f528b342bd462cba6416b413d5b0a86799c158 Mon Sep 17 00:00:00 2001 From: mezz Date: Sat, 2 Jun 2012 04:10:01 +0000 Subject: Update to 0.8.3. It uses GTK+3/panel 3. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16851 df743ca5-7f9a-e211-a948-0013205c9059 --- deskutils/gnote/Makefile | 65 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 deskutils/gnote/Makefile (limited to 'deskutils/gnote/Makefile') diff --git a/deskutils/gnote/Makefile b/deskutils/gnote/Makefile new file mode 100644 index 000000000..761e28320 --- /dev/null +++ b/deskutils/gnote/Makefile @@ -0,0 +1,65 @@ +# New ports collection makefile for: gnote +# Date created: 20 July 2009 +# Whom: Mezz +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= gnote +PORTVERSION= 0.8.3 +CATEGORIES= deskutils gnome +MASTER_SITES= GNOME + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A port of Tomboy to C++, note taking application + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= gtkmm-3.0:${PORTSDIR}/x11-toolkits/gtkmm30 \ + pcre.1:${PORTSDIR}/devel/pcre \ + boost_filesystem.4:${PORTSDIR}/devel/boost-libs \ + uuid.1:${PORTSDIR}/misc/e2fsprogs-libuuid + +USE_GMAKE= yes +USE_XZ= yes +USE_GNOME= gnomehack gnomeprefix gtk30 intltool libxml2 libxslt \ + ltverhack desktopfileutils gnomedocutils +USE_GETTEXT= yes +GLIB_SCHEMAS= org.gnome.gnote.gschema.xml +USE_AUTOTOOLS= libtool +INSTALLS_ICONS= yes +GNU_CONFIGURE= yes +CONFIGURE_ENV= PANELAPPLET_SERVER_DIR="${PREFIX}/libdata/bonobo/servers" +CPPFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib +CONFIGURE_ARGS= --with-dbus-service-dir=${PREFIX}/share/dbus-1/services +DOCS= AUTHORS ChangeLog NEWS README TODO +MAN1= gnote.1 + +.if !defined(WITHOUT_APPLET) +USE_GNOME+= gnomepanel3 +CONFIGURE_ARGS+=--enable-applet +PLIST_SUB+= APPLET="" +.else +CONFIGURE_ARGS+=--disable-applet +PLIST_SUB+= APPLET="@comment " +.endif + +PLIST_SUB+= VERSION=${PORTVERSION} + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/include/boost|${LOCALBASE}/include/boost|g' \ + ${WRKSRC}/configure + +post-install: + @-update-desktop-database +.ifndef (NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for i in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +.include -- cgit v1.2.3