34004f51e0
Don't call pkg_info to get the installed Emacs version; always use the version matching EMACS_TYPE set by users. Be DEPENDS to it. This should address pkg/37146 by Aleksey Cheusov. While here convert some emacs lisp packages to user-destdir.
33 lines
876 B
Makefile
33 lines
876 B
Makefile
# $NetBSD: Makefile,v 1.25 2008/10/11 09:31:58 uebayasi Exp $
|
|
|
|
DISTNAME= w3-4.0pre.47
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}w3-4.0b47
|
|
PKGREVISION= 2
|
|
CATEGORIES= www
|
|
MASTER_SITES= ${MASTER_SITE_XEMACS:=emacs-w3/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.gnu.org/software/w3/
|
|
COMMENT= World Wide Web browser for Emacs
|
|
|
|
# included in xemacs-packages
|
|
# emacs22 doesn't work
|
|
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-emacs
|
|
CONFIGURE_ARGS+= --enable-site-install
|
|
CONFIGURE_ARGS+= --with-lispdir=${EMACS_LISPPREFIX}/w3
|
|
CONFIGURE_ARGS+= --datadir=${ETCDIR}
|
|
INFO_FILES= # PLIST
|
|
|
|
PLIST_SUBST+= ETCDIR=${ETCDIR:S/^${PREFIX}\///:Q}
|
|
|
|
ETCDIR= ${ETCDIR.${EMACS_FLAVOR}}
|
|
|
|
ETCDIR.emacs= ${PREFIX}/share/w3
|
|
ETCDIR.xemacs= ${EMACS_LISPPREFIX:H}/etc/w3
|
|
|
|
.include "../../editors/emacs/modules.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|