summaryrefslogtreecommitdiffstats
path: root/deskutils/gnote/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-31 05:45:00 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2013-10-31 05:45:00 +0800
commit7d96c56a772fbf529f6a835f9b45d6bbf7a624b8 (patch)
treea6a58a3f6d5ae80711cfdfeb9a546b4fd7b58aab /deskutils/gnote/Makefile
parent9f1704a2c9d8493effed1fc5c311ad776e86a855 (diff)
downloadmarcuscom-ports-7d96c56a772fbf529f6a835f9b45d6bbf7a624b8.tar
marcuscom-ports-7d96c56a772fbf529f6a835f9b45d6bbf7a624b8.tar.gz
marcuscom-ports-7d96c56a772fbf529f6a835f9b45d6bbf7a624b8.tar.bz2
marcuscom-ports-7d96c56a772fbf529f6a835f9b45d6bbf7a624b8.tar.lz
marcuscom-ports-7d96c56a772fbf529f6a835f9b45d6bbf7a624b8.tar.xz
marcuscom-ports-7d96c56a772fbf529f6a835f9b45d6bbf7a624b8.tar.zst
marcuscom-ports-7d96c56a772fbf529f6a835f9b45d6bbf7a624b8.zip
Update to 3.10.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@18836 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'deskutils/gnote/Makefile')
-rw-r--r--deskutils/gnote/Makefile29
1 files changed, 7 insertions, 22 deletions
diff --git a/deskutils/gnote/Makefile b/deskutils/gnote/Makefile
index ecef0c18e..ed0e3986b 100644
--- a/deskutils/gnote/Makefile
+++ b/deskutils/gnote/Makefile
@@ -2,7 +2,7 @@
# $MCom: ports/trunk/deskutils/gnote/Makefile 18610 2013-06-30 16:33:05Z marcus $
PORTNAME= gnote
-PORTVERSION= 0.8.3
+PORTVERSION= 3.10.1
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME
@@ -12,11 +12,12 @@ COMMENT= C++ version of Tomboy, note taking application
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
+BUILD_DEPENDS= itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
libboost_filesystem.so:${PORTSDIR}/devel/boost-libs \
+ libsecret-1.so:${PORTSDIR}/security/libsecret \
libuuid.so:${PORTSDIR}/misc/e2fsprogs-libuuid
-NO_STAGE= yes
USE_XZ= yes
USE_GNOME= gnomeprefix gtk30 intltool libxml2 libxslt \
ltverhack gnomedocutils gtkmm30
@@ -25,39 +26,23 @@ 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
-
-OPTIONS_DEFINE= APPLET
-APPLET_DESC= Build the gnome3 applet
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MAPPLET}
-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:
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${DOCS}
- @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnote-${PORTVERSION:R}.so.0
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/gnote/addins/${PORTVERSION}/*.so
.include <bsd.port.mk>