summaryrefslogtreecommitdiffstats
path: root/mail/mailpile/Makefile
blob: d0b1481d91cb88f25c2ac824fb04b45f116a5653 (plain)
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
# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$

PORTNAME=	mailpile
PORTVERSION=	0.5.2
PORTREVISION=	1
CATEGORIES=	mail security

MAINTAINER=	yuri@rawbw.com
COMMENT=	Locally hosted web-browser based mail client

LICENSE=	AGPLv3+
LICENSE_FILE=	${WRKSRC}/AGPLv3.txt

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml \
		${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2 \
		${PYTHON_PKGNAMEPREFIX}pgpdump>=0:security/py-pgpdump \
		${PYTHON_PKGNAMEPREFIX}dns>=0:dns/py-dns \
		${PYTHON_PKGNAMEPREFIX}spambayes>=0:mail/py-spambayes

USE_GITHUB=	yes
GH_ACCOUNT=	mailpile
GH_PROJECT=	Mailpile

USES=		gettext python shebangfix
python_OLD_CMD=	/usr/bin/python2
SHEBANG_FILES=	mailpile/contrib/gui/gui-o-matic.py \
		mailpile/contrib/gui/gui-test.sh \
		mailpile/contrib/gui/icons-osx/mk_icons.sh
USE_PYTHON=	autoplist distutils
NO_ARCH=	yes

post-patch:
	@${REINPLACE_CMD} -e 's,^#!/bin/bash,#!/bin/sh,g' ${WRKSRC}/scripts/*.sh

.include <bsd.port.mk>
OpenPOWER on IntegriCloud