View | Details | Raw Unified | Return to bug 169413
Collapse All | Expand All

(-)ftp/yafc/Makefile (-7 / +35 lines)
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>
(-)ftp/yafc/files/patch-src__Makefile.in (+14 lines)
Line 0 Link Here
1
--- src/Makefile.in.orig	2012-06-05 23:37:06.000000000 +0900
2
+++ src/Makefile.in	2012-06-25 16:34:16.000000000 +0900
3
@@ -308,7 +308,10 @@
4
 						 libmhe/libmhe.a \
5
 						 ../lib/libfoo.a $(SSH_LIBS)
6
 
7
-yafc_DEPENDENCIES = $(yafc_LDADD) yafcrc.h
8
+yafc_DEPENDENCIES = ftp/libftp.a \
9
+						 libmhe/libmhe.a \
10
+						 ../lib/libfoo.a yafcrc.h
11
+
12
 AM_CPPFLAGS = -I$(srcdir) \
13
 							-I$(top_srcdir)/lib \
14
 							-I$(top_srcdir)/src/ftp \

Return to bug 169413