aboutsummaryrefslogtreecommitdiffstats
path: root/misc/xsw
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-03-31 02:13:51 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-03-31 02:13:51 +0800
commit5e39ae538009298dc811bca3e468ab97507aba6c (patch)
treefe42fe03cc3f3927b69b3fc539cc49acc7562084 /misc/xsw
parent013b949e5b03acb8bb7d30a04d1a3afdd75918b0 (diff)
downloadfreebsd-ports-gnome-5e39ae538009298dc811bca3e468ab97507aba6c.tar.gz
freebsd-ports-gnome-5e39ae538009298dc811bca3e468ab97507aba6c.tar.zst
freebsd-ports-gnome-5e39ae538009298dc811bca3e468ab97507aba6c.zip
xsw is a tool for generating presentations.
It uses a simple language to describe the slides. An example xsw file is: slide: - "Hello" x:50 y:30 align:center + "World!" WWW: http://code.google.com/xsw/ PR: 144841 Submitted by: Charlie Kester <corky1951@comcast.net>
Diffstat (limited to 'misc/xsw')
-rw-r--r--misc/xsw/Makefile61
-rw-r--r--misc/xsw/distinfo3
-rw-r--r--misc/xsw/pkg-descr10
-rw-r--r--misc/xsw/pkg-plist30
4 files changed, 104 insertions, 0 deletions
diff --git a/misc/xsw/Makefile b/misc/xsw/Makefile
new file mode 100644
index 000000000000..d78e9cd419eb
--- /dev/null
+++ b/misc/xsw/Makefile
@@ -0,0 +1,61 @@
+# ex:ts=8
+# Ports collection makefile for: xsw
+# Date created: 17 Mar 2010
+# Whom: corky1951@comcast.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= xsw
+PORTVERSION= 0.3.5
+CATEGORIES= misc
+MASTER_SITES= GOOGLE_CODE
+
+MAINTAINER= corky1951@comcast.net
+COMMENT= A tool for creating presentations
+
+RUN_DEPENDS= convert:${PORTSDIR}/graphics/ImageMagick
+
+USE_SDL= sdl ttf image gfx
+
+GNU_CONFIGURE= yes
+
+CONFIGURE_ENV= CPPLAGS="${CPPPLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib ${PTHREAD_LIBS}"
+
+.if !defined(NO_INSTALL_MANPAGES)
+MAN1= xsw.1 \
+ xsw2pdf.1 \
+ xswconv.1
+
+MANCOMPRESSED= no
+.endif
+
+DOCS= AUTHORS \
+ COPYING \
+ NEWS \
+ README \
+ REFERENCE \
+ THANKS \
+ TODO \
+ doc/xsw.vim
+
+do-install:
+ (cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} \
+ ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install)
+ (cd ${WRKSRC}/data && ${SETENV} ${MAKE_ENV} \
+ ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} install)
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/$f ${DOCSDIR}
+.endfor
+.endif
+
+.if !defined(NO_INSTALL_MANPAGES)
+.for manpage in ${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/man/man1/${manpage} ${MAN1PREFIX}/man/man1
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/misc/xsw/distinfo b/misc/xsw/distinfo
new file mode 100644
index 000000000000..3fb0de69dcb6
--- /dev/null
+++ b/misc/xsw/distinfo
@@ -0,0 +1,3 @@
+MD5 (xsw-0.3.5.tar.gz) = 916849d541a39aa8c96b89a94d523a0b
+SHA256 (xsw-0.3.5.tar.gz) = d7f86047716d9c4d7b2d98543952d59ce871c7d11c63653f2e21a90bcd7a6085
+SIZE (xsw-0.3.5.tar.gz) = 416720
diff --git a/misc/xsw/pkg-descr b/misc/xsw/pkg-descr
new file mode 100644
index 000000000000..52360396f8e9
--- /dev/null
+++ b/misc/xsw/pkg-descr
@@ -0,0 +1,10 @@
+xsw is a tool for generating presentations.
+It uses a simple language to describe the slides.
+
+An example xsw file is:
+
+ slide:
+ - "Hello" x:50 y:30 align:center
+ + "World!"
+
+WWW: http://code.google.com/xsw/
diff --git a/misc/xsw/pkg-plist b/misc/xsw/pkg-plist
new file mode 100644
index 000000000000..5ff5116451e7
--- /dev/null
+++ b/misc/xsw/pkg-plist
@@ -0,0 +1,30 @@
+bin/xsw
+bin/xsw2jpeg
+bin/xsw2pdf
+bin/xsw2png
+bin/xswconv
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/REFERENCE
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/xsw.vim
+%%DATADIR%%/VeraBd.ttf
+%%DATADIR%%/VeraMono.ttf
+%%DATADIR%%/VeraSeBd.ttf
+%%DATADIR%%/camera.png
+%%DATADIR%%/invalid.png
+%%DATADIR%%/tutorial/back.jpg
+%%DATADIR%%/tutorial/bg.jpg
+%%DATADIR%%/tutorial/bgblack.png
+%%DATADIR%%/tutorial/bggrad.png
+%%DATADIR%%/tutorial/bgolive.png
+%%DATADIR%%/tutorial/lake.jpg
+%%DATADIR%%/tutorial/tutorial.xsw
+%%DATADIR%%/tutorial/tutorial.xsw.in
+%%DATADIR%%/tutorial/tux.png
+@dirrm %%DATADIR%%/tutorial
+@dirrm %%DATADIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%