summaryrefslogtreecommitdiff
path: root/devel/doxymacs/Makefile
blob: b972cb05ba526ca014525c7c11e9ed1746e6942b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.10 2013/02/17 19:17:58 dholland Exp $
#

DISTNAME=	doxymacs-1.8.0
PKGNAME=	${EMACS_PKGNAME_PREFIX}${DISTNAME}
PKGREVISION=	3
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=doxymacs/}

MAINTAINER=	dsainty@NetBSD.org
HOMEPAGE=	http://doxymacs.sourceforge.net/
COMMENT=	Doxygen editing support for Emacs

.include "../../editors/emacs/modules.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.  The same support for XEmacs is available in
# editors/xemacs-packages.
#
.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}
CONFIGURE_ARGS+=	--with-lispdir=${EMACS_LISPPREFIX:Q}

.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"