summaryrefslogtreecommitdiff
path: root/www/emacs-w3m/Makefile
diff options
context:
space:
mode:
authoruebayasi <uebayasi>2007-01-27 12:56:02 +0000
committeruebayasi <uebayasi>2007-01-27 12:56:02 +0000
commit58347a773365827fbbaf02bf5335dfdcda4b4a01 (patch)
tree68722f11aaabf261a51c886a7c987077624d803a /www/emacs-w3m/Makefile
parentec2ec64b4688e6d69b43e1444ea194588f12bcc9 (diff)
downloadpkgsrc-58347a773365827fbbaf02bf5335dfdcda4b4a01.tar.gz
Update emacs-w3m to 1.4.4.
A lot of changes since 1.3.3, including Unicode support and add-on modules ("shimbun"). NOTE: I had to comment out w3m's "ucs_conv=1" option which is hard-coded in w3m.el, so that w3m without unicode option also works with emacs-w3m. Do we want w3m to always have its homegrown yet another Unicode mapping table? % ls w3m.* -rwxr-xr-x 1 uebayasi users 513186 Jan 27 20:46 w3m.no-unicode -rwxr-xr-x 1 uebayasi users 1182323 Jan 27 20:48 w3m.unicode
Diffstat (limited to 'www/emacs-w3m/Makefile')
-rw-r--r--www/emacs-w3m/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/www/emacs-w3m/Makefile b/www/emacs-w3m/Makefile
index 119cfecfe04..7816739bfac 100644
--- a/www/emacs-w3m/Makefile
+++ b/www/emacs-w3m/Makefile
@@ -1,8 +1,6 @@
-# $NetBSD: Makefile,v 1.17 2006/02/22 20:35:59 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2007/01/27 12:56:02 uebayasi Exp $
-DISTNAME= emacs-w3m-1.3.3
-PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
-PKGREVISION= 2
+DISTNAME= emacs-w3m-1.4.4
CATEGORIES= www
MASTER_SITES= ${HOMEPAGE}
@@ -10,20 +8,17 @@ MAINTAINER= uebayasi@NetBSD.org
HOMEPAGE= http://emacs-w3m.namazu.org/
COMMENT= Simple w3m interface for Emacs
-DEPENDS+= {w3m,w3m-img}>=0.3.1:../../www/w3m
-BUILD_DEPENDS+= ${EMACS_PKGNAME_PREFIX}semi-[0-9]*:../../devel/semi
-
-# Not tested with xemacs...
-EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20 xemacs214 xemacs215
+DEPENDS+= w3m>=0.5.1nb2:../../www/w3m
.include "../../mk/emacs.mk"
+DEPENDS+= ${EMACS_PKGNAME_PREFIX}semi-[0-9]*:../../devel/semi
.if ${EMACS_FLAVOR} == "xemacs"
DEPENDS+= ${EMACS_PKGNAME_PREFIX}apel>=10.3:../../devel/apel
.endif
-EMACS_MAJOR_VERSION= ${_EMACS_VERSION:C/\..*//}
-.if ${EMACS_FLAVOR} == "emacs" && ${EMACS_MAJOR_VERSION} == 21
+.if ${EMACS_FLAVOR} == "emacs" && \
+ (${EMACS_VERSION_MAJOR} == 21 || ${EMACS_VERSION_MAJOR} == 22)
BUILD_DEPENDS+= ${EMACS_PKGNAME_PREFIX}Mule-UCS>=0.84:../../editors/mule-ucs
.endif
@@ -36,17 +31,16 @@ INSTALL_TARGET= install-package
INSTALL_TARGET= install install-icons
.endif
-DOCUMENTS= COPYING ChangeLog ChangeLog.1 FAQ FAQ.ja README README.ja README.namazu.ja README.shimbun.ja TIPS TIPS.ja
+DOCUMENTS= COPYING ChangeLog ChangeLog.1 README README.ja
.if ${EMACS_FLAVOR} == "xemacs"
ETCDIR= lib/xemacs/site-packages/etc
ICONDIR= ${ETCDIR}/w3m
.else
-ETCDIR= share/emacs/${_EMACS_VERSION:C/(^[0-9.]*).*$/\1/}/etc
+ETCDIR= share/emacs/${_EMACS_VERSION_NOREV}/etc
ICONDIR= ${ETCDIR}/w3m/icons
.endif
DOCDIR= ${ETCDIR}/w3m/doc
PLIST_SUBST+= DOCDIR=${DOCDIR:Q}
-PLIST_SUBST+= ETCDIR=${ETCDIR:Q}
PLIST_SUBST+= ICONDIR=${ICONDIR:Q}
post-install: