summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2017-10-12 14:38:48 +0900
committerNorbert Preining <norbert@preining.info>2017-10-12 14:38:48 +0900
commitc3c9858282c6566a6cf0e6036a0993c356672ed3 (patch)
tree8ad5f422884c6a7a9811da8153fd6deaf6f59d4b
parent10b9268179c14421f0c1b330a783f5c5ffc28ae3 (diff)
add ketcindy starter
l---------bin/amd64-freebsd/ketcindy1
l---------bin/amd64-netbsd/ketcindy1
l---------bin/armel-linux/ketcindy1
l---------bin/armhf-linux/ketcindy1
l---------bin/i386-cygwin/ketcindy1
l---------bin/i386-darwin/ketcindy1
l---------bin/i386-freebsd/ketcindy1
l---------bin/i386-linux/ketcindy1
l---------bin/i386-netbsd/ketcindy1
l---------bin/i386-solaris/ketcindy1
l---------bin/powerpc-darwin/ketcindy1
l---------bin/powerpc-linux/ketcindy1
l---------bin/sparc-solaris/ketcindy1
l---------bin/x86_64-cygwin/ketcindy1
l---------bin/x86_64-darwin/ketcindy1
l---------bin/x86_64-darwinlegacy/ketcindy1
l---------bin/x86_64-linux/ketcindy1
l---------bin/x86_64-solaris/ketcindy1
-rwxr-xr-xtexmf-dist/scripts/ketpic/ketcindy.sh38
-rw-r--r--tlpkg/tlpsrc/ketpic.tlpsrc1
20 files changed, 57 insertions, 0 deletions
diff --git a/bin/amd64-freebsd/ketcindy b/bin/amd64-freebsd/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/amd64-freebsd/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/amd64-netbsd/ketcindy b/bin/amd64-netbsd/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/amd64-netbsd/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/armel-linux/ketcindy b/bin/armel-linux/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/armel-linux/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/armhf-linux/ketcindy b/bin/armhf-linux/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/armhf-linux/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/i386-cygwin/ketcindy b/bin/i386-cygwin/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/i386-cygwin/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/i386-darwin/ketcindy b/bin/i386-darwin/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/i386-darwin/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/i386-freebsd/ketcindy b/bin/i386-freebsd/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/i386-freebsd/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/i386-linux/ketcindy b/bin/i386-linux/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/i386-linux/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/i386-netbsd/ketcindy b/bin/i386-netbsd/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/i386-netbsd/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/i386-solaris/ketcindy b/bin/i386-solaris/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/i386-solaris/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/powerpc-darwin/ketcindy b/bin/powerpc-darwin/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/powerpc-darwin/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/powerpc-linux/ketcindy b/bin/powerpc-linux/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/powerpc-linux/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/sparc-solaris/ketcindy b/bin/sparc-solaris/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/sparc-solaris/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/x86_64-cygwin/ketcindy b/bin/x86_64-cygwin/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/x86_64-cygwin/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/x86_64-darwin/ketcindy b/bin/x86_64-darwin/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/x86_64-darwin/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/x86_64-darwinlegacy/ketcindy b/bin/x86_64-darwinlegacy/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/x86_64-darwinlegacy/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/x86_64-linux/ketcindy b/bin/x86_64-linux/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/x86_64-linux/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/bin/x86_64-solaris/ketcindy b/bin/x86_64-solaris/ketcindy
new file mode 120000
index 00000000..c25f161b
--- /dev/null
+++ b/bin/x86_64-solaris/ketcindy
@@ -0,0 +1 @@
+../../texmf-dist/scripts/ketpic/ketcindy.sh \ No newline at end of file
diff --git a/texmf-dist/scripts/ketpic/ketcindy.sh b/texmf-dist/scripts/ketpic/ketcindy.sh
new file mode 100755
index 00000000..344cbb23
--- /dev/null
+++ b/texmf-dist/scripts/ketpic/ketcindy.sh
@@ -0,0 +1,38 @@
+#!/bin/sh
+#
+# KETCindy starter script
+#
+
+BinaryName=Cinderella2
+TemplateFile=template.cdy
+
+if [ "$1" = "-c" ]
+then
+ shift
+ cinderella="$1"
+else
+ cinderella=`which $BinaryName 2>/dev/null`
+fi
+
+if [ -z "$cinderella" ]
+then
+ echo "Cannot find $BinaryName!" >&2
+ exit 1
+fi
+
+if [ ! -x "$cinderella" ] ; then
+ echo "Program $cinderella is not executable!" >&2
+ exit 1
+fi
+
+# search for template.cdy
+TempCdy=`kpsewhich -format=texmfscripts $TemplateFile`
+
+if [ -z "$TempCdy" ]
+then
+ echo "Cannot find $TemplateFile via kpsewhich, is ketpic installed?" >&2
+ exit 1
+fi
+
+exec "$cinderella" "$TempCdy"
+
diff --git a/tlpkg/tlpsrc/ketpic.tlpsrc b/tlpkg/tlpsrc/ketpic.tlpsrc
index e69de29b..403a3ef6 100644
--- a/tlpkg/tlpsrc/ketpic.tlpsrc
+++ b/tlpkg/tlpsrc/ketpic.tlpsrc
@@ -0,0 +1 @@
+binpattern f bin/${ARCH}/ketcindy