[143192] trunk/dports/office
raimue at macports.org
raimue at macports.org
Sat Dec 12 08:56:48 PST 2015
Revision: 143192
https://trac.macports.org/changeset/143192
Author: raimue at macports.org
Date: 2015-12-07 02:12:19 -0800 (Mon, 07 Dec 2015)
Log Message:
-----------
office/tasksh:
New port, a shell command that wraps Taskwarrior commands
Added Paths:
-----------
trunk/dports/office/tasksh/
trunk/dports/office/tasksh/Portfile
trunk/dports/office/tasksh/files/
trunk/dports/office/tasksh/files/patch-readline.diff
Added: trunk/dports/office/tasksh/Portfile
===================================================================
--- trunk/dports/office/tasksh/Portfile (rev 0)
+++ trunk/dports/office/tasksh/Portfile 2015-12-07 10:12:19 UTC (rev 143192)
@@ -0,0 +1,35 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup cmake 1.0
+
+name tasksh
+version 1.0.0
+categories office
+platforms darwin
+license MIT
+maintainers nomaintainer
+
+description tasksh is a shell command that wraps Taskwarrior commands
+long_description ${description}. \
+ It is intended to provide simpler Taskwarrior access, and \
+ add a few new features of its own.
+
+homepage http://tasktools.org/projects/tasksh.html
+master_sites http://taskwarrior.org/download/
+
+checksums sha1 5fb9209ec1cafbbde4aa165f41ffb3aeba6faca8 \
+ rmd160 5268c813965f67ebcc9441d0686a9f9a21be8057 \
+ sha256 9accc81f5ae3a985e33be728d56aba0401889d21f856cd94734d73c221bf8652
+
+patchfiles patch-readline.diff
+
+post-patch {
+ reinplace -E "s,@@PREFIX@@,${prefix},g" ${worksrcpath}/cmake/Modules/FindReadline.cmake
+}
+
+depends_lib port:readline
+depends_run port:task
+
+cmake.out_of_source yes
Property changes on: trunk/dports/office/tasksh/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/office/tasksh/files/patch-readline.diff
===================================================================
--- trunk/dports/office/tasksh/files/patch-readline.diff (rev 0)
+++ trunk/dports/office/tasksh/files/patch-readline.diff 2015-12-07 10:12:19 UTC (rev 143192)
@@ -0,0 +1,42 @@
+--- cmake/Modules/FindReadline.cmake.orig 2015-12-07 11:04:57.000000000 +0100
++++ cmake/Modules/FindReadline.cmake 2015-12-07 11:05:32.000000000 +0100
+@@ -11,11 +11,7 @@
+ # So we look for another one by default
+ IF (APPLE OR FREEBSD)
+ FIND_PATH (READLINE_INCLUDE_DIR NAMES readline/readline.h PATHS
+- /usr/include/
+- /sw/include
+- /opt/local/include
+- /opt/include
+- /usr/local/include
++ @@PREFIX@@/include
+ NO_DEFAULT_PATH
+ )
+ ENDIF (APPLE OR FREEBSD)
+@@ -26,11 +22,7 @@
+ # So we look for another one by default
+ IF (APPLE OR FREEBSD)
+ FIND_LIBRARY (READLINE_readline_LIBRARY NAMES readline PATHS
+- /usr/lib
+- /sw/lib
+- /opt/local/lib
+- /opt/lib
+- /usr/local/lib
++ @@PREFIX@@/lib
+ NO_DEFAULT_PATH
+ )
+ ENDIF (APPLE OR FREEBSD)
+@@ -39,12 +31,7 @@
+ # Sometimes readline really needs ncurses
+ IF (APPLE OR FREEBSD)
+ FIND_LIBRARY (READLINE_ncurses_LIBRARY NAMES ncurses PATHS
+- /usr/lib
+- /sw/lib
+- /opt/local/lib
+- /opt/lib
+- /usr/local/lib
+- /usr/lib
++ @@PREFIX@@/lib
+ NO_DEFAULT_PATH
+ )
+ ENDIF (APPLE OR FREEBSD)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/14a0d340/attachment-0001.html>
More information about the macports-changes
mailing list