Lines 1-10
Link Here
|
1 |
# $FreeBSD$ |
1 |
# $FreeBSD$ |
2 |
|
2 |
|
3 |
PORTNAME= ccnet |
3 |
PORTNAME= ccnet |
4 |
PORTVERSION= 4.0.6 |
4 |
PORTVERSION= 5.0.2 |
5 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSIONPREFIX= v |
6 |
DISTVERSIONSUFFIX= -server |
6 |
DISTVERSIONSUFFIX= -server |
7 |
PORTREVISION= 6 |
|
|
8 |
CATEGORIES= net-mgmt devel |
7 |
CATEGORIES= net-mgmt devel |
9 |
|
8 |
|
10 |
MAINTAINER= ultima1252@gmail.com |
9 |
MAINTAINER= ultima1252@gmail.com |
Lines 11-16
Link Here
|
11 |
COMMENT= Framework for writing networked applications |
10 |
COMMENT= Framework for writing networked applications |
12 |
|
11 |
|
13 |
LICENSE= GPLv3 |
12 |
LICENSE= GPLv3 |
|
|
13 |
LICENSE_FILE= ${WRKSRC}/LICENCE.txt |
14 |
|
14 |
|
15 |
BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala |
15 |
BUILD_DEPENDS= valac:${PORTSDIR}/lang/vala |
16 |
LIB_DEPENDS= libsearpc.so:${PORTSDIR}/devel/libsearpc \ |
16 |
LIB_DEPENDS= libsearpc.so:${PORTSDIR}/devel/libsearpc \ |
Lines 26-55
Link Here
|
26 |
USE_GITHUB= yes |
26 |
USE_GITHUB= yes |
27 |
GH_ACCOUNT= haiwen |
27 |
GH_ACCOUNT= haiwen |
28 |
|
28 |
|
29 |
USES= autoreconf libtool pkgconfig pathfix python:2 |
29 |
USES= autoreconf libtool localbase pathfix pkgconfig python:-2.7 \ |
|
|
30 |
shebangfix |
31 |
USE_LDCONFIG= yes |
32 |
USE_OPENSSL= yes |
33 |
SHEBANG_FILES= tools/*.py |
30 |
PATHFIX_MAKEFILEIN= Makefile.am |
34 |
PATHFIX_MAKEFILEIN= Makefile.am |
31 |
USE_LDCONFIG= yes |
|
|
32 |
|
35 |
|
33 |
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/event2 |
|
|
34 |
LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib/event2 |
35 |
CONFIGURE_ENV= SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" |
36 |
CONFIGURE_ENV= SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" |
36 |
GNU_CONFIGURE= yes |
37 |
GNU_CONFIGURE= yes |
37 |
CONFIGURE_ARGS+=--enable-server --enable-ldap |
38 |
CONFIGURE_ARGS+= --enable-server --enable-ldap |
38 |
INSTALL_TARGET= install-strip |
39 |
INSTALL_TARGET= install-strip |
39 |
|
40 |
|
40 |
USE_OPENSSL= yes |
|
|
41 |
|
42 |
HAIWENDIR= www/haiwen |
41 |
HAIWENDIR= www/haiwen |
43 |
SEAFILE_SERVER= ${HAIWENDIR}/seafile-server |
42 |
SEAFILE_SERVER= ${HAIWENDIR}/seafile-server |
44 |
SEABIN= ${SEAFILE_SERVER}/seafile/bin |
43 |
SEABIN= ${SEAFILE_SERVER}/seafile/bin |
45 |
SEALIB= ${SEAFILE_SERVER}/seafile/lib |
44 |
SEALIB= ${SEAFILE_SERVER}/seafile/lib |
46 |
|
45 |
|
47 |
SEAFILE_USERNAME?= www |
46 |
PLIST_SUB= SEAFILE_SERVER=${SEAFILE_SERVER} \ |
48 |
SEAFILE_GROUPNAME?= ${SEAFILE_USERNAME} |
|
|
49 |
|
50 |
PLIST_SUB= SEAFILE_USERNAME=${SEAFILE_USERNAME} \ |
51 |
SEAFILE_GROUPNAME=${SEAFILE_GROUPNAME} \ |
52 |
SEAFILE_SERVER=${SEAFILE_SERVER} \ |
53 |
HAIWENDIR=${HAIWENDIR} |
47 |
HAIWENDIR=${HAIWENDIR} |
54 |
|
48 |
|
55 |
.include <bsd.port.options.mk> |
49 |
.include <bsd.port.options.mk> |
Lines 69-73
Link Here
|
69 |
(cd ${STAGEDIR}${PREFIX}/lib && \ |
63 |
(cd ${STAGEDIR}${PREFIX}/lib && \ |
70 |
${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB}) |
64 |
${COPYTREE_SHARE} ${PYTHON_VERSION} ${STAGEDIR}${PREFIX}/${SEALIB}) |
71 |
@${RM} -rf ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION} |
65 |
@${RM} -rf ${STAGEDIR}${PREFIX}/lib/${PYTHON_VERSION} |
|
|
66 |
${LN} -s ${PREFIX}/${SEABIN}/ccnet-server ${STAGEDIR}${PREFIX}/bin/ |
72 |
|
67 |
|
73 |
.include <bsd.port.mk> |
68 |
.include <bsd.port.mk> |