summaryrefslogtreecommitdiffstats
path: root/www/pycarddav/Makefile
blob: cf5ba140b1548c7d397ea2b4543f4d74f9661f64 (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
37
38
39
# $FreeBSD$

PORTNAME=	pycarddav
PORTVERSION=	0.7.0
CATEGORIES=	www python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	pyCardDAV-${PORTVERSION}

MAINTAINER=	samir@noir.im
COMMENT=	Simple to use CardDAV CLI client

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/COPYING

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests \
		${PYTHON_PKGNAMEPREFIX}vobject>0:deskutils/py-vobject \
		${PYTHON_PKGNAMEPREFIX}urwid>0:devel/py-urwid \
		${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg \
		${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml \
		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3

USES=		python:2
USE_PYTHON=	autoplist distutils

PLIST_FILES+=	man/man1/pc_query.1.gz \
		man/man1/pycard-import.1.gz \
		man/man1/pycardsyncer.1.gz

PORTEXAMPLES=	pycard.conf.sample

SUB_FILES=	pkg-message

post-install:
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/pycard.conf.sample ${STAGEDIR}${EXAMPLESDIR}/pycard.conf.sample
	${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${STAGEDIR}${PREFIX}/man/man1

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