2018-07-04 15:40:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.24 2018/07/04 13:40:23 jperkin Exp $
|
2003-05-31 15:56:40 +02:00
|
|
|
|
2014-11-23 06:59:45 +01:00
|
|
|
DISTNAME= gnus-5.10.10
|
2005-08-28 06:25:28 +02:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
2006-11-10 18:57:51 +01:00
|
|
|
CATEGORIES= mail news
|
2007-02-22 20:01:13 +01:00
|
|
|
MASTER_SITES= http://gnus.org/dist/
|
2003-05-31 15:56:40 +02:00
|
|
|
|
2010-03-12 12:46:40 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2007-02-22 20:01:13 +01:00
|
|
|
HOMEPAGE= http://gnus.org/
|
2003-05-31 15:56:40 +02:00
|
|
|
COMMENT= Gnus is a flexible message reader running under GNU Emacs
|
2014-11-23 06:59:45 +01:00
|
|
|
LICENSE= gnu-gpl-v3
|
2003-05-31 15:56:40 +02:00
|
|
|
|
|
|
|
#EMACS_VERSIONS_ACCEPTED= emacs21 emacs20 xemacs211 xemacs215
|
|
|
|
|
2003-12-31 19:39:42 +01:00
|
|
|
DEPENDS+= digest>=20010101:../../pkgtools/digest
|
|
|
|
|
2003-05-31 15:56:40 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS+= --with-lispdir=${EMACS_LISPPREFIX}/gnus
|
|
|
|
CONFIGURE_ARGS+= --with-etcdir=${PREFIX}/share/gnus
|
2006-03-20 18:13:57 +01:00
|
|
|
CONFIGURE_ENV+= EMACS=${EMACS_BIN:Q}
|
|
|
|
EMACS_MODULES+= base
|
|
|
|
|
2003-07-08 11:58:53 +02:00
|
|
|
# Avoid conflicting with Emacsen provided gnus info files
|
2006-03-20 18:13:57 +01:00
|
|
|
GNU_CONFIGURE_INFODIR= ${PREFIX}/share/doc/gnus/info
|
2003-05-31 15:56:40 +02:00
|
|
|
|
2006-03-05 17:27:22 +01:00
|
|
|
USE_TOOLS+= makeinfo
|
2013-04-06 22:27:16 +02:00
|
|
|
INFO_FILES= yes
|
2003-05-31 15:56:40 +02:00
|
|
|
|
2014-11-23 06:59:45 +01:00
|
|
|
SUBST_CLASSES+= destdir
|
|
|
|
SUBST_FILES.destdir= etc/Makefile.in lisp/Makefile.in texi/Makefile.in
|
2018-07-04 15:40:07 +02:00
|
|
|
SUBST_STAGE.destdir= pre-configure
|
2014-11-23 06:59:45 +01:00
|
|
|
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)/,'
|
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2003-05-31 15:56:40 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|