# $NetBSD: Makefile,v 1.24 2018/07/04 13:40:23 jperkin Exp $ DISTNAME= gnus-5.10.10 PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME} CATEGORIES= mail news MASTER_SITES= http://gnus.org/dist/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://gnus.org/ COMMENT= Gnus is a flexible message reader running under GNU Emacs LICENSE= gnu-gpl-v3 #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= yes SUBST_CLASSES+= destdir SUBST_FILES.destdir= etc/Makefile.in lisp/Makefile.in texi/Makefile.in SUBST_STAGE.destdir= pre-configure SUBST_MESSAGE.destdir= Convert install to ${DESTDIR} SUBST_SED.destdir= -e '/(etcdir)/s,\$$(etcdir),\$$(DESTDIR)/\$$(etcdir)/,' SUBST_SED.destdir+= -e '/(lispdir)/s,\$$(lispdir),\$$(DESTDIR)/\$$(lispdir)/,' SUBST_SED.destdir+= -e '/(infodir)/s,\$$(infodir),\$$(DESTDIR)/\$$(infodir)/,' .include "../../editors/emacs/modules.mk" .include "../../mk/bsd.pkg.mk"