diff options
Diffstat (limited to 'net/bftpd/Makefile')
-rw-r--r-- | net/bftpd/Makefile | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/net/bftpd/Makefile b/net/bftpd/Makefile index 3e1fb877756..ada49068a6d 100644 --- a/net/bftpd/Makefile +++ b/net/bftpd/Makefile @@ -1,24 +1,35 @@ -# $NetBSD: Makefile,v 1.10 2008/07/10 15:52:03 joerg Exp $ +# $NetBSD: Makefile,v 1.10.20.1 2010/06/07 19:06:20 tron Exp $ # -DISTNAME= bftpd-1.0.24 -PKGREVISION= 1 +DISTNAME= bftpd-2.9 CATEGORIES= net -MASTER_SITES= http://bftpd.sourceforge.net/downloads/src/ +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 -CFLAGS+= -DPATH_BFTPD_CONF="\"${PKG_SYSCONFDIR}/bftpd.conf\"" CONF_FILES= ${PREFIX}/share/examples/bftpd/bftpd.conf \ ${PKG_SYSCONFDIR}/bftpd.conf -MAKE_ENV+= VARBASE=${VARBASE:Q} + +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 -PKG_DESTDIR_SUPPORT= user-destdir +BUILD_DEFS+= VARBASE .include "../../mk/bsd.pkg.mk" |