freebsd-ports/databases/bbdb/Makefile
Joseph Mingrone bea2b0b802 editors/emacs: Update to version 27.1
Please refer to the 20200811 UPDATING entry when upgrading
dependent (*-emacs26-*) ports.

Port changes:

- depend on math/gmp
- match upstream by turning CAIRO, HARFBUZZ, and JSON options and on and
  turning MAGICK off by default
- remove OPENMP check for graphics/ImageMagick as the openmp is now
  included in base
- update EMACS_VER in Mk/Uses/emacs.mk
- bump USES=emacs ports or remove BROKEN for net-im/jabber.el and
  deskutils/howm, which now build

Submitted by:	HIROSE Yuuji <yuuji@gentei.org> (canna patch)
Reviewed by:	ashish
Differential Revision:	https://reviews.freebsd.org/D23966
2020-08-12 18:30:06 +00:00

52 lines
1.4 KiB
Makefile

# Created by: Yoichi NAKAYAMA <yoichi@FreeBSD.org>
# $FreeBSD$
PORTNAME= bbdb
DISTVERSIONPREFIX= v
DISTVERSION= 3.2
PORTREVISION= 3
CATEGORIES= databases elisp
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Big Brother Database
LICENSE= GPLv3+
BUILD_DEPENDS= texi2dvi:print/texinfo
USES= autoreconf emacs
USE_GITHUB= yes
GH_ACCOUNT= emacsmirror
USE_TEX= latex:build
BBDB_LISPDIR= ${EMACS_SITE_LISPDIR}/${PORTNAME}
GNU_CONFIGURE= yes
# Do not install the info file. Upstream has yet to add any real content to it.
#INFO= bbdb
PORTDOCS= bbdb.pdf
NO_ARCH= yes
PLIST_SUB+= BBDB_LISPDIR=${BBDB_LISPDIR}
OPTIONS_DEFINE= DOCS
# See http://lists.nongnu.org/archive/html/bbdb-user/2018-11/msg00003.html
.if ${FLAVOR:U} != devel_full && ${FLAVOR:U} != devel_nox
post-configure:
${REINPLACE_CMD} -e '/[[:blank:]]*--eval '\''(setq byte-compile-dest-file-function (lambda (_) "$$@"))'\'' \\/d' \
${WRKSRC}/lisp/Makefile
.endif
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/${BBDB_LISPDIR}
${INSTALL_DATA} ${WRKSRC}/lisp/*.el ${WRKSRC}/lisp/*.elc \
${STAGEDIR}${PREFIX}/${BBDB_LISPDIR}
# Do not install the info file. Upstream has yet to add any real content to it.
# ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.info \
# ${STAGEDIR}${PREFIX}/${INFO_PATH}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/bbdb.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>