aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-icalendar/Makefile
blob: 7431d66ba36c2ce564ec1900b80a4c045568b3b4 (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
# Ports collection makefile for:    py-icalendar
# Date created:         May 17, 2005
# Whom:             Kevin Lo <kevlo@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   icalendar
PORTVERSION=    0.9.3
CATEGORIES= devel python
MASTER_SITES=   http://www.mxm.dk/products/public/ical/downloads/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   iCalendar.${PORTVERSION}

MAINTAINER= kevlo@FreeBSD.org
COMMENT=    Parser and generator of iCalender files for Python

USE_PYTHON= yes
NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/iCalendar

do-install:
    ${MKDIR} ${PYTHON_SITELIBDIR}/iCalendar
    ${INSTALL_SCRIPT} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR}/iCalendar/
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>