blob: 568afc07e6b7b9ff3daba4d59c7ac1a28bd3abe1 (
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
|
# $NetBSD: Makefile,v 1.8 2003/01/28 22:03:55 jlam Exp $
#
DISTNAME= pure-ftpd-1.0.12
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pureftpd/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= dawszy@arhea.net
HOMEPAGE= http://www.pureftpd.org/
COMMENT= FTP daemon with optional SQL support
USE_PKGINSTALL= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-sysquotas \
--with-ftpwho
.if defined(PURE_FTPD_USE_MYSQL) && ${PURE_FTPD_USE_MYSQL} == "YES"
DEPENDS+= mysql-client>=3.23:../../databases/mysql-client
CONFIGURE_ARGS+=--with-mysql=${LOCALBASE} \
--with-quotas
CCPFLAGS+= -I${LOCALBASE}/include/mysql
LDFLAGS+= -L${LOCALBASE}/lib/mysql -Wl,-R${LOCALBASE}/lib/mysql
BUILD_DEFS+= PURE_FTPD_USE_MYSQL
.endif
RCD_SCRIPTS= pure_ftpd
.include "../../mk/bsd.pkg.mk"
|