summaryrefslogtreecommitdiff
path: root/mail/rmail-mime
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2002-12-10 19:21:56 +0000
committerjschauma <jschauma@pkgsrc.org>2002-12-10 19:21:56 +0000
commit0b44c0f60983fb6a29f72b699d16703070a05db6 (patch)
treec824030af219101dd192d140d16614f89ce080a2 /mail/rmail-mime
parent342513fc3a9170086d2a86b9b4cec386e496dc4d (diff)
downloadpkgsrc-0b44c0f60983fb6a29f72b699d16703070a05db6.tar.gz
Make use of mk/emacs.mk to prevent emacs-conflicts as seen in Huberts
latest bulk-build.
Diffstat (limited to 'mail/rmail-mime')
-rw-r--r--mail/rmail-mime/Makefile21
1 files changed, 6 insertions, 15 deletions
diff --git a/mail/rmail-mime/Makefile b/mail/rmail-mime/Makefile
index fea9cdb58f1..91ad547dcce 100644
--- a/mail/rmail-mime/Makefile
+++ b/mail/rmail-mime/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2002/11/27 03:29:48 jschauma Exp $
+# $NetBSD: Makefile,v 1.2 2002/12/10 19:21:56 jschauma Exp $
#
DISTNAME= rmail-mime-1.13.0
@@ -10,27 +10,18 @@ COMMENT= MIME-capabilities for RMAIL in Emacs
DEPENDS= semi>=1.14.4:../../devel/semi
-.include "../../mk/bsd.prefs.mk"
-
-.if defined(USE_XEMACS)
-DEPENDS+= xemacs-[0-9]*:../../editors/xemacs
-EMACS= xemacs
-SITE_LISP= lib/xemacs/xemacs-packages/lisp/
-.else
-DEPENDS+= emacs-[0-9]*:../../editors/emacs
-EMACS= emacs
-SITE_LISP= share/emacs/site-lisp
-.endif
+.include "../../mk/emacs.mk"
+SITE_LISP= ${EMACS_LISPPREFIX:C|^${PREFIX}/||}
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 \
-l ruby-mode.el -f batch-byte-compile rmail-mime.el
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/${SITE_LISP}
- ${INSTALL_DATA} ${WRKSRC}/rmail-mime.el ${PREFIX}/${SITE_LISP}
- ${INSTALL_DATA} ${WRKSRC}/rmail-mime.elc ${PREFIX}/${SITE_LISP}
+ ${INSTALL_DATA} ${WRKSRC}/rmail-mime.el ${EMACS_LISPPREFIX}
+ ${INSTALL_DATA} ${WRKSRC}/rmail-mime.elc ${EMACS_LISPPREFIX}
.include "../../mk/bsd.pkg.mk"