aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/s5/Makefile36
-rw-r--r--textproc/s5/distinfo2
-rw-r--r--textproc/s5/files/s5-blank.sh13
-rw-r--r--textproc/s5/pkg-descr10
-rw-r--r--textproc/s5/pkg-plist69
6 files changed, 131 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 76214789f45..f8f2398f3c9 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -665,6 +665,7 @@
SUBDIR += rubygem-syntax
SUBDIR += rw-aspell
SUBDIR += rxp
+ SUBDIR += s5
SUBDIR += sablotron
SUBDIR += sagasu
SUBDIR += sarep
diff --git a/textproc/s5/Makefile b/textproc/s5/Makefile
new file mode 100644
index 00000000000..94fbf38c5b1
--- /dev/null
+++ b/textproc/s5/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: s5
+# Date created: 28 October 2005
+# Whom: Peter Pentchev <roam@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= s5
+PORTVERSION= 1.1
+CATEGORIES= textproc
+MASTER_SITES= http://www.meyerweb.com/eric/tools/s5/v/${PORTVERSION}/
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
+
+MAINTAINER= roam@FreeBSD.org
+COMMENT= A simple HTML-based presentation system
+
+USE_ZIP= yes
+WRKSRC= ${WRKDIR}
+
+S5_DIR= ${PREFIX}/share/${PORTNAME}
+S5_SUBDIRS= pix primer s5-blank ui
+
+do-build:
+ cd ${WRKSRC} && ${UNZIP_CMD} s5-blank.zip
+ ${SED} -e "s,/usr/local,${PREFIX}," ${FILESDIR}/s5-blank.sh > ${WRKDIR}/s5-blank.sh
+
+do-install:
+ ${MKDIR} ${S5_DIR}
+ ${CP} ${WRKDIR}/*.html ${S5_DIR}/
+ ${FIND} ${WRKDIR} -type f -name .DS_Store -delete
+.for i in ${S5_SUBDIRS}
+ ${CP} -Rp ${WRKDIR}/$i/ ${S5_DIR}/$i/
+.endfor
+ ${INSTALL_SCRIPT} ${WRKDIR}/s5-blank.sh ${PREFIX}/bin/s5-blank
+
+.include <bsd.port.mk>
diff --git a/textproc/s5/distinfo b/textproc/s5/distinfo
new file mode 100644
index 00000000000..0be69136b65
--- /dev/null
+++ b/textproc/s5/distinfo
@@ -0,0 +1,2 @@
+MD5 (s5-11.zip) = 72917fb7fa16484bc06b556583bc6804
+SIZE (s5-11.zip) = 487964
diff --git a/textproc/s5/files/s5-blank.sh b/textproc/s5/files/s5-blank.sh
new file mode 100644
index 00000000000..553fbe24fee
--- /dev/null
+++ b/textproc/s5/files/s5-blank.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+if [ -z "$1" ]; then
+ echo 'Usage: s5-blank dirname'
+ exit 1
+fi
+if [ -e "$1" ] && ! [ -d "$1/" ]; then
+ echo "Not a directory: $1"
+ exit 1
+fi
+
+[ ! -e "$1" ] && mkdir -p "$1"
+cp -Rpv /usr/local/share/s5/s5-blank/ "$1"/
diff --git a/textproc/s5/pkg-descr b/textproc/s5/pkg-descr
new file mode 100644
index 00000000000..7b5c9a7d1c8
--- /dev/null
+++ b/textproc/s5/pkg-descr
@@ -0,0 +1,10 @@
+What Is S5?
+
+ * It's a Simple Standards-based Slide Show System
+ * One XHTML document provides all of the slide show's content
+ * CSS handles the layout and look of the slides
+ * JavaScript handles the dynamic aspects of the show
+ * That's all there is to it!
+
+Author: Eric Meyer <eric@meyerweb.com>
+WWW: http://www.meyerweb.com/eric/tools/s5/
diff --git a/textproc/s5/pkg-plist b/textproc/s5/pkg-plist
new file mode 100644
index 00000000000..e51cc779ede
--- /dev/null
+++ b/textproc/s5/pkg-plist
@@ -0,0 +1,69 @@
+bin/s5-blank
+%%DATADIR%%/features.html
+%%DATADIR%%/filemap.html
+%%DATADIR%%/pix/mememe01.png
+%%DATADIR%%/pix/mememe02.png
+%%DATADIR%%/pix/mememe03.png
+%%DATADIR%%/pix/mememe04.png
+%%DATADIR%%/pix/mememe05.png
+%%DATADIR%%/pix/S501.jpg
+%%DATADIR%%/pix/S502.jpg
+%%DATADIR%%/pix/S503.jpg
+%%DATADIR%%/pix/S504.jpg
+%%DATADIR%%/pix/s5filemap.png
+%%DATADIR%%/primer/s5-primer01.png
+%%DATADIR%%/primer/s5-primer02.png
+%%DATADIR%%/primer/s5-primer03.png
+%%DATADIR%%/primer/s5-primer04.png
+%%DATADIR%%/primer/s5-primer05.png
+%%DATADIR%%/primer/s5-primer06.png
+%%DATADIR%%/primer/s5-primer07.png
+%%DATADIR%%/primer.html
+%%DATADIR%%/s5-blank.html
+%%DATADIR%%/s5-demo.html
+%%DATADIR%%/s5-intro.html
+%%DATADIR%%/structure-min.html
+%%DATADIR%%/structure-ref.html
+%%DATADIR%%/ui/default/blank.gif
+%%DATADIR%%/ui/default/bodybg.gif
+%%DATADIR%%/ui/default/framing.css
+%%DATADIR%%/ui/default/iepngfix.htc
+%%DATADIR%%/ui/default/opera.css
+%%DATADIR%%/ui/default/outline.css
+%%DATADIR%%/ui/default/pretty.css
+%%DATADIR%%/ui/default/print.css
+%%DATADIR%%/ui/default/s5-core.css
+%%DATADIR%%/ui/default/slides.css
+%%DATADIR%%/ui/default/slides.js
+%%DATADIR%%/ui/i18n/00_head.txt
+%%DATADIR%%/ui/i18n/bg-shade.png
+%%DATADIR%%/ui/i18n/bg-slide.jpg
+%%DATADIR%%/ui/i18n/framing.css
+%%DATADIR%%/ui/i18n/pretty.css
+%%DATADIR%%/ui/i18n/s5-core.css
+%%DATADIR%%/ui/i18n/slides.css
+%%DATADIR%%/xoxo-s5-demo.html
+%%DATADIR%%/xoxo-s5-intro.html
+%%DATADIR%%/xoxo-structure-min.html
+%%DATADIR%%/xoxo-structure-ref.html
+%%DATADIR%%/s5-blank/s5-blank.html
+%%DATADIR%%/s5-blank/ui/default/blank.gif
+%%DATADIR%%/s5-blank/ui/default/bodybg.gif
+%%DATADIR%%/s5-blank/ui/default/framing.css
+%%DATADIR%%/s5-blank/ui/default/iepngfix.htc
+%%DATADIR%%/s5-blank/ui/default/opera.css
+%%DATADIR%%/s5-blank/ui/default/outline.css
+%%DATADIR%%/s5-blank/ui/default/pretty.css
+%%DATADIR%%/s5-blank/ui/default/print.css
+%%DATADIR%%/s5-blank/ui/default/s5-core.css
+%%DATADIR%%/s5-blank/ui/default/slides.css
+%%DATADIR%%/s5-blank/ui/default/slides.js
+@dirrm %%DATADIR%%/pix
+@dirrm %%DATADIR%%/primer
+@dirrm %%DATADIR%%/s5-blank/ui/default
+@dirrm %%DATADIR%%/s5-blank/ui
+@dirrm %%DATADIR%%/s5-blank
+@dirrm %%DATADIR%%/ui/default
+@dirrm %%DATADIR%%/ui/i18n
+@dirrm %%DATADIR%%/ui
+@dirrm %%DATADIR%%