Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= calendarserver |
3 |
PORTNAME= calendarserver |
4 |
PORTVERSION= 5.1 |
4 |
PORTVERSION= 5.1 |
5 |
PORTREVISION= 1 |
5 |
PORTREVISION= 2 |
6 |
CATEGORIES= www python |
6 |
CATEGORIES= www python |
7 |
MASTER_SITES= LOCAL/wg |
7 |
MASTER_SITES= LOCAL/wg |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 39-50
Link Here
|
39 |
SUB_FILES= pkg-message |
39 |
SUB_FILES= pkg-message |
40 |
SUB_LIST+= USER=${USERS} |
40 |
SUB_LIST+= USER=${USERS} |
41 |
|
41 |
|
|
|
42 |
python_OLD_CMD= /usr/bin/env python |
43 |
python_CMD= ${PYTHON_CMD} |
44 |
|
42 |
SHEBANG_FILES=\ |
45 |
SHEBANG_FILES=\ |
|
|
46 |
${WRKSRC}/bin/calendarserver_backup \ |
47 |
${WRKSRC}/bin/calendarserver_bootstrap_database \ |
48 |
${WRKSRC}/bin/calendarserver_command_gateway \ |
49 |
${WRKSRC}/bin/calendarserver_config \ |
50 |
${WRKSRC}/bin/calendarserver_dbinspect \ |
51 |
${WRKSRC}/bin/calendarserver_dkimtool \ |
52 |
${WRKSRC}/bin/calendarserver_export \ |
53 |
${WRKSRC}/bin/calendarserver_icalendar_validate \ |
54 |
${WRKSRC}/bin/calendarserver_load_augmentdb \ |
55 |
${WRKSRC}/bin/calendarserver_make_partition \ |
56 |
${WRKSRC}/bin/calendarserver_manage_postgres \ |
57 |
${WRKSRC}/bin/calendarserver_manage_principals \ |
58 |
${WRKSRC}/bin/calendarserver_manage_push \ |
59 |
${WRKSRC}/bin/calendarserver_manage_timezones \ |
60 |
${WRKSRC}/bin/calendarserver_migrate_resources \ |
61 |
${WRKSRC}/bin/calendarserver_monitor_amp_notifications \ |
62 |
${WRKSRC}/bin/calendarserver_monitor_notifications \ |
63 |
${WRKSRC}/bin/calendarserver_monitor_work \ |
64 |
${WRKSRC}/bin/calendarserver_purge_attachments \ |
65 |
${WRKSRC}/bin/calendarserver_purge_events \ |
66 |
${WRKSRC}/bin/calendarserver_purge_principals \ |
67 |
${WRKSRC}/bin/calendarserver_shell \ |
68 |
${WRKSRC}/bin/calendarserver_upgrade \ |
69 |
${WRKSRC}/bin/calendarserver_verify_data \ |
70 |
${WRKSRC}/bin/icalendar_split \ |
71 |
${WRKSRC}/bin/proxyclean \ |
43 |
${WRKSRC}/calendarserver/tools/backup_pg.py \ |
72 |
${WRKSRC}/calendarserver/tools/backup_pg.py \ |
44 |
${WRKSRC}/calendarserver/tools/backup.py \ |
73 |
${WRKSRC}/calendarserver/tools/backup.py \ |
45 |
${WRKSRC}/twext/python/test/pullpipe.py |
74 |
${WRKSRC}/twext/python/test/pullpipe.py |
46 |
|
75 |
|
47 |
USE_RC_SUBR= caldavd |
76 |
USE_RC_SUBR= caldavd |
|
|
77 |
SUB_LIST+= PYTHON_CMD=${PYTHON_CMD} |
48 |
|
78 |
|
49 |
SVN_REPOSITORY_URL= http://svn.calendarserver.org/repository/calendarserver |
79 |
SVN_REPOSITORY_URL= http://svn.calendarserver.org/repository/calendarserver |
50 |
SVN_TAG1= CalendarServer/tags/release/${DISTNAME} |
80 |
SVN_TAG1= CalendarServer/tags/release/${DISTNAME} |
Lines 77-86
Link Here
|
77 |
fi |
107 |
fi |
78 |
|
108 |
|
79 |
post-patch: |
109 |
post-patch: |
80 |
|
|
|
81 |
@${REINPLACE_CMD} -e 's|"{number} ({info})".format(number=version_number, info=version_info)|"5.1"|' ${WRKSRC}/setup.py |
110 |
@${REINPLACE_CMD} -e 's|"{number} ({info})".format(number=version_number, info=version_info)|"5.1"|' ${WRKSRC}/setup.py |
82 |
@${REINPLACE_CMD} -e 's|distutils.core|setuptools|g' ${WRKSRC}/setup.py |
111 |
@${REINPLACE_CMD} -e 's|distutils.core|setuptools|g' ${WRKSRC}/setup.py |
83 |
@${REINPLACE_CMD} -e 's|bin/bash|usr/bin/env bash|' ${WRKSRC}/bin/caldavd |
|
|
84 |
@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g' ${WRKSRC}/calendarserver/tools/bootstrapdatabase.py |
112 |
@${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g' ${WRKSRC}/calendarserver/tools/bootstrapdatabase.py |
85 |
@${REINPLACE_CMD} -e 's|"/etc/caldavd/caldavd.plist"|"${ETCDIR}/caldavd.plist"|g' ${WRKSRC}/twistedcaldav/stdconfig.py |
113 |
@${REINPLACE_CMD} -e 's|"/etc/caldavd/caldavd.plist"|"${ETCDIR}/caldavd.plist"|g' ${WRKSRC}/twistedcaldav/stdconfig.py |
86 |
@${REINPLACE_CMD} -e 's|/usr/share/caldavd/lib/python/txdav/common/datastore|${SHAREDIR}|' ${WRKSRC}/calendarserver/tools/bootstrapdatabase.py |
114 |
@${REINPLACE_CMD} -e 's|/usr/share/caldavd/lib/python/txdav/common/datastore|${SHAREDIR}|' ${WRKSRC}/calendarserver/tools/bootstrapdatabase.py |