summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2015-08-31 00:18:32 +0000
committerkhorben <khorben@pkgsrc.org>2015-08-31 00:18:32 +0000
commit56065984e13618f65c663d96ba496875682ba882 (patch)
tree355b7486102ff76e32bcd8c4dee5a76f2547cfb3 /time
parent4f406356e2675c97c5dbb1696096a4c98ad1eddb (diff)
downloadpkgsrc-56065984e13618f65c663d96ba496875682ba882.tar.gz
Package DeforaOS Todo 0.2.0
This release brings: - re-licensed as 2-clause BSD - code refactoring - support for multi-line descriptions - additional bugfixes and improvements - plug-in for DeforaOS Mailer - manual page - Spanish translation
Diffstat (limited to 'time')
-rw-r--r--time/deforaos-todo/Makefile32
-rw-r--r--time/deforaos-todo/PLIST8
-rw-r--r--time/deforaos-todo/distinfo9
-rw-r--r--time/deforaos-todo/patches/patch-tools_Makefile17
4 files changed, 52 insertions, 14 deletions
diff --git a/time/deforaos-todo/Makefile b/time/deforaos-todo/Makefile
index 3863b42f0ce..8085388d3b7 100644
--- a/time/deforaos-todo/Makefile
+++ b/time/deforaos-todo/Makefile
@@ -1,28 +1,44 @@
-# $NetBSD: Makefile,v 1.12 2015/08/09 15:22:22 khorben Exp $
-#
+# $NetBSD: Makefile,v 1.13 2015/08/31 00:18:32 khorben Exp $
-DISTNAME= Todo-0.1.2
-PKGNAME= deforaos-todo-0.1.2
-PKGREVISION= 9
+DISTNAME= Todo-0.2.0
+PKGNAME= deforaos-todo-0.2.0
CATEGORIES= time
-MASTER_SITES= http://www.defora.org/os/download/download/3506/
+MASTER_SITES= http://www.defora.org/os/download/download/4370/
MAINTAINER= khorben@defora.org
HOMEPAGE= http://www.defora.org/
COMMENT= DeforaOS desktop todo list
-LICENSE= gnu-gpl-v3
+LICENSE= 2-clause-bsd
-USE_TOOLS+= pkg-config xgettext
+USE_TOOLS+= pkg-config
+USE_TOOLS+= xgettext
+
+BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
+BUILD_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
MAKE_FLAGS+= DESTDIR=${DESTDIR}
MAKE_FLAGS+= PREFIX=${PREFIX}
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
+AUTO_MKDIRS= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${PKGMANDIR} != "share/man"
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/share/man/html1/todo.html ${DESTDIR}${PREFIX}/${PKGMANDIR}/html1/todo.html
+ ${MV} ${DESTDIR}${PREFIX}/share/man/man1/todo.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/todo.1
+ ${RMDIR} ${DESTDIR}${PREFIX}/share/man/html1
+ ${RMDIR} ${DESTDIR}${PREFIX}/share/man/man1
+ ${RMDIR} ${DESTDIR}${PREFIX}/share/man
+.endif
.include "options.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/deforaos-libdesktop/buildlink3.mk"
+.include "../../mail/deforaos-mailer/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/time/deforaos-todo/PLIST b/time/deforaos-todo/PLIST
index 36d471dfb7a..15e946b451c 100644
--- a/time/deforaos-todo/PLIST
+++ b/time/deforaos-todo/PLIST
@@ -1,7 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2012/12/17 02:05:05 khorben Exp $
+@comment $NetBSD: PLIST,v 1.2 2015/08/31 00:18:32 khorben Exp $
bin/todo
-share/applications/todo.desktop
+lib/Mailer/plugins/todo.so
+man/html1/todo.html
+man/man1/todo.1
+share/applications/deforaos-todo.desktop
share/icons/hicolor/16x16/apps/todo.png
share/icons/hicolor/24x24/apps/todo.png
share/icons/hicolor/48x48/apps/todo.png
+share/locale/es/LC_MESSAGES/Todo.mo
share/locale/fr/LC_MESSAGES/Todo.mo
diff --git a/time/deforaos-todo/distinfo b/time/deforaos-todo/distinfo
index 48dbe0f1a2a..1c4318002bb 100644
--- a/time/deforaos-todo/distinfo
+++ b/time/deforaos-todo/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2012/12/17 02:05:05 khorben Exp $
+$NetBSD: distinfo,v 1.2 2015/08/31 00:18:32 khorben Exp $
-SHA1 (Todo-0.1.2.tar.gz) = 4a9c006720a984caf4d281d4d84c007d3719426a
-RMD160 (Todo-0.1.2.tar.gz) = 636c726d6f9c55f353159aefb742292c79c84f06
-Size (Todo-0.1.2.tar.gz) = 33195 bytes
+SHA1 (Todo-0.2.0.tar.gz) = 187455d50b238ca726ee035d0aedb2b23c887198
+RMD160 (Todo-0.2.0.tar.gz) = eda6ff5662384b45645f37bf1bbc05f5bd120400
+Size (Todo-0.2.0.tar.gz) = 27861 bytes
+SHA1 (patch-tools_Makefile) = 1a805aef9fad94a5420edf75001b218393f19e57
diff --git a/time/deforaos-todo/patches/patch-tools_Makefile b/time/deforaos-todo/patches/patch-tools_Makefile
new file mode 100644
index 00000000000..62d0c637241
--- /dev/null
+++ b/time/deforaos-todo/patches/patch-tools_Makefile
@@ -0,0 +1,17 @@
+$NetBSD: patch-tools_Makefile,v 1.1 2015/08/31 00:18:33 khorben Exp $
+
+Fix build with LDFLAGS set.
+
+--- tools/Makefile.orig 2015-08-31 00:01:33.000000000 +0000
++++ tools/Makefile
+@@ -6,8 +6,8 @@ LIBDIR = $(PREFIX)/lib
+ CC = cc
+ CPPFLAGSF=
+ CPPFLAGS=
+-CFLAGSF = `pkg-config --cflags libDesktop Mailer`
+-CFLAGS = -W -Wall -g -O2 -pedantic -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-all
++CFLAGSF = `pkg-config --cflags libDesktop Mailer` -fPIC
++CFLAGS = -W -Wall -g -O2 -pedantic -D_FORTIFY_SOURCE=2 -fstack-protector-all
+ LDFLAGSF= `pkg-config --libs libDesktop`
+ AR = ar
+ RANLIB = ranlib