summaryrefslogtreecommitdiff
path: root/devel/doxymacs
diff options
context:
space:
mode:
authordsainty <dsainty>2008-08-11 08:51:05 +0000
committerdsainty <dsainty>2008-08-11 08:51:05 +0000
commitd096dae9efcdef561aad9203c5e265e03ac0ef81 (patch)
treeb6647fe96f6d587ad58dc78b277bd473e1167f4d /devel/doxymacs
parent49d0fc5174ad10768fd56c2c4cb987d9d7c9395a (diff)
downloadpkgsrc-d096dae9efcdef561aad9203c5e265e03ac0ef81.tar.gz
If the Emacs flavour is "xemacs", don't pull in the www/w3 support, pull in
"xemacs-packages" instead. Also, make sure that the Lisp installation directory is correct for all flavours. Patch from PR39287 from Anthony Mallet, with minor modification to pull in "xemacs-packages" as a replacement for "www/w3".
Diffstat (limited to 'devel/doxymacs')
-rw-r--r--devel/doxymacs/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/devel/doxymacs/Makefile b/devel/doxymacs/Makefile
index f69de2cbf1c..5cf9f49f5b8 100644
--- a/devel/doxymacs/Makefile
+++ b/devel/doxymacs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2007/08/05 05:19:19 dsainty Exp $
+# $NetBSD: Makefile,v 1.5 2008/08/11 08:51:05 dsainty Exp $
#
DISTNAME= doxymacs-1.8.0
@@ -17,14 +17,18 @@ COMMENT= Doxygen editing support for Emacs
# 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.
+# into Emacs version 22. The same support for XEmacs is available in
+# editors/xemacs-packages.
#
-.if ${EMACS_VERSION_MAJOR} <= 21
+.if ${EMACS_FLAVOR} == xemacs
+DEPENDS+= xemacs-packages-[0-9]*:../../editors/xemacs-packages
+.elif ${EMACS_VERSION_MAJOR} <= 21
DEPENDS+= w3-[0-9]*:../../www/w3
.endif
-GNU_CONFIGURE= yes
-CONFIGURE_ENV+= EMACS=${EMACS_BIN:Q}
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= EMACS=${EMACS_BIN:Q}
+CONFIGURE_ARGS+= --with-lispdir=${EMACS_LISPPREFIX:Q}
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"