aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deskutils/knowit/Makefile14
-rw-r--r--deskutils/knowit/distinfo4
-rw-r--r--deskutils/knowit/pkg-plist4
3 files changed, 13 insertions, 9 deletions
diff --git a/deskutils/knowit/Makefile b/deskutils/knowit/Makefile
index e502c5597235..50dc31239a12 100644
--- a/deskutils/knowit/Makefile
+++ b/deskutils/knowit/Makefile
@@ -8,8 +8,7 @@
#
PORTNAME= knowit
-PORTVERSION= 0.9
-PORTREVISION= 2
+PORTVERSION= 0.10
CATEGORIES= deskutils
MASTER_SITES= http://knowit.sourceforge.net/files/
@@ -18,12 +17,17 @@ COMMENT= A note manager with tree organization that uses RTF for storage
USE_BZIP2= yes
USE_KDELIBS_VER= 3
+USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-USE_REINPLACE= yes
+MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \
+ AUTOMAKE="${TRUE}"
+
+QTCPPFLAGS+= ${PTHREAD_CFLAGS}
+QTCFGLIBS+= ${PTHREAD_LIBS}
post-patch:
- @${REINPLACE_CMD} -e 's|-O2||g' -e 's|-lpthread|${PTHREAD_LIBS}|g' \
- ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|-O2||g ; \
+ s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/deskutils/knowit/distinfo b/deskutils/knowit/distinfo
index d8b37538ea49..e6bfc3bd38b8 100644
--- a/deskutils/knowit/distinfo
+++ b/deskutils/knowit/distinfo
@@ -1,2 +1,2 @@
-MD5 (knowit-0.9.tar.bz2) = 5df33443f93361a5719e6936444a7653
-SIZE (knowit-0.9.tar.bz2) = 488823
+MD5 (knowit-0.10.tar.bz2) = 27a42624f639770fc4f34777b51c5bbf
+SIZE (knowit-0.10.tar.bz2) = 548617
diff --git a/deskutils/knowit/pkg-plist b/deskutils/knowit/pkg-plist
index b05a535957db..abe49b03af34 100644
--- a/deskutils/knowit/pkg-plist
+++ b/deskutils/knowit/pkg-plist
@@ -9,13 +9,13 @@ share/doc/HTML/en/knowit/screenshot.png
share/icons/hicolor/16x16/apps/knowit.png
share/icons/hicolor/32x32/apps/knowit.png
share/locale/de/LC_MESSAGES/knowit.mo
+share/locale/es/LC_MESSAGES/knowit.mo
share/locale/fr/LC_MESSAGES/knowit.mo
share/locale/hu/LC_MESSAGES/knowit.mo
share/locale/pl/LC_MESSAGES/knowit.mo
share/locale/ru/LC_MESSAGES/knowit.mo
share/locale/sk/LC_MESSAGES/knowit.mo
-share/locale/zh_CN/LC_MESSAGES/knowit.mo
-share/mimelnk/application/x-knowit.desktop
+share/locale/zh_CN.GB2312/LC_MESSAGES/knowit.mo
@unexec rmdir %D/share/mimelnk/application 2>/dev/null || true
@unexec rmdir %D/share/mimelnk 2>/dev/null || true
@unexec rmdir %D/share/icons/hicolor/32x32/apps 2>/dev/null || true