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.
21 lines
512 B
Makefile
21 lines
512 B
Makefile
# $NetBSD: Makefile,v 1.2 2008/10/11 09:31:55 uebayasi Exp $
|
|
#
|
|
|
|
DISTNAME= mell-1.0.0
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://taiyaki.org/elisp/mell/src/
|
|
|
|
MAINTAINER= obache@NetBSD.org
|
|
HOMEPAGE= http://taiyaki.org/elisp/mell/
|
|
COMMENT= M Emacs Lisp Library
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LANGUAGES= # none
|
|
|
|
CONFIGURE_ARGS+= --with-emacs-sitelispdir=${EMACS_LISPPREFIX}
|
|
|
|
.include "../../editors/emacs/modules.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|