Lines 2-63
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= onedrive |
3 |
PORTNAME= onedrive |
4 |
DISTVERSIONPREFIX= v |
4 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSION= 2.3.3 |
5 |
DISTVERSION= 2.4.3 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= net |
6 |
CATEGORIES= net |
8 |
|
7 |
|
9 |
MAINTAINER= hiroo.ono+freebsd@gmail.com |
8 |
MAINTAINER= hiroo.ono+freebsd@gmail.com |
10 |
COMMENT= OneDrive Free client |
9 |
COMMENT= OneDrive Free client |
11 |
|
10 |
|
12 |
LICENSE= GPLv3 |
11 |
LICENSE= GPLv3 |
|
|
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
13 |
|
14 |
LIB_DEPENDS= libcurl.so:ftp/curl \ |
14 |
LIB_DEPENDS= libcurl.so:ftp/curl \ |
15 |
libinotify.so:devel/libinotify |
15 |
libinotify.so:devel/libinotify |
16 |
BUILD_DEPENDS= ldc2:lang/ldc |
16 |
BUILD_DEPENDS= ldc2:lang/ldc |
17 |
RUN_DEPENDS= ${LOCALBASE}/sbin/logrotate:sysutils/logrotate |
17 |
RUN_DEPENDS= ${LOCALBASE}/sbin/logrotate:sysutils/logrotate |
18 |
|
18 |
|
19 |
USES= gmake pkgconfig sqlite |
19 |
USES= autoreconf gmake pkgconfig sqlite |
20 |
USE_GITHUB= yes |
20 |
USE_GITHUB= yes |
21 |
GH_ACCOUNT= abraunegg |
21 |
GH_ACCOUNT= abraunegg |
22 |
|
22 |
|
|
|
23 |
GNU_CONFIGURE= yes |
23 |
PKGCONFIG= pkgconf |
24 |
PKGCONFIG= pkgconf |
24 |
MAKE_ARGS= DC=ldc2 |
|
|
25 |
INSTALL_TARGET= install.noservice |
26 |
|
25 |
|
27 |
OPTIONS_DEFINE= DOCS NOTIFY BASH ZSH |
26 |
OPTIONS_DEFINE= NOTIFY COMPLETION |
28 |
OPTIONS_DEFAULT= DOCS NOTIFY BASH ZSH |
27 |
OPTIONS_DEFAULT= NOTIFY COMPLETION |
29 |
OPTIONS_SUB= yes |
28 |
OPTIONS_SUB= yes |
30 |
|
29 |
|
31 |
DOCFILES= README.md README.Office365.md config CHANGELOG.md |
30 |
NOTIFY_CONFIGURE_ENABLE= notifications |
32 |
|
|
|
33 |
NOTIFY_VARS= NOTIFICATIONS=1 |
34 |
NOTIFY_USES= gnome |
31 |
NOTIFY_USES= gnome |
35 |
NOTIFY_USE= GNOME=glib20 |
32 |
NOTIFY_USE= GNOME=glib20,gdkpixbuf2 |
36 |
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify |
33 |
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify |
37 |
|
34 |
|
38 |
BASH_COMPLETION_DIR= ${LOCALBASE}/share/bash-completion/completions |
35 |
COMPLETION_DESC= Install completion for BASH and ZSH |
39 |
ZSH_COMPLETION_DIR= ${LOCALBASE}/share/zsh/site-functions |
36 |
COMPLETION_CONFIGURE_ENABLE= completions |
|
|
37 |
|
38 |
ONEDRIVE_LOGDIR= /var/log/${PORTNAME} |
40 |
|
39 |
|
41 |
post-extract: |
40 |
post-extract: |
42 |
${CP} ${FILESDIR}/freebsd_inotify.d ${WRKSRC}/src |
41 |
${CP} ${FILESDIR}/freebsd_inotify.d ${WRKSRC}/src |
43 |
|
42 |
|
44 |
do-install-DOCS-on: |
43 |
post-install: |
45 |
.for f in ${DOCFILES} |
44 |
${INSTALL} -d -m 0775 ${STAGEDIR}${ONEDRIVE_LOGDIR} |
46 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
|
|
47 |
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} |
48 |
.endfor |
49 |
|
50 |
do-install-BASH-on: |
51 |
@${MKDIR} ${STAGEDIR}${BASH_COMPLETION_DIR} |
52 |
${INSTALL_DATA} ${WRKSRC}/completions/complete.bash \ |
53 |
${STAGEDIR}${BASH_COMPLETION_DIR}/onedrive |
54 |
|
55 |
do-install-ZSH-on: |
56 |
@${MKDIR} ${STAGEDIR}${ZSH_COMPLETION_DIR} |
57 |
${INSTALL_DATA} ${WRKSRC}/completions/complete.zsh \ |
58 |
${STAGEDIR}${ZSH_COMPLETION_DIR}/_onedrive |
59 |
|
60 |
post-install-DOCS-on: |
61 |
${INSTALL_MAN} ${WRKSRC}/onedrive.1 ${STAGEDIR}${MANPREFIX}/man/man1 |
62 |
|
45 |
|
63 |
.include <bsd.port.mk> |
46 |
.include <bsd.port.mk> |