freebsd-ports/mail/mailest/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

53 lines
1.4 KiB
Makefile

# $FreeBSD$
PORTNAME= mailest
PORTVERSION= 0.9.24
DISTVERSIONPREFIX= ${PORTNAME}-
PORTREVISION= 3
CATEGORIES= mail
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
MAINTAINER= hrs@FreeBSD.org
COMMENT= Hyper Estraier backend for Mew
LICENSE= BSD2CLAUSE BSD3CLAUSE ISCL LGPL21
LICENSE_COMB= multi
.for L in ${LICENSE}
LICENSE_FILE_${L}= ${WRKSRC}/LICENSE.${L}
.endfor
LIB_DEPENDS= libevent.so:devel/libevent \
libqdbm.so:databases/qdbm \
libestraier.so:textproc/hyperestraier
RUN_DEPENDS= mew${EMACS_PKGNAMESUFFIX}>0:mail/mew@${EMACS_FLAVOR}
USES= emacs:run fakeroot iconv
USE_GITHUB= yes
GH_ACCOUNT= yasuoka
MAKE_ENV= USE_BSDMAKE=true WITH_INSTALL_AS_USER=true
LICENSE_BSD2CLAUSE_SRC= bytebuf.c replace/sys/tree.h
LICENSE_BSD3CLAUSE_SRC= replace/sys/queue.h
LICENSE_ISCL_SRC= mailestctl.c parser.c parser.h \
replace/open_memstream.c \
replace/reallocarray.c \
replace/replace.h \
replace/strlcat.c \
replace/strtonum.c
LICENSE_LGPL21_SRC= estdraft.c
LICENSE_BSD2CLAUSE_REGEX="/ \* [Cc]opyright/,/ \*\//!d;s,^ \*,,;s,^/,,"
LICENSE_BSD3CLAUSE_REGEX=${LICENSE_BSD2CLAUSE_REGEX}
LICENSE_ISCL_REGEX= ${LICENSE_BSD2CLAUSE_REGEX}
LICENSE_LGPL21_REGEX= "/^\/\*\*/,/\*\*\//!d;s,^ \*,,;s,^/,,"
post-extract:
.for L in ${LICENSE}
.for F in ${LICENSE_${L}_SRC}
cd ${WRKSRC} && ${SED} -e ${LICENSE_${L}_REGEX} ${F} \
>> ${LICENSE_FILE_${L}}
.endfor
.endfor
.include <bsd.port.mk>