summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/lukemftpd/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/net/lukemftpd/Makefile b/net/lukemftpd/Makefile
new file mode 100644
index 00000000000..3c76b4b1162
--- /dev/null
+++ b/net/lukemftpd/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/09 10:14:31 lukem Exp $
+#
+
+DISTNAME= lukemftpd-1.0
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/lukemftp/
+
+MAINTAINER= lukem@netbsd.org
+COMMENT= the enhanced ftp server in NetBSD
+
+GNU_CONFIGURE= yes
+MANCOMPRESSED_IF_MANZ= 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 ${OPSYS} == "SunOS"
+MAKE_ENV+= CPPFLAGS=""
+.endif
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/ftpd ${PREFIX}/libexec
+ ${INSTALL_MAN} ${WRKSRC}/src/ftpd.conf.5 ${PREFIX}/man/man5
+ ${INSTALL_MAN} ${WRKSRC}/src/ftpusers.5 ${PREFIX}/man/man5
+ ${INSTALL_MAN} ${WRKSRC}/src/ftpd.8 ${PREFIX}/man/man8
+
+.include "../../mk/bsd.pkg.mk"