diff options
author | uebayasi <uebayasi@pkgsrc.org> | 2004-05-08 15:10:58 +0000 |
---|---|---|
committer | uebayasi <uebayasi@pkgsrc.org> | 2004-05-08 15:10:58 +0000 |
commit | b532c229990aea832157bfdc4b5ff9b509132e09 (patch) | |
tree | aa22466baf73f7b2ce1107f47c64b79dafdbe3c6 /devel | |
parent | fd58cdf03c07575494fb385abeeddb01d6653038 (diff) | |
download | pkgsrc-b532c229990aea832157bfdc4b5ff9b509132e09.tar.gz |
Use emacs.mk.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-rd-mode/Makefile | 23 | ||||
-rw-r--r-- | devel/ruby-rd-mode/PLIST | 7 | ||||
-rw-r--r-- | devel/sml-mode/Makefile | 9 | ||||
-rw-r--r-- | devel/sml-mode/PLIST | 38 |
4 files changed, 33 insertions, 44 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 diff --git a/devel/sml-mode/Makefile b/devel/sml-mode/Makefile index 3e380736605..83908d6a2ef 100644 --- a/devel/sml-mode/Makefile +++ b/devel/sml-mode/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2003/08/09 10:44:50 seb Exp $ +# $NetBSD: Makefile,v 1.8 2004/05/08 15:10:58 uebayasi Exp $ DISTNAME= sml-mode-3.9.5 CATEGORIES= devel editors @@ -7,16 +7,15 @@ MASTER_SITES= ftp://flint.cs.yale.edu/pub/monnier/sml-mode/ MAINTAINER= tech-pkg@NetBSD.org COMMENT= Emacs mode for editing Standard ML source code -DEPENDS+= emacs-[0-9]*:../../editors/emacs - ALL_TARGET= default INFO_FILES= sml-mode.info do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp/sml-mode + ${INSTALL_DATA_DIR} ${EMACS_LISPPREFIX}/sml-mode cd ${WRKSRC} && ${INSTALL_DATA} *.el *.elc README NEWS TODO \ - ChangeLog ${PREFIX}/share/emacs/site-lisp/sml-mode + ChangeLog ${EMACS_LISPPREFIX}/sml-mode ${INSTALL_DATA} ${WRKSRC}/sml-mode.info ${PREFIX}/info +.include "../../mk/emacs.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/sml-mode/PLIST b/devel/sml-mode/PLIST index 5b9e22f0036..cbaa655be88 100644 --- a/devel/sml-mode/PLIST +++ b/devel/sml-mode/PLIST @@ -1,19 +1,19 @@ -@comment $NetBSD: PLIST,v 1.4 2004/02/16 18:20:56 seb Exp $ -share/emacs/site-lisp/sml-mode/sml-compat.el -share/emacs/site-lisp/sml-mode/sml-defs.el -share/emacs/site-lisp/sml-mode/sml-mode-startup.el -share/emacs/site-lisp/sml-mode/sml-mode.el -share/emacs/site-lisp/sml-mode/sml-move.el -share/emacs/site-lisp/sml-mode/sml-proc.el -share/emacs/site-lisp/sml-mode/sml-util.el -share/emacs/site-lisp/sml-mode/sml-compat.elc -share/emacs/site-lisp/sml-mode/sml-defs.elc -share/emacs/site-lisp/sml-mode/sml-mode.elc -share/emacs/site-lisp/sml-mode/sml-move.elc -share/emacs/site-lisp/sml-mode/sml-proc.elc -share/emacs/site-lisp/sml-mode/sml-util.elc -share/emacs/site-lisp/sml-mode/README -share/emacs/site-lisp/sml-mode/NEWS -share/emacs/site-lisp/sml-mode/TODO -share/emacs/site-lisp/sml-mode/ChangeLog -@dirrm share/emacs/site-lisp/sml-mode +@comment $NetBSD: PLIST,v 1.5 2004/05/08 15:10:58 uebayasi Exp $ +${EMACS_LISPPREFIX}/sml-mode/sml-compat.el +${EMACS_LISPPREFIX}/sml-mode/sml-defs.el +${EMACS_LISPPREFIX}/sml-mode/sml-mode-startup.el +${EMACS_LISPPREFIX}/sml-mode/sml-mode.el +${EMACS_LISPPREFIX}/sml-mode/sml-move.el +${EMACS_LISPPREFIX}/sml-mode/sml-proc.el +${EMACS_LISPPREFIX}/sml-mode/sml-util.el +${EMACS_LISPPREFIX}/sml-mode/sml-compat.elc +${EMACS_LISPPREFIX}/sml-mode/sml-defs.elc +${EMACS_LISPPREFIX}/sml-mode/sml-mode.elc +${EMACS_LISPPREFIX}/sml-mode/sml-move.elc +${EMACS_LISPPREFIX}/sml-mode/sml-proc.elc +${EMACS_LISPPREFIX}/sml-mode/sml-util.elc +${EMACS_LISPPREFIX}/sml-mode/README +${EMACS_LISPPREFIX}/sml-mode/NEWS +${EMACS_LISPPREFIX}/sml-mode/TODO +${EMACS_LISPPREFIX}/sml-mode/ChangeLog +@dirrm ${EMACS_LISPPREFIX}/sml-mode |