summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/ruby-rd-mode/Makefile43
-rw-r--r--devel/ruby-rd-mode/pkg/DESCR1
-rw-r--r--devel/ruby-rd-mode/pkg/PLIST3
3 files changed, 47 insertions, 0 deletions
diff --git a/devel/ruby-rd-mode/Makefile b/devel/ruby-rd-mode/Makefile
new file mode 100644
index 00000000000..3812cd31d8e
--- /dev/null
+++ b/devel/ruby-rd-mode/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/06/30 23:33:28 taca Exp $
+#
+
+DISTNAME= rdtool-${RUBY_RD_VERSION}
+PKGNAME= ${RUBY_PKGNAMEPREFIX}rd-mode-${RUBY_RD_VERSION}
+CATEGORIES= devel
+MASTER_SITES= http://www2.pos.to/~tosh/ruby/rdtool/archive/
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www2.pos.to/~tosh/ruby/rdtool/
+COMMENT= Editing mode for RD (Ruby Docuemnt Format).
+
+.if defined(USE_XEMACS)
+DEPENDS+= xemacs-[0-9]*:../../editors/xemacs
+EMACS= xemacs
+SITE_LISP= lib/xemacs/xemacs-packages/lisp/prog-modes
+.else
+DEPENDS+= emacs-[0-9]*:../../editors/emacs
+EMACS= emacs
+SITE_LISP= share/emacs/site-lisp
+.endif
+
+EXTRACT_ELEMENTS= ${DISTNAME}/utils/rd-mode.el
+DIST_SUBDIR= ruby
+DISTINFO_FILE= ${.CURDIR}/../../textproc/ruby-rdtool/distinfo
+WRKSRC= ${WRKDIR}/${DISTNAME}/utils
+NO_PATCH= # defined
+NO_CONFIGURE= # defined
+
+PLIST_SUBST+= SITE_LISP=${SITE_LISP}
+
+do-build:
+ cd ${WRKSRC}; ${EMACS} --no-init-file --no-site-file -batch \
+ -f batch-byte-compile rd-mode.el
+
+do-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/${SITE_LISP}
+ ${INSTALL_DATA} ${WRKSRC}/rd-mode.el ${PREFIX}/${SITE_LISP}
+ ${INSTALL_DATA} ${WRKSRC}/rd-mode.elc ${PREFIX}/${SITE_LISP}
+
+.include "../../textproc/ruby-rdtool/Makefile.common"
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-rd-mode/pkg/DESCR b/devel/ruby-rd-mode/pkg/DESCR
new file mode 100644
index 00000000000..a9c9dc8c6bf
--- /dev/null
+++ b/devel/ruby-rd-mode/pkg/DESCR
@@ -0,0 +1 @@
+Emacs editing mode for RD (Ruby Document Format).
diff --git a/devel/ruby-rd-mode/pkg/PLIST b/devel/ruby-rd-mode/pkg/PLIST
new file mode 100644
index 00000000000..ab3a47abdbe
--- /dev/null
+++ b/devel/ruby-rd-mode/pkg/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/30 23:33:28 taca Exp $
+${SITE_LISP}/rd-mode.el
+${SITE_LISP}/rd-mode.elc