Misc Updates (#1)

This commit is contained in:
Matthew Ryan Dillon 2019-02-12 10:15:47 -07:00 committed by GitHub
parent d7ae1db223
commit 8d16ed159b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 770 additions and 157 deletions

2
ports/PortIndex Normal file
View file

@ -0,0 +1,2 @@
tasksh 545
variants {debug universal} depends_build path:bin/cmake:cmake portdir office/tasksh description {tasksh is a shell command that wraps Taskwarrior commands} homepage http://tasktools.org/projects/tasksh.html depends_run port:task epoch 0 platforms darwin name tasksh depends_lib port:readline maintainers nomaintainer license MIT long_description {{tasksh is a shell command that wraps Taskwarrior commands.} It is intended to provide simpler Taskwarrior access, and add a few new features of its own.} categories office version 1.2.0 revision 1

1
ports/PortIndex.quick Normal file
View file

@ -0,0 +1 @@
tasksh 0

View file

@ -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
PortSystem 1.0
PortGroup cmake 1.0
name tasksh
version 1.2.0
revision 1
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 f3171552d30e811227607816e7c9638afd7b6d71 \
rmd160 2aa4b5480f3b63a50d79df80bafc275bf2ee2ea7 \
sha256 6e42f949bfd7fbdde4870af0e7b923114cc96c4344f82d9d924e984629e21ffd
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

View file

@ -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)