diff options
author | dsainty <dsainty@pkgsrc.org> | 2008-08-11 08:51:05 +0000 |
---|---|---|
committer | dsainty <dsainty@pkgsrc.org> | 2008-08-11 08:51:05 +0000 |
commit | f9e7c476812082225299fd2342636c7b1b06aebc (patch) | |
tree | b6647fe96f6d587ad58dc78b277bd473e1167f4d /devel/doxymacs | |
parent | 4177058b9a3a8f0190b244124e5973b6a8cff6a3 (diff) | |
download | pkgsrc-f9e7c476812082225299fd2342636c7b1b06aebc.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/Makefile | 14 |
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" |