36 lines
906 B
Makefile
36 lines
906 B
Makefile
# $NetBSD: Makefile,v 1.17 2016/09/18 18:08:49 wiedi Exp $
|
|
#
|
|
|
|
DISTNAME= bftpd-4.4
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bftpd/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://bftpd.sourceforge.net/
|
|
COMMENT= Small and fast FTP server
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
GNU_CONFIGURE= YES
|
|
WRKSRC= ${WRKDIR}/bftpd
|
|
|
|
CONFIGURE_ARGS+=--enable-libz
|
|
|
|
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|PREFIX"/etc/|"${PKG_SYSCONFDIR}/|g'
|
|
|
|
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 share/examples/bftpd
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|