Lines 1-7
Link Here
|
1 |
PORTNAME= boinc-client |
1 |
PORTNAME= boinc-client |
2 |
PORTVERSION= 7.20.2 |
2 |
PORTVERSION= 7.24.1 |
3 |
DISTVERSIONPREFIX= client_release/7.20/ |
3 |
DISTVERSIONPREFIX= client_release/7.24/ |
4 |
PORTREVISION= 5 |
|
|
5 |
CATEGORIES= net |
4 |
CATEGORIES= net |
6 |
|
5 |
|
7 |
MAINTAINER= ler@FreeBSD.org |
6 |
MAINTAINER= ler@FreeBSD.org |
Lines 11-31
WWW= https://boinc.berkeley.edu/
Link Here
|
11 |
LICENSE= LGPL3 |
10 |
LICENSE= LGPL3 |
12 |
|
11 |
|
13 |
USES= autoreconf compiler:c++11-lang dos2unix gettext gmake libtool \ |
12 |
USES= autoreconf compiler:c++11-lang dos2unix gettext gmake libtool \ |
14 |
pkgconfig ssl tar:xz |
13 |
pkgconfig ssl tar |
15 |
INSTALL_TARGET= install-strip |
14 |
DOS2UNIX_GLOB= *.xpm |
16 |
GNU_CONFIGURE= yes |
|
|
17 |
USE_GITHUB= yes |
15 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= BOINC |
16 |
GH_ACCOUNT= BOINC |
19 |
GH_PROJECT= boinc |
17 |
GH_PROJECT= boinc |
20 |
USE_LDCONFIG= yes |
18 |
USE_LDCONFIG= yes |
21 |
DOS2UNIX_GLOB= *.xpm |
|
|
22 |
|
19 |
|
23 |
USERS= boinc |
20 |
GNU_CONFIGURE= yes |
24 |
GROUPS= boinc |
21 |
CONFIGURE_ARGS= --disable-server |
|
|
22 |
CONFIGURE_ENV= OBJCXX="${CXX}" |
25 |
|
23 |
|
26 |
BOINC_CLIENT_USER?= boinc |
24 |
INSTALL_TARGET= install-strip |
27 |
BOINC_CLIENT_GROUP?= boinc |
25 |
|
28 |
BOINC_CLIENT_HOME?= /var/db/boinc |
26 |
CPPFLAGS+= -I${LOCALBASE}/include |
|
|
27 |
LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo |
29 |
|
28 |
|
30 |
SUB_FILES= pkg-deinstall pkg-install |
29 |
SUB_FILES= pkg-deinstall pkg-install |
31 |
SUB_LIST= BOINC_CLIENT_GROUP="${BOINC_CLIENT_GROUP}" \ |
30 |
SUB_LIST= BOINC_CLIENT_GROUP="${BOINC_CLIENT_GROUP}" \ |
Lines 34-87
SUB_LIST= BOINC_CLIENT_GROUP="${BOINC_CLIENT_GROUP}" \
Link Here
|
34 |
LOCALBASE="${LOCALBASE}" \ |
33 |
LOCALBASE="${LOCALBASE}" \ |
35 |
PREFIX="${PREFIX}" |
34 |
PREFIX="${PREFIX}" |
36 |
|
35 |
|
37 |
CONFIGURE_ARGS= --disable-server |
36 |
USERS= boinc |
38 |
CONFIGURE_ENV= OBJCXX="${CXX}" |
37 |
GROUPS= boinc |
39 |
CPPFLAGS+= -I${LOCALBASE}/include |
|
|
40 |
LDFLAGS+= -L${LOCALBASE}/lib -lexecinfo |
41 |
|
38 |
|
42 |
OPTIONS_DEFINE= CLIENT LINUX MANAGER NLS SKINS USER X11 |
39 |
OPTIONS_DEFINE= CLIENT LINUX MANAGER NLS SKINS USER X11 |
43 |
OPTIONS_DEFAULT= CLIENT MANAGER USER X11 |
40 |
OPTIONS_DEFAULT= CLIENT MANAGER USER X11 |
44 |
OPTIONS_GROUP= SCRIPT |
41 |
OPTIONS_GROUP= SCRIPT |
45 |
OPTIONS_GROUP_SCRIPT= NO_GUI_RPC NO_NET_INFO |
42 |
OPTIONS_GROUP_SCRIPT= NO_GUI_RPC NO_NET_INFO |
|
|
43 |
OPTIONS_SUB= yes |
44 |
|
46 |
CLIENT_DESC= BOINC Build client |
45 |
CLIENT_DESC= BOINC Build client |
47 |
MANAGER_DESC= BOINC Build GUI manager |
|
|
48 |
X11_DESC= API Build graphics |
49 |
LINUX_DESC= Accept applications Linux science |
46 |
LINUX_DESC= Accept applications Linux science |
50 |
USER_DESC= and BOINC client Create/check directory user |
47 |
MANAGER_DESC= BOINC Build GUI manager |
51 |
SKINS_DESC= BOINC for Install manager more skins |
|
|
52 |
SCRIPT_DESC= Command in line options script |
53 |
NO_GUI_RPC_DESC= (breaks and boinc_curses) Disable GUI RPC socket |
48 |
NO_GUI_RPC_DESC= (breaks and boinc_curses) Disable GUI RPC socket |
54 |
NO_NET_INFO_DESC= address and Do host name not send servers to |
49 |
NO_NET_INFO_DESC= address and Do host name not send servers to |
|
|
50 |
SCRIPT_DESC= Command in line options script |
51 |
SKINS_DESC= BOINC for Install manager more skins |
52 |
USER_DESC= and BOINC client Create/check directory user |
53 |
X11_DESC= API Build graphics |
55 |
|
54 |
|
56 |
OPTIONS_SUB= yes |
55 |
CLIENT_LIB_DEPENDS= libcurl.so:ftp/curl \ |
57 |
|
56 |
libfreetype.so:print/freetype2 |
|
|
57 |
CLIENT_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss |
58 |
CLIENT_USE= RC_SUBR=boinc-client |
59 |
CLIENT_CONFIGURE_ENABLE= client |
60 |
LINUX_USES= linux |
61 |
LINUX_CONFIGURE_ON= --with-boinc-alt-platform=x86_64-pc-linux-gnu |
58 |
MANAGER_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ |
62 |
MANAGER_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ |
|
|
63 |
libharfbuzz.so:print/harfbuzz \ |
59 |
libnotify.so:devel/libnotify \ |
64 |
libnotify.so:devel/libnotify \ |
60 |
libsqlite3.so:databases/sqlite3 \ |
65 |
libsqlite3.so:databases/sqlite3 \ |
61 |
libxcb-util.so:x11/xcb-util |
66 |
libxcb-util.so:x11/xcb-util |
|
|
67 |
MANAGER_USES= desktop-file-utils gnome iconv |
68 |
MANAGER_USE= GNOME=cairo,gdkpixbuf2,glib20,gtk30,pango \ |
69 |
WX=3.2+ \ |
70 |
XORG=x11,xcb,xext,xscrnsaver |
62 |
MANAGER_CONFIGURE_ON= --with-sqlite3-prefix=${LOCALBASE} |
71 |
MANAGER_CONFIGURE_ON= --with-sqlite3-prefix=${LOCALBASE} |
63 |
MANAGER_CONFIGURE_OFF= --with-wx-config=false \ |
72 |
MANAGER_CONFIGURE_OFF= --with-wx-config=false \ |
64 |
--without-x |
73 |
--without-x |
65 |
MANAGER_CONFIGURE_ENABLE= manager |
74 |
MANAGER_CONFIGURE_ENABLE= manager |
66 |
MANAGER_USES= gnome iconv |
75 |
X11_USES= gl jpeg xorg |
67 |
MANAGER_USE= GNOME=cairo,gdkpixbuf2,glib20,pango \ |
76 |
X11_USE= GL=glut \ |
68 |
WX=3.0 \ |
77 |
XORG=x11,xi,xmu,xscrnsaver |
69 |
XORG=x11,xcb,xext,xscrnsaver |
78 |
X11_CONFIGURE_OFF= --without-x \ |
70 |
|
79 |
ax_cv_check_glut_libglut=no |
71 |
CLIENT_CONFIGURE_ENABLE= client |
|
|
72 |
CLIENT_LIB_DEPENDS= libcurl.so:ftp/curl \ |
73 |
libfreetype.so:print/freetype2 |
74 |
CLIENT_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss |
75 |
CLIENT_USE= RC_SUBR=boinc-client |
76 |
|
77 |
LINUX_CONFIGURE_ON= --with-boinc-alt-platform=x86_64-pc-linux-gnu |
78 |
LINUX_USES= linux |
79 |
|
80 |
|
80 |
X11_USES= gl jpeg xorg |
81 |
BOINC_CLIENT_GROUP?= boinc |
81 |
X11_USE= GL=glut \ |
82 |
BOINC_CLIENT_HOME?= /var/db/boinc |
82 |
XORG=x11,xi,xmu,xscrnsaver |
83 |
BOINC_CLIENT_USER?= boinc |
83 |
X11_CONFIGURE_OFF= --without-x \ |
|
|
84 |
ax_cv_check_glut_libglut=no |
85 |
|
84 |
|
86 |
.include <bsd.port.options.mk> |
85 |
.include <bsd.port.options.mk> |
87 |
|
86 |
|
Lines 105-112
SUB_LIST+= OPTION_USER=""
Link Here
|
105 |
.endif |
104 |
.endif |
106 |
|
105 |
|
107 |
post-patch: |
106 |
post-patch: |
108 |
@${REINPLACE_CMD} -e 's|@PREFIX@|${PREFIX}|' \ |
|
|
109 |
${WRKSRC}/client/hostinfo_unix.cpp |
110 |
@${REINPLACE_CMD} -e 's|client/scripts||' \ |
107 |
@${REINPLACE_CMD} -e 's|client/scripts||' \ |
111 |
${WRKSRC}/Makefile.am |
108 |
${WRKSRC}/Makefile.am |
112 |
# avoid build conflict with archivers/libzip |
109 |
# avoid build conflict with archivers/libzip |