pkgsrc/net/bftpd/Makefile
obache 3aec4fef09 Update bftpd to 2.9.
Jesse Smith <jessefrgsmith@yahoo.ca> -> 2.9
	- Bftpdwill attempt to create it's utmp directory
          if that directory does not exist. Fixes issue on
	  Ubuntu where the direcotry is wiped out at each
	  reboot.
	- The ROOTDIR option now works properly for
	  anonymous users.
	  Thanks to Paul for reporting this bug.
2010-06-04 04:30:45 +00:00

35 lines
855 B
Makefile

# $NetBSD: Makefile,v 1.12 2010/06/04 04:30:45 obache Exp $
#
DISTNAME= bftpd-2.9
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bftpd/}
MAINTAINER= virtus@wanadoo.nl
HOMEPAGE= http://bftpd.sourceforge.net/
COMMENT= Small and fast FTP server
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
WRKSRC= ${WRKDIR}/bftpd
CONF_FILES= ${PREFIX}/share/examples/bftpd/bftpd.conf \
${PKG_SYSCONFDIR}/bftpd.conf
SUBST_CLASSES+= varbase
SUBST_STAGE.varbase= post-configure
SUBST_FILES.varbase= bftpd.conf
SUBST_SED.varbase= -e 's|/var/|${VARBASE}/|g'
SUBST_CLASSES+= sysconf
SUBST_STAGE.sysconf= post-configure
SUBST_FILES.sysconf= mypaths.h bftpd.8
SUBST_SED.sysconf= -e 's|/etc/|${PKG_SYSCONFDIR}/|g'
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 share/examples/bftpd
BUILD_DEFS+= VARBASE
.include "../../mk/bsd.pkg.mk"