Merge from vendor branch TNF:
[pkgsrcv2.git] / net / tnftp / Makefile
1 # $NetBSD: Makefile,v 1.26 2009/04/09 00:48:10 joerg Exp $
2
3 DISTNAME=               tnftp-20070806
4 SVR4_PKGNAME=           tnftp
5 CATEGORIES=             net
6 MASTER_SITES=           # empty
7 DISTFILES=              # empty
8
9 # distfile obtained from: ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp
10
11 CONFLICTS+=             kth-krb4-[0-9]*
12 CONFLICTS+=             lukemftp-[0-9]*
13
14 MAINTAINER=             lukem@NetBSD.org
15 COMMENT=                The enhanced FTP client in NetBSD
16
17 PKG_DESTDIR_SUPPORT=    user-destdir
18 BOOTSTRAP_PKG=  yes
19
20 GNU_CONFIGURE=          yes
21 CHECK_PERMS=            no
22
23 OPSYSVARS+=             MAKE_ENV
24 MAKE_ENV.SunOS+=        CPPFLAGS=""
25
26 MAKE_ENV+=              MANINSTALL=${MANINSTALL:Q}
27
28 .include "options.mk"
29
30 do-extract:
31         @${CP} -R ${FILESDIR} ${WRKSRC}
32         @${RM} -f ${WRKSRC}/INSTALL
33
34 # Use readline/builtin.mk to check for an editline library on the
35 # system.  If we use the system editline library, then use the built-in
36 # termcap library.
37 #
38 CHECK_BUILTIN.readline:=        yes
39 .include "../../devel/readline/builtin.mk"
40 CHECK_BUILTIN.readline:=        no
41
42 .if !empty(BUILTIN_LIB_FOUND.edit:M[yY][eE][sS])
43 USE_BUILTIN.termcap=    yes
44 .endif
45
46 .include "../../mk/termcap.buildlink3.mk"
47 .include "../../mk/bsd.pkg.mk"