summaryrefslogtreecommitdiff
path: root/mail/mew-devel/Makefile
blob: d0d021a3504d2ffa2d75a7c8266e7b0e8cc2564b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
PORTNAME=	mew
DISTVERSIONPREFIX=	v
DISTVERSION=	6.8-72
DISTVERSIONSUFFIX=	-gfc4bca6
PORTREVISION=	3
CATEGORIES=	mail elisp
PKGNAMESUFFIX=	-devel${EMACS_PKGNAMESUFFIX}

MAINTAINER=	yasu@FreeBSD.org
COMMENT=	Messaging in the Emacs World for emacs (Development Version)

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/00copyright

USES=		emacs
USE_GITHUB=	yes

CONFLICTS_INSTALL=	${PORTNAME}${EMACS_PKGNAMESUFFIX}

GH_ACCOUNT=	kazu-yamamoto
GH_PROJECT=	Mew

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-elispdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew \
		--with-etcdir=${LOCALBASE}/${EMACS_SITE_LISPDIR}/mew/etc

# target name for make build and install
ALL_TARGET=	all info
INSTALL_TARGET=	install

SUB_FILES=	pkg-message

INFO=		mew

PORTDOCS=	00api 00changes.0 00changes.1 00changes.2 00changes.3 \
		00changes.4.1 00changes.4.2 00changes.5.1 00changes.5.2 \
		00changes.6.1 00changes.6.2 00changes.6.3 00changes.6.4 \
		00changes.6.5 00changes.6.6 00changes.6.7 00changes.6.8 00diff \
		00readme dot.emacs dot.mew dot.theme

OPTIONS_DEFINE=		DATABASE DOCS STUNNEL
OPTIONS_DEFAULT=	STUNNEL
DATABASE_DESC=		Support database feature (with Ruby & Sqlite3)
DATABASE_RUN_DEPENDS=	rubygem-sqlite3>=0:databases/rubygem-sqlite3
DOCS_ALL_TARGET=	jinfo
DOCS_INSTALL_TARGET=	install-jinfo
DOCS_INFO=		mew.ja
STUNNEL_DESC=		Support TLS
STUNNEL_RUN_DEPENDS=	stunnel>=0:security/stunnel

post-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>