summaryrefslogtreecommitdiff
path: root/devel/ruby-rd-mode
diff options
context:
space:
mode:
authoruebayasi <uebayasi@pkgsrc.org>2004-05-08 15:10:58 +0000
committeruebayasi <uebayasi@pkgsrc.org>2004-05-08 15:10:58 +0000
commitb532c229990aea832157bfdc4b5ff9b509132e09 (patch)
treeaa22466baf73f7b2ce1107f47c64b79dafdbe3c6 /devel/ruby-rd-mode
parentfd58cdf03c07575494fb385abeeddb01d6653038 (diff)
downloadpkgsrc-b532c229990aea832157bfdc4b5ff9b509132e09.tar.gz
Use emacs.mk.
Diffstat (limited to 'devel/ruby-rd-mode')
-rw-r--r--devel/ruby-rd-mode/Makefile23
-rw-r--r--devel/ruby-rd-mode/PLIST7
2 files changed, 10 insertions, 20 deletions
diff --git a/devel/ruby-rd-mode/Makefile b/devel/ruby-rd-mode/Makefile
index e5fc3a96ee8..15f718a6069 100644
--- a/devel/ruby-rd-mode/Makefile
+++ b/devel/ruby-rd-mode/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/03/16 02:01:10 taca Exp $
+# $NetBSD: Makefile,v 1.10 2004/05/08 15:10:58 uebayasi Exp $
#
DISTNAME= rdtool-${RUBY_RD_VERSION}
@@ -10,32 +10,21 @@ MAINTAINER= taca@NetBSD.org
HOMEPAGE= http://www2.pos.to/~tosh/ruby/rdtool/
COMMENT= Editing mode for RD (Ruby Document 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
-
WRKSRC= ${WRKDIR}/${DISTNAME}/utils
EXTRACT_ELEMENTS= ${DISTNAME}/utils/rd-mode.el
DIST_SUBDIR= ruby
NO_CONFIGURE= # defined
-PLIST_SUBST+= SITE_LISP=${SITE_LISP}
-
do-build:
- cd ${WRKSRC}; ${EMACS} --no-init-file --no-site-file -batch \
+ cd ${WRKSRC}; ${EMACS_BIN} --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}
+ ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/rd-mode
+ ${INSTALL_DATA} ${WRKSRC}/rd-mode.el ${EMACS_LISPPREFIX}/rd-mode
+ ${INSTALL_DATA} ${WRKSRC}/rd-mode.elc ${EMACS_LISPPREFIX}/rd-mode
.include "../../textproc/ruby-rdtool/Makefile.common"
.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/emacs.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-rd-mode/PLIST b/devel/ruby-rd-mode/PLIST
index 659f6fe6993..39b677d824c 100644
--- a/devel/ruby-rd-mode/PLIST
+++ b/devel/ruby-rd-mode/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:26:28 zuntum Exp $
-${SITE_LISP}/rd-mode.el
-${SITE_LISP}/rd-mode.elc
+@comment $NetBSD: PLIST,v 1.2 2004/05/08 15:10:58 uebayasi Exp $
+${EMACS_LISPPREFIX}/rd-mode/rd-mode.el
+${EMACS_LISPPREFIX}/rd-mode/rd-mode.elc
+@dirrm ${EMACS_LISPPREFIX}/rd-mode