Lines 7-44
Link Here
|
7 |
|
7 |
|
8 |
PORTNAME= yafc |
8 |
PORTNAME= yafc |
9 |
PORTVERSION= 1.2.0 |
9 |
PORTVERSION= 1.2.0 |
10 |
CATEGORIES= ftp |
10 |
PORTREVISION= 1 |
|
|
11 |
CATEGORIES= ftp ipv6 |
11 |
MASTER_SITES= https://github.com/downloads/sebastinas/yafc/ |
12 |
MASTER_SITES= https://github.com/downloads/sebastinas/yafc/ |
12 |
|
13 |
|
13 |
MAINTAINER= ports@FreeBSD.org |
14 |
MAINTAINER= ports@FreeBSD.org |
14 |
COMMENT= Yet another ftp client. Similar to ftp(1) |
15 |
COMMENT= Yet another ftp client. Similar to ftp(1) |
15 |
|
16 |
|
|
|
17 |
LICENSE= GPLv2 # (or later) |
18 |
|
19 |
OPTIONS_DEFINE= NLS SSH EXAMPLES |
20 |
OPTIONS_DEFAULT=NLS SSH |
21 |
|
16 |
USE_XZ= yes |
22 |
USE_XZ= yes |
|
|
23 |
USE_OPENSSL= yes |
24 |
USE_GMAKE= yes |
17 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
|
|
26 |
CONFIGURE_ENV= ac_cv_ipv6=yes |
18 |
CONFIGURE_ARGS= --with-socks=no --with-socks5=no --with-krb4=no \ |
27 |
CONFIGURE_ARGS= --with-socks=no --with-socks5=no --with-krb4=no \ |
19 |
--with-krb5=no --disable-nls |
28 |
--with-krb5=no --with-openssl=${OPENSSLBASE} |
|
|
29 |
MAKE_JOBS_SAFE= yes |
30 |
|
31 |
CPPFLAGS+= -I${LOCALBASE}/include |
32 |
LDFLAGS+= -L${LOCALBASE}/lib |
20 |
|
33 |
|
21 |
FETCH_ARGS= -Fpr |
34 |
FETCH_ARGS= -Fpr |
22 |
|
35 |
|
23 |
MAN1= yafc.1 |
36 |
MAN1= yafc.1 |
24 |
INFO= yafc |
37 |
INFO= yafc |
|
|
38 |
PORTEXAMPLES= inputrc yafcrc |
25 |
PLIST_FILES= bin/yafc \ |
39 |
PLIST_FILES= bin/yafc \ |
26 |
etc/bash_completion.d/yafc |
40 |
etc/bash_completion.d/yafc |
27 |
PLIST_DIRSTRY= etc/bash_completion.d |
41 |
PLIST_DIRSTRY= etc/bash_completion.d |
28 |
|
42 |
|
|
|
43 |
.include <bsd.port.options.mk> |
44 |
|
45 |
.if ${PORT_OPTIONS:MNLS} |
46 |
USE_GNOME+= intltool |
47 |
USE_GETTEXT= yes |
48 |
LDFLAGS+= -lintl |
49 |
PLIST_FILES+= share/locale/sv/LC_MESSAGES/yafc.mo |
50 |
.else |
51 |
CONFIGURE_ARGS+= --disable-nls |
52 |
.endif |
53 |
|
54 |
.if ${PORT_OPTIONS:MSSH} |
55 |
LIB_DEPENDS+= ssh:${PORTSDIR}/security/libssh |
56 |
.else |
57 |
CONFIGURE_ARGS+= --without-ssh |
58 |
.endif |
59 |
|
29 |
.include <bsd.port.pre.mk> |
60 |
.include <bsd.port.pre.mk> |
30 |
|
61 |
|
31 |
.if exists(${LOCALBASE}/lib/libreadline.so.6) |
62 |
.if exists(${LOCALBASE}/lib/libreadline.so) |
32 |
LIB_DEPENDS+= readline.6:${PORTSDIR}/devel/readline |
63 |
LIB_DEPENDS+= readline:${PORTSDIR}/devel/readline |
33 |
.endif |
64 |
.endif |
34 |
|
65 |
|
35 |
post-install: |
66 |
post-install: |
36 |
.if ${PORT_OPTIONS:MEXAMPLES} |
67 |
.if ${PORT_OPTIONS:MEXAMPLES} |
37 |
@${MKDIR} ${EXAMPLESDIR} |
68 |
@${MKDIR} ${EXAMPLESDIR} |
38 |
${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR} |
69 |
${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR} |
39 |
PLIST_FILES+= %%EXAMPLESDIR%%/inputrc \ |
|
|
40 |
%%EXAMPLESDIR%%/yafcrc |
41 |
PLIST_DIRS+= %%EXAMPLESDIR%% |
42 |
.endif |
70 |
.endif |
43 |
|
71 |
|
44 |
.include <bsd.port.post.mk> |
72 |
.include <bsd.port.post.mk> |