Lines 7-13
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= trytond |
8 |
PORTNAME= trytond |
9 |
PORTVERSION= 2.4.1 |
9 |
PORTVERSION= 2.4.1 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 2 |
11 |
CATEGORIES= finance python |
11 |
CATEGORIES= finance python |
12 |
MASTER_SITES= http://downloads2.tryton.org/${PORTVERSION:R}/ |
12 |
MASTER_SITES= http://downloads2.tryton.org/${PORTVERSION:R}/ |
13 |
|
13 |
|
Lines 24-38
Link Here
|
24 |
${PYTHON_PKGNAMEPREFIX}polib>=0.7.0:${PORTSDIR}/devel/py-polib |
24 |
${PYTHON_PKGNAMEPREFIX}polib>=0.7.0:${PORTSDIR}/devel/py-polib |
25 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
25 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
26 |
|
26 |
|
27 |
OPTIONS_DEFINE= WEBDAV OPENSSL PYDOT PYTZ |
27 |
USERS= trytond |
|
|
28 |
GROUPS= trytond |
29 |
|
30 |
OPTIONS_DEFINE= WEBDAV PYOPENSSL PYDOT PYTZ |
28 |
WEBDAV_DESC= Add support for pywebdav |
31 |
WEBDAV_DESC= Add support for pywebdav |
29 |
OPENSSL_DESC= Add support for pyOpenSSL |
32 |
PYOPENSSL_DESC= Add support for pyOpenSSL |
30 |
PYDOT_DESC= Add support for pydot |
33 |
PYDOT_DESC= Add support for pydot |
31 |
PYTZ_DESC= Add support for pytz |
34 |
PYTZ_DESC= Add support for pytz |
32 |
|
35 |
|
|
|
36 |
USE_RC_SUBR= ${PORTNAME} |
33 |
SUB_FILES= pkg-message |
37 |
SUB_FILES= pkg-message |
34 |
SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \ |
38 |
SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \ |
35 |
PYEASYINSTALL_EGG=${PYEASYINSTALL_EGG} |
39 |
PYEASYINSTALL_EGG=${PYEASYINSTALL_EGG} \ |
|
|
40 |
PYTHON=${PYTHON_CMD} |
36 |
|
41 |
|
37 |
USE_PYTHON= yes |
42 |
USE_PYTHON= yes |
38 |
USE_PYDISTUTILS=easy_install |
43 |
USE_PYDISTUTILS=easy_install |
Lines 56-61
Link Here
|
56 |
.endif |
61 |
.endif |
57 |
|
62 |
|
58 |
post-install: |
63 |
post-install: |
|
|
64 |
${CP} -p ${WRKSRC}/etc/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample |
65 |
@if [ ! -f ${PREFIX}/etc/${PORTNAME}.conf ]; then \ |
66 |
${CP} -p ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf ; \ |
67 |
fi |
59 |
@${CAT} ${PKGMESSAGE} |
68 |
@${CAT} ${PKGMESSAGE} |
60 |
|
69 |
|
61 |
.include <bsd.port.mk> |
70 |
.include <bsd.port.mk> |