Line 0
Link Here
|
|
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= afew |
4 |
DISTVERSION= 1.2.0 |
5 |
CATEGORIES= mail python |
6 |
MASTER_SITES= CHEESESHOP |
7 |
|
8 |
MAINTAINER= seschwar@gmail.com |
9 |
COMMENT= Initial tagging script for notmuch mail |
10 |
|
11 |
LICENSE= ISCL |
12 |
|
13 |
BUILD_DEPENDS= \ |
14 |
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm \ |
15 |
${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx |
16 |
RUN_DEPENDS= \ |
17 |
${PYTHON_PKGNAMEPREFIX}chardet>=0:textproc/py-chardet \ |
18 |
${PYTHON_PKGNAMEPREFIX}notmuch>=0:mail/py-notmuch \ |
19 |
notmuch:mail/notmuch |
20 |
|
21 |
USES= python |
22 |
USE_PYTHON= autoplist distutils |
23 |
|
24 |
NO_ARCH= yes |
25 |
PLIST_FILES= man/man1/afew.1.gz |
26 |
|
27 |
post-build: |
28 |
${MAKE} -C ${WRKSRC}/docs man |
29 |
|
30 |
post-install: |
31 |
${INSTALL_MAN} ${WRKSRC}/docs/build/man/afew.1 ${STAGEDIR}${PREFIX}/man/man1/ |
32 |
|
33 |
.include <bsd.port.pre.mk> |
34 |
|
35 |
.if ${PYTHON_REL} < 3000 |
36 |
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}subprocess32>=0:devel/py-subprocess32 |
37 |
.endif |
38 |
|
39 |
.include <bsd.port.post.mk> |