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

PORTNAME=   mailpile
PORTVERSION=    0.5.2
CATEGORIES= mail security

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

LICENSE=    AGPLv3

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

USE_GITHUB= yes
GH_ACCOUNT= mailpile
GH_PROJECT= Mailpile

USES=       gettext python
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>