pkgsrc/misc/bbdb/Makefile
rillig b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00

47 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2005/12/05 20:50:38 rillig Exp $
#
DISTNAME= bbdb-2.34
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
CATEGORIES= mail misc news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bbdb/}
MAINTAINER= minoura@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/bbdb/
COMMENT= Insidious Big Brother DataBase, a rolodex-like database Emacs program
# bbdb is included in xemacs-packages
EMACS_VERSIONS_ACCEPTED= emacs21 emacs21nox emacs20
CONFLICTS+= xemacs-packages
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
BUILD_TARGET= all mhe
USE_MAKEINFO= yes
INFO_FILES= bbdb.info
INFO_DIR= ${INFODIR}
PLIST_SUBST+= INFODIR=${INFODIR:Q}
.include "../../mk/emacs.mk"
.if ${EMACS_FLAVOR} == "xemacs"
CONFIGURE_ARGS+= --with-emacs=xemacs
CONFIGURE_ARGS+= --with-package-dir=${PREFIX}/lib/xemacs/site-packages
INSTALL_TARGET= install-pkg
INFODIR= lib/xemacs/site-packages/info
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/${INFODIR}
.else
LISPDIR= ${EMACS_LISPPREFIX}/bbdb
INFODIR= info
INSTALLATION_DIRS= ${INFO_DIR}
do-install:
${MKDIR} ${LISPDIR}
${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${LISPDIR}
${INSTALL_DATA} ${WRKSRC}/lisp/*.elc ${LISPDIR}
${INSTALL_DATA} ${WRKSRC}/texinfo/bbdb.info* ${PREFIX}/${INFO_DIR}
.endif
.include "../../mk/bsd.pkg.mk"