summaryrefslogtreecommitdiff
path: root/net/pure-ftpd/Makefile
blob: 1edc1cbc756aed8d7f1c83339c50d2ba0ec9ea37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# $NetBSD: Makefile,v 1.21 2007/02/22 19:01:23 wiz Exp $

DISTNAME=		pure-ftpd-1.0.21
CATEGORIES=		net
MASTER_SITES=		ftp://ftp.pureftpd.org/pub/pure-ftpd/releases/
MASTER_SITES+=		http://download.pureftpd.org/pub/pure-ftpd/releases/
MASTER_SITES+=		ftp://ftp2.fr.pureftpd.org/pub/mirrors/ftp.fr.pureftpd.org/pub/pure-ftpd/releases/
MASTER_SITES+=		ftp://ftp3.fr.pureftpd.org/pure-ftpd/releases/
MASTER_SITES+=		ftp://ftp.dk.pureftpd.org/mirrors/pure-ftpd/releases/
MASTER_SITES+=		ftp://ftp.nl.pureftpd.org/pub/pure-ftpd/releases/
MASTER_SITES+=		ftp://ftp.fr.pureftpd.org/pub/pure-ftpd/releases/
MASTER_SITES+=		ftp://ftp.cn.pureftpd.org/pub/pureftpd/pure-ftpd/releases/
MASTER_SITES+=		${MASTER_SITE_SOURCEFORGE:=pureftpd/}

MAINTAINER=		dawszy@arhea.net
HOMEPAGE=		http://www.pureftpd.org/project/pure-ftpd
COMMENT=		Secure FTP daemon with optional SQL support

GNU_CONFIGURE=		yes

CONFIGURE_ARGS+=	--with-everything
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}

.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} != "Interix"
CONFIGURE_ARGS+=	--with-privsep
.endif

.include "options.mk"

RCD_SCRIPTS=		pure_ftpd

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/pure-ftpd
	cd ${WRKSRC} &&	\
		${INSTALL_DATA} README README.Authentication-Modules	 \
				README.Configuration-File README.Contrib \
				README.TLS README.Virtual-Users		 \
				README.MySQL README.PGSQL README.LDAP	 \
			${PREFIX}/share/doc/pure-ftpd

.include "../../mk/bsd.pkg.mk"