summaryrefslogtreecommitdiff
path: root/mail/wl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/wl/Makefile')
-rw-r--r--mail/wl/Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/mail/wl/Makefile b/mail/wl/Makefile
index d6eda6dcebd..50b2523f2e0 100644
--- a/mail/wl/Makefile
+++ b/mail/wl/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2006/04/08 19:02:18 jlam Exp $
+# $NetBSD: Makefile,v 1.29 2006/07/22 17:26:59 rpaulo Exp $
DISTNAME= wl-2.14.0
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= mail
MASTER_SITES= ftp://ftp.gohome.org/wl/stable/
@@ -10,23 +10,26 @@ MAINTAINER= tech-pkg-ja@jp.NetBSD.org
HOMEPAGE= http://www.gohome.org/wl/
COMMENT= Mail/news management system with IMAP4rev1 support for Emacs
+.include "../../mk/emacs.mk"
+# apel and bbdb are included in xemacs-packages
+.if ${EMACS_FLAVOR} == "emacs"
DEPENDS+= ${EMACS_PKGNAME_PREFIX}apel>=10.6:../../devel/apel
+DEPENDS+= ${EMACS_PKGNAME_PREFIX}bbdb-[0-9]*:../../misc/bbdb
+.endif
DEPENDS+= ${EMACS_PKGNAME_PREFIX}flim>=1.14.7:../../devel/flim
DEPENDS+= ${EMACS_PKGNAME_PREFIX}semi>=1.14.6:../../devel/semi
-DEPENDS+= ${EMACS_PKGNAME_PREFIX}bbdb-[0-9]*:../../misc/bbdb
-# XXX please someone adjust paths and PLIST for XEmacs...
-EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20
+EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20 xemacs214
BUILD_TARGET= all info
INSTALL_TARGET= install install-info
MAKE_FLAGS+= INFODIR=${EMACS_INFOPREFIX:Q}
MAKE_FLAGS+= LISPDIR=${EMACS_LISPPREFIX:Q}
+MAKE_FLAGS+= EMACS=${EMACS_FLAVOR:Q}
MAKE_FLAGS+= PIXMAPDIR=${PREFIX:Q}/share/wl
INFO_FILES= # PLIST
-.include "../../mk/emacs.mk"
DOCDIR= ${PREFIX}/share/doc/wl
EXAMPLESDIR= ${PREFIX}/share/examples/wl
@@ -44,7 +47,7 @@ post-install:
done
${INSTALL_DATA_DIR} ${EXAMPLESDIR:Q}/en
${INSTALL_DATA_DIR} ${EXAMPLESDIR:Q}/ja
- @${INSTALL_DATA} ${WRKSRC:Q}/samples/en/dot.* ${EXAMPLESDIR:Q}/en
- @${INSTALL_DATA} ${WRKSRC:Q}/samples/ja/dot.* ${EXAMPLESDIR:Q}/ja
+ ${INSTALL_DATA} ${WRKSRC:Q}/samples/en/dot.* ${EXAMPLESDIR:Q}/en
+ ${INSTALL_DATA} ${WRKSRC:Q}/samples/ja/dot.* ${EXAMPLESDIR:Q}/ja
.include "../../mk/bsd.pkg.mk"