summaryrefslogtreecommitdiff
path: root/www/w3/Makefile
blob: a3c7c9ada5c4cea45f1e7590a0f2ca31089134b2 (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
# $NetBSD: Makefile,v 1.1.1.1 2000/12/01 06:18:15 jtb Exp $

DISTNAME=		w3-4.0pre.46
CATEGORIES=		www
MASTER_SITES=		ftp://ftp.xemacs.org/pub/xemacs/emacs-w3/

MAINTAINER=		jtb@netbsd.org
HOMEPAGE=		http://www.cs.indiana.edu/elisp/w3/docs.html

WRKSRC=			${WRKDIR}/${PKGNAME}
HAS_CONFIGURE=		YES
CONFIGURE_ARGS+=	"--enable-site-install"
INFO_FILES=		w3.info

.if defined(USE_XEMACS)
DEPENDS+=		xemacs-[0-9]*:../../editors/xemacs
CONFIGURE_ARGS+=	"--with-xemacs"
CONFIGURE_ARGS+=	"--with-package-dir=${PREFIX}/lib/xemacs/xemacs-packages"
PLIST_SRC=		${PKGDIR}/PLIST.xemacs
.else
DEPENDS+= 		emacs-[0-9]*:../../editors/emacs
CONFIGURE_ARGS+=	"--with-emacs"
PLIST_SRC=		${PKGDIR}/PLIST.emacs
CONFIGURE_ARGS+=	"--with-lispdir=${PREFIX}/share/emacs/site-lisp/w3"
.endif

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