head	1.3;
access;
symbols
	pkgsrc-2026Q2:1.3.0.24
	pkgsrc-2026Q2-base:1.3
	pkgsrc-2026Q1:1.3.0.22
	pkgsrc-2026Q1-base:1.3
	pkgsrc-2025Q4:1.3.0.20
	pkgsrc-2025Q4-base:1.3
	pkgsrc-2025Q3:1.3.0.18
	pkgsrc-2025Q3-base:1.3
	pkgsrc-2025Q2:1.3.0.16
	pkgsrc-2025Q2-base:1.3
	pkgsrc-2025Q1:1.3.0.14
	pkgsrc-2025Q1-base:1.3
	pkgsrc-2024Q4:1.3.0.12
	pkgsrc-2024Q4-base:1.3
	pkgsrc-2024Q3:1.3.0.10
	pkgsrc-2024Q3-base:1.3
	pkgsrc-2024Q2:1.3.0.8
	pkgsrc-2024Q2-base:1.3
	pkgsrc-2024Q1:1.3.0.6
	pkgsrc-2024Q1-base:1.3
	pkgsrc-2023Q4:1.3.0.4
	pkgsrc-2023Q4-base:1.3
	pkgsrc-2023Q3:1.3.0.2
	pkgsrc-2023Q3-base:1.3
	pkgsrc-2023Q2:1.1.0.10
	pkgsrc-2023Q2-base:1.1
	pkgsrc-2023Q1:1.1.0.8
	pkgsrc-2023Q1-base:1.1
	pkgsrc-2022Q4:1.1.0.6
	pkgsrc-2022Q4-base:1.1
	pkgsrc-2022Q3:1.1.0.4
	pkgsrc-2022Q3-base:1.1
	pkgsrc-2022Q2:1.1.0.2
	pkgsrc-2022Q2-base:1.1;
locks; strict;
comment	@# @;


1.3
date	2023.08.30.20.25.31;	author gdt;	state Exp;
branches;
next	1.2;
commitid	MjfGv8g7i1QqNQCE;

1.2
date	2023.08.27.14.52.55;	author gdt;	state Exp;
branches;
next	1.1;
commitid	sAIdtGZGPuus3rCE;

1.1
date	2022.06.05.02.27.31;	author mef;	state Exp;
branches;
next	;
commitid	h7M3OTupv1czkNGD;


desc
@@


1.3
log
@various: Drop emacs25 from EMACS_VERSIONS_ACCEPTED

(due to recent removal of emacs25)
@
text
@# $NetBSD: Makefile,v 1.2 2023/08/27 14:52:55 gdt Exp $

DISTNAME=		bbdb-2.35
PKGNAME=		${EMACS_PKGNAME_PREFIX}${DISTNAME:C/bbdb/bbdb2/}
CATEGORIES=		misc mail news
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=bbdb/}

MAINTAINER=		pkgsrc-users@@NetBSD.org
HOMEPAGE=		https://sourceforge.net/projects/bbdb/
COMMENT=		Insidious Big Brother DataBase, a rolodex-like database Emacs program
LICENSE=		gnu-gpl-v1

# bbdb is included in xemacs-packages
EMACS_VERSIONS_ACCEPTED=	emacs27 emacs26
EMACS_VERSIONS_ACCEPTED+=	emacs27nox emacs26nox
EMACS_VERSIONS_ACCEPTED+=	emacs21 emacs21nox

CONFLICTS+=		xemacs-packages-[0-9]*
# in case old one exists
CONFLICTS+=		bbdb-[0-9]*
CONFLICTS+=		bbdb3-[0-9]*

USE_PKGLOCALEDIR=	yes
CONFIGURE_ARGS+=	--enable-rmail
GNU_CONFIGURE=		yes
BUILD_TARGET=		all mhe
USE_TOOLS+=		makeinfo
INFO_FILES=		yes
LISPDIR=		${EMACS_LISPPREFIX}/bbdb
INSTALLATION_DIRS=	${EMACS_INFOPREFIX}
MAKE_JOBS_SAFE=		no

.include "../../editors/emacs/modules.mk"

post-extract:
	${RM} -rf ${WRKSRC}/lisp/*.elc

.if ${EMACS_FLAVOR} == "xemacs"
CONFIGURE_ARGS+=	--with-emacs=xemacs
CONFIGURE_ARGS+=	--with-package-dir=${PREFIX}/lib/xemacs/site-packages
INSTALL_TARGET=		install-pkg
.else
do-install:
	${MKDIR} ${DESTDIR}${LISPDIR}
	${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${DESTDIR}${LISPDIR}
	${INSTALL_DATA} ${WRKSRC}/lisp/*.elc ${DESTDIR}${LISPDIR}
	cd ${WRKSRC}/texinfo; for f in bbdb.info bbdb.info-[0-9]*; do	\
		${TEST} ! -f "$$f" ||					\
		${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\
	done
.endif

.include "../../mk/bsd.pkg.mk"
@


1.2
log
@bbdb2: Drop emacs28 from ACCEPTED

because it was reported failing after default was changed to 28.

Reorganize EMACS_VERSIONS_ACCEPTED to make it eaiser to edit; NFCI.

(It is true that I have no idea if this works for 27, and it is true
that this is old and should likely be deleted.  But that was true
before this edit also.)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2022/06/05 02:27:31 mef Exp $
d14 2
a15 2
EMACS_VERSIONS_ACCEPTED=	emacs27 emacs26 emacs25
EMACS_VERSIONS_ACCEPTED+=	emacs27nox emacs26nox emacs25nox
@


1.1
log
@misc/bbdb2: Moved from misc/bbdb version 2.35

(Moved from misc/bbdb, meaning rename directory and PKGBASE, see the
thread starting at
   http://mail-index.netbsd.org/pkgsrc-users/2022/05/31/msg035631.html
) Thank you,

The Insidious Big Brother DataBase is an emacs-based contact manager
that integrates itself into your mail and news clients.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2022/05/28 15:13:44 mef Exp $
d14 3
a16 3
EMACS_VERSIONS_ACCEPTED=	emacs28 emacs27 emacs26 emacs25 emacs25nox emacs21 emacs21nox
EMACS_VERSIONS_ACCEPTED+=	emacs28nox emacs27nox
EMACS_VERSIONS_ACCEPTED+=	emacs26 emacs26nox
@

