summaryrefslogtreecommitdiff
path: root/net/tnftp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/tnftp/Makefile')
-rw-r--r--net/tnftp/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/net/tnftp/Makefile b/net/tnftp/Makefile
new file mode 100644
index 00000000000..5fc5bbb5ebc
--- /dev/null
+++ b/net/tnftp/Makefile
@@ -0,0 +1,38 @@
+# $NetBSD: Makefile,v 1.1 2003/07/31 07:52:53 lukem Exp $
+#
+
+DISTNAME= tnftp-20030731
+PKGNAME= tnftp-20030731
+SVR4_PKGNAME= tnftp
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp/
+
+MAINTAINER= lukem@NetBSD.org
+COMMENT= The enhanced ftp client in NetBSD
+
+GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+# Include SOCKS firewall support
+.if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5)
+.if ${USE_SOCKS} == 4
+DEPENDS+= socks4-2.2:../../net/socks4
+CONFIGURE_ARGS+= --with-socks4
+.else
+DEPENDS+= socks5-1.0.2:../../net/socks5
+CONFIGURE_ARGS+= --with-socks5
+.endif
+.endif
+
+.if defined(USE_INET6) && ${USE_INET6} == YES
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
+.if ${OPSYS} == "SunOS"
+MAKE_ENV+= CPPFLAGS=""
+.endif
+
+.include "../../mk/bsd.pkg.mk"