summaryrefslogtreecommitdiff
path: root/textproc/xslide
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-09-03 14:55:00 +0000
committerwiz <wiz@pkgsrc.org>2003-09-03 14:55:00 +0000
commitde7d8ad1100acf43d027a2d2fc5355948a095e11 (patch)
treeb056f54c14348e00927e7bb487a95d1aaef74ec0 /textproc/xslide
parentebb438dccb5bae7db0ee365c3aa57c0bddd193a6 (diff)
downloadpkgsrc-de7d8ad1100acf43d027a2d2fc5355948a095e11.tar.gz
Initial import of xslide, an XSL major mode for emacs.
* FEATURES - XSL customization group for setting some variables - Initial stylesheet inserted into empty XSL buffers; - "Template" menu for jumping to template rules, named templates, key declarations, and attribute-set declarations in the buffer; - `xsl-process' function that runs an XSL processor and collects the output; - Predefined command line templates and error regexps for Java and Windows executable versions of both XT and Saxon; - Font lock highlighting so that the important information stands out; - `xsl-complete' function for inserting element and attribute names; - `xsl-insert-tag' function for inserting matching start- and end-tags; - Automatic completion of end-tags; - Automatic indenting of elements with user-definable indentation step; - `xsl-if-to-choose' converts <xsl:if> to <xsl:choose> with nested <xsl:when>; and - Comprehensive abbreviations table to further ease typing.
Diffstat (limited to 'textproc/xslide')
-rw-r--r--textproc/xslide/DESCR22
-rw-r--r--textproc/xslide/Makefile41
-rw-r--r--textproc/xslide/PLIST15
-rw-r--r--textproc/xslide/distinfo4
4 files changed, 82 insertions, 0 deletions
diff --git a/textproc/xslide/DESCR b/textproc/xslide/DESCR
new file mode 100644
index 00000000000..f3216eec7eb
--- /dev/null
+++ b/textproc/xslide/DESCR
@@ -0,0 +1,22 @@
+XSL major mode for emacs.
+
+* FEATURES
+ - XSL customization group for setting some variables
+ - Initial stylesheet inserted into empty XSL buffers;
+ - "Template" menu for jumping to template rules, named templates, key
+ declarations, and attribute-set declarations in the buffer;
+ - `xsl-process' function that runs an XSL processor and collects the
+ output;
+ - Predefined command line templates and error regexps for Java and
+ Windows executable versions of both XT and Saxon;
+ - Font lock highlighting so that the important information stands
+ out;
+ - `xsl-complete' function for inserting element and attribute names;
+ - `xsl-insert-tag' function for inserting matching start- and
+ end-tags;
+ - Automatic completion of end-tags;
+ - Automatic indenting of elements with user-definable indentation
+ step;
+ - `xsl-if-to-choose' converts <xsl:if> to <xsl:choose> with
+ nested <xsl:when>; and
+ - Comprehensive abbreviations table to further ease typing.
diff --git a/textproc/xslide/Makefile b/textproc/xslide/Makefile
new file mode 100644
index 00000000000..b376ed3b65e
--- /dev/null
+++ b/textproc/xslide/Makefile
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/03 14:55:00 wiz Exp $
+#
+
+DISTNAME= xslide-0.2.2
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xslide/}
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://xslide.sourceforge.net/
+COMMENT= XSL major mode for emacs
+
+USE_BUILDLINK2= yes
+
+.include "../../mk/emacs.mk"
+
+.if ${EMACS_FLAVOR} == "emacs"
+EMACS= emacs
+.else
+EMACS= xemacs
+.endif
+
+SRCS= xslide-abbrev.el xslide-data.el xslide-font.el xslide-process.el xslide.el
+
+do-build:
+ cd ${WRKSRC} && \
+ for f in ${SRCS}; do \
+ ${EMACS} --no-init-file --no-site-file -batch \
+ -l font-lock -l sendmail \
+ -l xslide-data.el -l xslide-abbrev.el -l xslide-font.el \
+ -l xslide-process.el -l xslide.el \
+ -f batch-byte-compile $$f; \
+ done
+
+do-install:
+ ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/${PKGBASE}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} ${EMACS_LISPPREFIX}/${PKGBASE}
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xslide
+ ${INSTALL_DATA} ${WRKSRC}/README.TXT ${PREFIX}/share/doc/xslide
+ ${INSTALL_DATA} ${WRKSRC}/dot_emacs ${PREFIX}/share/doc/xslide
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/xslide/PLIST b/textproc/xslide/PLIST
new file mode 100644
index 00000000000..e949930f653
--- /dev/null
+++ b/textproc/xslide/PLIST
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/03 14:55:00 wiz Exp $
+${EMACS_LISPPREFIX}/xslide/xslide-abbrev.el
+${EMACS_LISPPREFIX}/xslide/xslide-abbrev.elc
+${EMACS_LISPPREFIX}/xslide/xslide-data.el
+${EMACS_LISPPREFIX}/xslide/xslide-data.elc
+${EMACS_LISPPREFIX}/xslide/xslide-font.el
+${EMACS_LISPPREFIX}/xslide/xslide-font.elc
+${EMACS_LISPPREFIX}/xslide/xslide-process.el
+${EMACS_LISPPREFIX}/xslide/xslide-process.elc
+${EMACS_LISPPREFIX}/xslide/xslide.el
+${EMACS_LISPPREFIX}/xslide/xslide.elc
+share/doc/xslide/README.TXT
+share/doc/xslide/dot_emacs
+@dirrm share/doc/xslide
+@dirrm ${EMACS_LISPPREFIX}/xslide
diff --git a/textproc/xslide/distinfo b/textproc/xslide/distinfo
new file mode 100644
index 00000000000..7773b9753e5
--- /dev/null
+++ b/textproc/xslide/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/03 14:55:00 wiz Exp $
+
+SHA1 (xslide-0.2.2.tar.gz) = 1662a8f8e55a7842b77030d9e1326e13dd2a45fe
+Size (xslide-0.2.2.tar.gz) = 23469 bytes