aboutsummaryrefslogtreecommitdiffstats
path: root/mail/muttils/Makefile
blob: 2b7478cabf5e30ec89ecd5fff271450b6eb8cfe5 (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
# Created by: Jason Helfman <jhelfman@experts-exchange.com>
# $FreeBSD$

PORTNAME=   muttils
PORTVERSION=    1.3
CATEGORIES= mail python
MASTER_SITES=   https://bitbucket.org/blacktrash/${PORTNAME}/get/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   ${PORTVERSION}

MAINTAINER= jgh@FreeBSD.org
COMMENT=    Python utilities for console mail clients (eg. mutt)

CONFLICTS=  zh-wenju-[0-9]* talkfilters-[0-9]* reed-[0-9]*

CHANGESET=  8bb26094df06
WRKSRC=     ${WRKDIR}/blacktrash-${PORTNAME}-${CHANGESET}
USE_PYTHON_BUILD=   yes
USE_PYTHON_RUN=     yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

PORTEXAMPLES=   *

.include <bsd.port.options.mk>

post-install:
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    ( cd ${WRKSRC}/contrib && ${INSTALL_DATA} \example-* ${STAGEDIR}${EXAMPLESDIR} )

.include <bsd.port.mk>