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.
29 lines
842 B
Makefile
29 lines
842 B
Makefile
# $NetBSD: Makefile,v 1.16 2008/10/11 09:31:57 uebayasi Exp $
|
|
|
|
DISTNAME= gnus-5.10.8
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
|
CATEGORIES= mail news
|
|
MASTER_SITES= http://gnus.org/dist/
|
|
|
|
MAINTAINER= lha@NetBSD.org
|
|
HOMEPAGE= http://gnus.org/
|
|
COMMENT= Gnus is a flexible message reader running under GNU Emacs
|
|
|
|
#EMACS_VERSIONS_ACCEPTED= emacs21 emacs20 xemacs211 xemacs215
|
|
|
|
DEPENDS+= digest>=20010101:../../pkgtools/digest
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-lispdir=${EMACS_LISPPREFIX}/gnus
|
|
CONFIGURE_ARGS+= --with-etcdir=${PREFIX}/share/gnus
|
|
CONFIGURE_ENV+= EMACS=${EMACS_BIN:Q}
|
|
EMACS_MODULES+= base
|
|
|
|
# Avoid conflicting with Emacsen provided gnus info files
|
|
GNU_CONFIGURE_INFODIR= ${PREFIX}/share/doc/gnus/info
|
|
|
|
USE_TOOLS+= makeinfo
|
|
INFO_FILES= # PLIST
|
|
|
|
.include "../../editors/emacs/modules.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|