2015-07-10 01:24:27 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mailest
|
2016-11-04 19:06:56 +00:00
|
|
|
PORTVERSION= 0.9.22
|
2015-08-04 11:29:18 +00:00
|
|
|
DISTVERSIONPREFIX= ${PORTNAME}-
|
2018-05-31 01:18:05 +00:00
|
|
|
PORTREVISION= 5
|
2015-07-10 01:24:27 +00:00
|
|
|
CATEGORIES= mail
|
2018-02-01 18:03:09 +00:00
|
|
|
PKGNAMESUFFIX= ${EMACS_PKGNAMESUFFIX}
|
2015-07-10 01:24:27 +00:00
|
|
|
|
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
|
|
|
COMMENT= Hyper Estraier backend for Mew
|
|
|
|
|
2015-07-18 17:06:09 +00:00
|
|
|
LICENSE= BSD2CLAUSE BSD3CLAUSE ISCL LGPL21
|
2015-07-10 01:24:27 +00:00
|
|
|
LICENSE_COMB= multi
|
2015-07-18 17:06:09 +00:00
|
|
|
.for L in ${LICENSE}
|
|
|
|
LICENSE_FILE_${L}= ${WRKSRC}/LICENSE.${L}
|
|
|
|
.endfor
|
2015-07-10 01:24:27 +00:00
|
|
|
|
2017-02-20 02:57:04 +00:00
|
|
|
LIB_DEPENDS= libevent.so:devel/libevent \
|
2016-04-01 14:16:16 +00:00
|
|
|
libqdbm.so:databases/qdbm \
|
|
|
|
libestraier.so:textproc/hyperestraier
|
2018-02-01 18:03:09 +00:00
|
|
|
RUN_DEPENDS= mew${EMACS_PKGNAMESUFFIX}>0:mail/mew@${EMACS_FLAVOR}
|
2015-07-10 01:24:27 +00:00
|
|
|
|
2018-02-01 18:03:09 +00:00
|
|
|
USES= emacs fakeroot iconv
|
2015-07-10 01:24:27 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= yasuoka
|
2018-02-01 18:03:09 +00:00
|
|
|
|
2015-07-10 01:24:27 +00:00
|
|
|
MAKE_ENV= USE_BSDMAKE=true WITH_INSTALL_AS_USER=true
|
|
|
|
|
2015-07-18 17:06:09 +00:00
|
|
|
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,^/,,"
|
|
|
|
|
2015-07-10 01:24:27 +00:00
|
|
|
post-extract:
|
2015-07-18 17:06:09 +00:00
|
|
|
.for L in ${LICENSE}
|
|
|
|
.for F in ${LICENSE_${L}_SRC}
|
|
|
|
cd ${WRKSRC} && ${SED} -e ${LICENSE_${L}_REGEX} ${F} \
|
|
|
|
>> ${LICENSE_FILE_${L}}
|
|
|
|
.endfor
|
|
|
|
.endfor
|
2015-07-10 01:24:27 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|