# $NetBSD: Makefile,v 1.14 2006/06/20 22:19:38 minskim Exp $ # DISTNAME= tnftpd-20040810 CATEGORIES= net MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp/ MAINTAINER= lukem@NetBSD.org COMMENT= The NetBSD FTP Daemon CONFLICTS= wu-ftpd-[0-9]* CONFLICTS+= kth-krb4-[0-9]* CONFLICTS+= lukemftpd-[0-9]* GNU_CONFIGURE= YES MANCOMPRESSED_IF_MANZ= YES USE_TOOLS+= yacc CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} CONF_FILES+= ${EXAMPLEDIR}/ftpd.conf ${PKG_SYSCONFDIR}/ftpd.conf CONF_FILES+= ${EXAMPLEDIR}/ftpusers ${PKG_SYSCONFDIR}/ftpusers .include "options.mk" OPSYSVARS+= MAKE_ENV MAKE_ENV.SunOS+= CPPFLAGS="" EXAMPLEDIR= ${PREFIX}/share/examples/tnftpd INSTALLATION_DIRS= libexec man/man5 man/man8 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/tnftpd ${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 ${INSTALL_DATA_DIR} ${EXAMPLEDIR} ${INSTALL_DATA} ${WRKSRC}/examples/ftpd.conf ${EXAMPLEDIR} ${INSTALL_DATA} ${WRKSRC}/examples/ftpusers ${EXAMPLEDIR} .include "../../mk/bsd.pkg.mk"