summaryrefslogtreecommitdiff
path: root/net/proftpd/Makefile.common
blob: 10c1cf2e3dcc6b6cbe1f1253907fc9d07d229b5c (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.common,v 1.4 2017/01/19 18:52:20 agc Exp $

# used by net/proftpd/Makefile
# used by net/proftpd/Makefile.module

DISTNAME=	proftpd-1.3.5b
CATEGORIES=	net
MASTER_SITES=	ftp://ftp.proftpd.org/distrib/source/
MASTER_SITES+=	ftp://ftp.servus.at/ProFTPD/distrib/source/
MASTER_SITES+=	ftp://ftp.fsn.hu/pub/proftpd/distrib/source/

MAINTAINER=	kim@tac.nyc.ny.us
HOMEPAGE=	http://www.proftpd.org/
LICENSE=	gnu-gpl-v2

DISTINFO_FILE=		${.CURDIR}/../../net/proftpd/distinfo
PATCHDIR=		${.CURDIR}/../../net/proftpd/patches


USE_TOOLS+=		gmake intltool msgfmt perl:run
USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
CONFIGURE_ARGS+=	--libexecdir=${PREFIX}/libexec/proftpd
CONFIGURE_ARGS+=	--localstatedir=${VARBASE}/run
CONFIGURE_ARGS+=	--disable-sendfile
CONFIGURE_ARGS+=	--disable-strip
CONFIGURE_ARGS+=	--enable-ctrls
CONFIGURE_ARGS+=	--enable-nls
CONFIGURE_ARGS+=	--enable-dso
CONFIGURE_ENV+=		install_group=${ROOT_GROUP}
CONFIGURE_ENV+=		install_user=${ROOT_USER}

BUILD_DEFS+=		VARBASE

CHECK_SHLIBS_SKIP=libexec/proftpd/*.a

.include "options.mk"

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/curses.buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"