1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/mail/mailpile/Makefile
Mathieu Arnold 4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00

37 lines
1.0 KiB
Makefile

# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$
PORTNAME= mailpile
PORTVERSION= 0.5.2
PORTREVISION= 1
CATEGORIES= mail security
MAINTAINER= yuri@FreeBSD.org
COMMENT= Locally hosted web-browser based mail client
LICENSE= AGPLv3+
LICENSE_FILE= ${WRKSRC}/AGPLv3.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pgpdump>=0:security/py-pgpdump@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dns>=0:dns/py-dns@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}spambayes>=0:mail/py-spambayes@${PY_FLAVOR}
PORTSCOUT= limit:^[1-9]
USES= gettext python:2.7 shebangfix
USE_GITHUB= yes
GH_PROJECT= Mailpile
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>