summaryrefslogtreecommitdiff
path: root/mail/wl/Makefile
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2007-10-29 13:06:05 +0000
committeruebayasi <uebayasi>2007-10-29 13:06:05 +0000
commited1a8f666146ead036dc0b5002c2f94460c2aa05 (patch)
tree2d54b1faa32e55879b925130171552483894939f /mail/wl/Makefile
parent354ba28870e0e6c5ca4da458e39aa2a880dcf111 (diff)
downloadpkgsrc-ed1a8f666146ead036dc0b5002c2f94460c2aa05.tar.gz
Buildlink3'ify. Make emacs-w3m support an option. Refactor *a lot*.
Diffstat (limited to 'mail/wl/Makefile')
-rw-r--r--mail/wl/Makefile26
1 files changed, 9 insertions, 17 deletions
diff --git a/mail/wl/Makefile b/mail/wl/Makefile
index 0110f5d8657..b96d801140e 100644
--- a/mail/wl/Makefile
+++ b/mail/wl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2007/04/01 08:37:29 wiz Exp $
+# $NetBSD: Makefile,v 1.36 2007/10/29 13:06:05 uebayasi Exp $
DISTNAME= wl-2.14.0
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
@@ -10,19 +10,6 @@ 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"
-
-DEPENDS+= ${EMACS_PKGNAME_PREFIX}semi>=1.14.6:../../devel/semi
-# 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-w3m>=1.4:../../www/emacs-w3m
-
-EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20 xemacs214
-
BUILD_TARGET= all info
INSTALL_TARGET= install install-info
MAKE_FLAGS+= INFODIR=${EMACS_INFOPREFIX:Q}
@@ -31,13 +18,10 @@ MAKE_FLAGS+= EMACS=${EMACS_FLAVOR:Q}
MAKE_FLAGS+= PIXMAPDIR=${PREFIX:Q}/share/wl
INFO_FILES= # PLIST
-
DOCDIR= ${PREFIX}/share/doc/wl
EXAMPLESDIR= ${PREFIX}/share/examples/wl
INSTALLATION_DIRS= ${DOCDIR} ${EXAMPLESDIR} ${EMACS_INFOPREFIX}
-.include "../../security/openssl/buildlink3.mk"
-
post-install:
${INSTALL_DATA_DIR} ${DOCDIR:Q}/en
${INSTALL_DATA_DIR} ${DOCDIR:Q}/ja
@@ -51,4 +35,12 @@ post-install:
${INSTALL_DATA} ${WRKSRC:Q}/samples/en/dot.* ${EXAMPLESDIR:Q}/en
${INSTALL_DATA} ${WRKSRC:Q}/samples/ja/dot.* ${EXAMPLESDIR:Q}/ja
+.include "../../mk/emacs.mk"
+
+.include "options.mk"
+
+.include "../../devel/apel/buildlink3.mk"
+.include "../../devel/semi/buildlink3.mk"
+.include "../../misc/bbdb/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"