2011-10-12 02:42:59 +02:00
|
|
|
# $NetBSD: Makefile,v 1.26 2011/10/12 00:42:59 minskim Exp $
|
2003-09-04 15:45:52 +02:00
|
|
|
#
|
|
|
|
|
2011-10-12 02:42:59 +02:00
|
|
|
DISTNAME= bbdb-2.35
|
2005-08-28 06:25:28 +02:00
|
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
2003-09-04 15:45:52 +02:00
|
|
|
CATEGORIES= mail misc news
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bbdb/}
|
|
|
|
|
2003-12-24 10:53:47 +01:00
|
|
|
MAINTAINER= minoura@NetBSD.org
|
2003-09-04 15:45:52 +02:00
|
|
|
HOMEPAGE= http://sourceforge.net/projects/bbdb/
|
2003-12-30 18:09:32 +01:00
|
|
|
COMMENT= Insidious Big Brother DataBase, a rolodex-like database Emacs program
|
2003-09-04 15:45:52 +02:00
|
|
|
|
|
|
|
# bbdb is included in xemacs-packages
|
2011-10-11 21:30:40 +02:00
|
|
|
EMACS_VERSIONS_ACCEPTED= emacs24 emacs24nox emacs23 emacs23nox \
|
|
|
|
emacs22 emacs22nox emacs21 emacs21nox \
|
2011-05-13 16:21:46 +02:00
|
|
|
emacs20
|
2006-06-04 18:26:54 +02:00
|
|
|
CONFLICTS+= xemacs-packages-[0-9]*
|
2003-09-04 15:45:52 +02:00
|
|
|
|
2008-03-04 20:21:10 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2003-09-04 15:45:52 +02:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2011-10-12 02:42:59 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-rmail
|
2003-09-04 15:45:52 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= all mhe
|
2006-03-05 17:27:22 +01:00
|
|
|
USE_TOOLS+= makeinfo
|
2006-03-20 06:35:58 +01:00
|
|
|
INFO_FILES= # PLIST
|
|
|
|
LISPDIR= ${EMACS_LISPPREFIX}/bbdb
|
|
|
|
INSTALLATION_DIRS= ${EMACS_INFOPREFIX}
|
2010-05-06 08:06:47 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
2003-09-04 15:45:52 +02:00
|
|
|
|
2008-10-11 11:31:54 +02:00
|
|
|
.include "../../editors/emacs/modules.mk"
|
2003-09-04 15:45:52 +02:00
|
|
|
|
2011-10-12 02:42:59 +02:00
|
|
|
post-extract:
|
|
|
|
${RM} -rf ${WRKSRC}/lisp/*.elc
|
|
|
|
|
2003-09-04 15:45:52 +02:00
|
|
|
.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:
|
2008-03-04 20:21:10 +01:00
|
|
|
${MKDIR} ${DESTDIR}${LISPDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${DESTDIR}${LISPDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/lisp/*.elc ${DESTDIR}${LISPDIR}
|
2006-05-19 11:24:31 +02:00
|
|
|
cd ${WRKSRC}/texinfo; for f in bbdb.info bbdb.info-[0-9]*; do \
|
2006-03-20 06:35:58 +01:00
|
|
|
${TEST} ! -f "$$f" || \
|
2008-03-04 20:21:10 +01:00
|
|
|
${INSTALL_DATA} "$$f" ${DESTDIR}${PREFIX}/${PKGINFODIR};\
|
2006-03-20 06:35:58 +01:00
|
|
|
done
|
2003-09-04 15:45:52 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|