summaryrefslogtreecommitdiff
path: root/devel/doxymacs
diff options
context:
space:
mode:
authordsainty <dsainty@pkgsrc.org>2007-08-05 05:01:03 +0000
committerdsainty <dsainty@pkgsrc.org>2007-08-05 05:01:03 +0000
commit6c6a11028e7f531e81e5e7809ed6290d38cb260b (patch)
tree42bb07b1828bb41b2fe23d274d4597ef09bc66a9 /devel/doxymacs
parent326149a129a41a01cd24331641414c2ec239c0e1 (diff)
downloadpkgsrc-6c6a11028e7f531e81e5e7809ed6290d38cb260b.tar.gz
Make Doxymacs work with Emacs 22 by avoiding using "www/w3" (Emacs/W3) if the
Emacs major is not below 22. The url-* support from Emacs/W3 has been integrated into Emacs version 22.
Diffstat (limited to 'devel/doxymacs')
-rw-r--r--devel/doxymacs/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/devel/doxymacs/Makefile b/devel/doxymacs/Makefile
index a2efa399bc2..53af6a5c385 100644
--- a/devel/doxymacs/Makefile
+++ b/devel/doxymacs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/11/01 07:09:53 dsainty Exp $
+# $NetBSD: Makefile,v 1.3 2007/08/05 05:01:03 dsainty Exp $
#
DISTNAME= doxymacs-1.7.0
@@ -10,11 +10,21 @@ MAINTAINER= dsainty@NetBSD.org
HOMEPAGE= http://doxymacs.sourceforge.net/
COMMENT= Doxygen editing support for Emacs
+.include "../../mk/emacs.mk"
+
+#
+# "www/w3" (Emacs/W3) currently does not work with Emacs 22. Emacs/W3
+# is documented as a requirement for Doxymacs, but it appears that it
+# is only used for the url-* support introduced in Emacs/W3.
+# Fortunately, the url-* support from Emacs/W3 has been integrated
+# into Emacs version 22.
+#
+.if ${EMACS_VERSION_MAJOR} <= 21
DEPENDS+= w3-[0-9]*:../../www/w3
+.endif
GNU_CONFIGURE= yes
CONFIGURE_ENV+= EMACS=${EMACS_BIN:Q}
-.include "../../mk/emacs.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"