summaryrefslogtreecommitdiff
path: root/net/tnftp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/tnftp/Makefile')
-rw-r--r--net/tnftp/Makefile42
1 files changed, 37 insertions, 5 deletions
diff --git a/net/tnftp/Makefile b/net/tnftp/Makefile
index 8c4930fad49..22d624a075e 100644
--- a/net/tnftp/Makefile
+++ b/net/tnftp/Makefile
@@ -1,12 +1,44 @@
-# $NetBSD: Makefile,v 1.22 2007/08/07 04:59:52 lukem Exp $
+# $NetBSD: Makefile,v 1.23 2008/03/06 04:45:58 jlam Exp $
-.include "Makefile.common"
+DISTNAME= tnftp-20070806
+SVR4_PKGNAME= tnftp
+CATEGORIES= net
+MASTER_SITES= # empty
+DISTFILES= # empty
-CATEGORIES= net
+# distfile obtained from: ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp
-CONFLICTS+= kth-krb4-[0-9]*
-CONFLICTS+= lukemftp-[0-9]*
+CONFLICTS+= kth-krb4-[0-9]*
+CONFLICTS+= lukemftp-[0-9]*
+
+MAINTAINER= lukem@NetBSD.org
+COMMENT= The enhanced FTP client in NetBSD
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+GNU_CONFIGURE= yes
+NO_CHECKSUM= yes
+
+OPSYSVARS+= MAKE_ENV
+MAKE_ENV.SunOS+= CPPFLAGS=""
.include "options.mk"
+do-extract:
+ @${CP} -R ${FILESDIR} ${WRKSRC}
+ @${RM} -f ${WRKSRC}/INSTALL
+
+# Use readline/builtin.mk to check for an editline library on the
+# system. If we use the system editline library, then use the built-in
+# termcap library.
+#
+CHECK_BUILTIN.readline:= yes
+.include "../../devel/readline/builtin.mk"
+CHECK_BUILTIN.readline:= no
+
+.if !empty(BUILTIN_LIB_FOUND.edit:M[yY][eE][sS])
+USE_BUILTIN.termcap= yes
+.endif
+
+.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"