summaryrefslogtreecommitdiff
path: root/www/w3/Makefile
blob: 3cf80c8a08aa5c259565f0500428902d77c6e332 (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
# $NetBSD: Makefile,v 1.21 2006/04/08 04:42:10 jlam Exp $

DISTNAME=	w3-4.0pre.47
PKGNAME=	${EMACS_PKGNAME_PREFIX}w3-4.0b47
PKGREVISION=	1
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_XEMACS:=emacs-w3/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.cs.indiana.edu/elisp/w3/docs.html
COMMENT=	World Wide Web browser for Emacs

# included in xemacs-packages
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20
.include "../../mk/emacs.mk"

GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--with-emacs
CONFIGURE_ARGS+=	--enable-site-install
CONFIGURE_ARGS+=	--with-lispdir=${EMACS_LISPPREFIX}/w3
INFO_FILES=		# PLIST

.if ${EMACS_FLAVOR} == "xemacs"
ETCDIR=			${EMACS_LISPPREFIX:H}/etc/w3
.else
ETCDIR=			${PREFIX}/share/w3
.endif
PLIST_SUBST+=		ETCDIR=${ETCDIR:S/^${PREFIX}\///:Q}

.include "../../mk/bsd.pkg.mk"