pkgsrc/net/jftpgw/Makefile

36 lines
1,012 B
Makefile

# $NetBSD: Makefile,v 1.7 2005/04/11 21:46:48 tv Exp $
DISTNAME= jftpgw-0.13.4
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.mcknight.de/jftpgw/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.mcknight.de/jftpgw/
COMMENT= FTP gateway/proxy
GNU_CONFIGURE= yes
USE_PKGINSTALL= yes
CONFIGURE_ARGS+= --with-logpath=${VARBASE}/log
CONFIGURE_ARGS+= --enable-crypt
CONFIGURE_ARGS+= --enable-sftp
RCD_SCRIPTS= jftpgw
EGDIR= ${PREFIX}/share/examples/jftpgw
CONF_FILES= ${EGDIR}/jftpgw.conf ${PKG_SYSCONFDIR}/jftpgw.conf
SUBST_CLASSES+= log
SUBST_STAGE.log= post-patch
SUBST_FILES.log= active.c bindport.c cache.c cmds.c config.c \
ftpread.c fw_auth_cmds.c jftpgw.c log.c log.h \
login.c openport.c passive.c states.c std_cmds.c \
util.c
SUBST_SED.log= -e "s,\([[:space:]]\)\(log(\),\1x\2,"
SUBST_CLASSES+= config
SUBST_STAGE.config= post-build
SUBST_FILES.config= jftpgw.conf.sample
SUBST_SED.config= -e "s/nobody/root/"
.include "../../mk/bsd.pkg.mk"