summaryrefslogtreecommitdiff
path: root/devel/doxymacs
diff options
context:
space:
mode:
authordsainty <dsainty>2007-08-05 05:01:03 +0000
committerdsainty <dsainty>2007-08-05 05:01:03 +0000
commitb64b6a51114c2d6e56e8f824e352ab42ec3685c1 (patch)
tree42bb07b1828bb41b2fe23d274d4597ef09bc66a9 /devel/doxymacs
parent625b11b99c9818755e50a9ee93ace61e7594bc3c (diff)
downloadpkgsrc-b64b6a51114c2d6e56e8f824e352ab42ec3685c1.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"