blob: 857bc2e380cb9d11c41d40719363664eeb1c4e35 (
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
|
# $FreeBSD$
PORTNAME= calendar
PORTVERSION= 0.15423
CATEGORIES= devel python
MASTER_SITES= http://www.lechner-rau.de/downloads/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pycalendar-${PORTVERSION}
MAINTAINER= axel.rau@chaos1.de
COMMENT= Library for iCalendar/vCard data
LICENSE= APACHE20
FETCH_DEPENDS= svn:devel/subversion
USES= python:2.7
USE_PYTHON= distutils autoplist
NO_ARCH=yes
SVN_REPOSITORY_URL= http://svn.calendarserver.org/repository/calendarserver
SVN_TAG2= PyCalendar/trunk
SVN_CMD2= svn export -r15423
maint-gen-distfile:
@if [ ! -f "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}" ] ; then \
${MKDIR} ${WRKDIR} ; cd ${WRKDIR} ; ${RM} -Rf ${WRKDIR}/${DISTNAME} ; \
${ECHO_MSG} "=> Checking out PyCalendar from svn.calendarserver.org/..."; \
${SVN_CMD2} ${SVN_REPOSITORY_URL}/${SVN_TAG2} > /dev/null ; \
${MV} trunk ${DISTNAME} ; \
${ECHO_MSG} "=> Creating tar archive ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}"; \
cd ${WRKDIR} ; tar -czf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${DISTNAME} ; \
${RM} -Rf ${WRKDIR}/${DISTNAME} ; \
else \
${ECHO_MSG} "===> ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} found." ; \
fi
.include <bsd.port.mk>
|