diff options
author | taca <taca@pkgsrc.org> | 2001-06-30 23:32:29 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2001-06-30 23:32:29 +0000 |
commit | cd660bf0e146765eab175cb2b93d1764a7757939 (patch) | |
tree | 239ea8b9f196ea1ef0ba6c95df3d9f6ca75d4c45 /devel/ruby-mode/Makefile | |
parent | 9f77938b45ce1220f2f4dcdb159984042ab8d2dc (diff) | |
download | pkgsrc-cd660bf0e146765eab175cb2b93d1764a7757939.tar.gz |
Importing ruby-mode.
Ruby editing mode for Emacs.
Diffstat (limited to 'devel/ruby-mode/Makefile')
-rw-r--r-- | devel/ruby-mode/Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/devel/ruby-mode/Makefile b/devel/ruby-mode/Makefile new file mode 100644 index 00000000000..64f80f43b2a --- /dev/null +++ b/devel/ruby-mode/Makefile @@ -0,0 +1,49 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/06/30 23:32:29 taca Exp $ +# + +DISTNAME= ${RUBY_DISTNAME} +PKGNAME= ${RUBY_PKGNAMEPREFIX}mode-${RUBY_VERSION} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_RUBY} + +MAINTAINER= taca@netbsd.org +HOMEPAGE= http://www2.pos.to/~tosh/ruby/rdtool/ +COMMENT= Ruby editing mode for Emacs + +DIST_SUBDIR= ruby +DISTINFO_FILE= ${RUBY_DISTINFO} +WRKSRC= ${RUBY_WRKSRC}/misc + +.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= ${RUBY_DISTNAME}/misc +NO_PATCH= # defined +NO_CONFIGURE= # defined + +SRCS= ruby-mode.el rubydb3x.el inf-ruby.el + +PLIST_SUBST+= SITE_LISP=${SITE_LISP} + +do-build: +.for f in ${SRCS} + cd ${WRKSRC}; ${EMACS} --no-init-file --no-site-file -batch \ + -l ruby-mode.el -f batch-byte-compile ${f} +.endfor + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/${SITE_LISP} +.for f in ${SRCS} + ${INSTALL_DATA} ${RUBY_WRKSRC}/misc/${f} ${PREFIX}/${SITE_LISP} + ${INSTALL_DATA} ${RUBY_WRKSRC}/misc/${f}c ${PREFIX}/${SITE_LISP} +.endfor + +.include "../../lang/ruby-base/Makefile.common" +.include "../../mk/bsd.pkg.mk" |