aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/yafc/Makefile
blob: 721b88212c875624fdb04d90d24b85e05ef6fc24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    yafc
# Date created:     10 June 1999
# Whom:         Chris Piazza <cpiazza@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   yafc
PORTVERSION=    1.1.1
CATEGORIES= ftp
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= stas@FreeBSD.org
COMMENT=    Yet another ftp client. Similar to ftp(1)

USE_BZIP2=  yes
USE_GETOPT_LONG=yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-socks4=no --with-socks5=no --with-krb4=no \
        --with-krb5=no --with-gssapi=no

MAN1=       yafc.1
INFO=       yafc
PLIST_FILES=    bin/yafc \
        %%EXAMPLESDIR%%/inputrc.sample \
        %%EXAMPLESDIR%%/yafcrc.sample
PLIST_DIRS= %%EXAMPLESDIR%%

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000 || exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS+=   readline.5:${PORTSDIR}/devel/readline
.endif

post-install:
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/*.sample ${EXAMPLESDIR}

.include <bsd.port.post.mk>