| @@ -1,30 +1,34 @@ | | | @@ -1,30 +1,34 @@ |
1 | # $NetBSD: Makefile,v 1.4 2007/08/05 05:19:19 dsainty Exp $ | | 1 | # $NetBSD: Makefile,v 1.5 2008/08/11 08:51:05 dsainty Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= doxymacs-1.8.0 | | 4 | DISTNAME= doxymacs-1.8.0 |
5 | PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME} | | 5 | PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME} |
6 | CATEGORIES= devel | | 6 | CATEGORIES= devel |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=doxymacs/} | | 7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=doxymacs/} |
8 | | | 8 | |
9 | MAINTAINER= dsainty@NetBSD.org | | 9 | MAINTAINER= dsainty@NetBSD.org |
10 | HOMEPAGE= http://doxymacs.sourceforge.net/ | | 10 | HOMEPAGE= http://doxymacs.sourceforge.net/ |
11 | COMMENT= Doxygen editing support for Emacs | | 11 | COMMENT= Doxygen editing support for Emacs |
12 | | | 12 | |
13 | .include "../../mk/emacs.mk" | | 13 | .include "../../mk/emacs.mk" |
14 | | | 14 | |
15 | # | | 15 | # |
16 | # "www/w3" (Emacs/W3) currently does not work with Emacs 22. Emacs/W3 | | 16 | # "www/w3" (Emacs/W3) currently does not work with Emacs 22. Emacs/W3 |
17 | # is documented as a requirement for Doxymacs, but it appears that it | | 17 | # is documented as a requirement for Doxymacs, but it appears that it |
18 | # is only used for the url-* support introduced in Emacs/W3. | | 18 | # is only used for the url-* support introduced in Emacs/W3. |
19 | # Fortunately, the url-* support from Emacs/W3 has been integrated | | 19 | # Fortunately, the url-* support from Emacs/W3 has been integrated |
20 | # into Emacs version 22. | | 20 | # into Emacs version 22. The same support for XEmacs is available in |
| | | 21 | # editors/xemacs-packages. |
21 | # | | 22 | # |
22 | .if ${EMACS_VERSION_MAJOR} <= 21 | | 23 | .if ${EMACS_FLAVOR} == xemacs |
| | | 24 | DEPENDS+= xemacs-packages-[0-9]*:../../editors/xemacs-packages |
| | | 25 | .elif ${EMACS_VERSION_MAJOR} <= 21 |
23 | DEPENDS+= w3-[0-9]*:../../www/w3 | | 26 | DEPENDS+= w3-[0-9]*:../../www/w3 |
24 | .endif | | 27 | .endif |
25 | | | 28 | |
26 | GNU_CONFIGURE= yes | | 29 | GNU_CONFIGURE= yes |
27 | CONFIGURE_ENV+= EMACS=${EMACS_BIN:Q} | | 30 | CONFIGURE_ENV+= EMACS=${EMACS_BIN:Q} |
| | | 31 | CONFIGURE_ARGS+= --with-lispdir=${EMACS_LISPPREFIX:Q} |
28 | | | 32 | |
29 | .include "../../textproc/libxml2/buildlink3.mk" | | 33 | .include "../../textproc/libxml2/buildlink3.mk" |
30 | .include "../../mk/bsd.pkg.mk" | | 34 | .include "../../mk/bsd.pkg.mk" |