aboutsummaryrefslogtreecommitdiffstats
path: root/net/proxy-suite/Makefile
blob: 5068f40160cca2de2ae8b9ba4ec971207f8203b4 (plain) (blame)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# New ports collection Makefile for:    proxy-suite
# Date created:             06 April 2001
# Whom:                 Thomas Quinot <thomas@cuivre.fr.eu.org>
#
# $FreeBSD$
#

PORTNAME=   proxy-suite
PORTVERSION=    1.8
CATEGORIES= net
MASTER_SITES=   ftp://ftp.suse.com/pub/projects/proxy-suite/src/ \
        ftp://ftp.crc.ca/pub/systems/linux/suse/projects/proxy-suite/src/ \
        ftp://ftp.gwdg.de/pub/linux/suse/ftp.suse.com/projects/proxy-suite/src/ \
        ftp://ftp.funet.fi/pub/mirrors/ftp.gwdg.de/pub/linux/suse/ftp.suse.com/projects/proxy-suite/src/

MAINTAINER= thomas@cuivre.fr.eu.org
COMMENT=    The SuSE Proxy-Suite, a set of programs to enhance firewall security

USE_AUTOCONF=   yes
USE_GMAKE=  yes

#
# basic configure args
#
CONFIGURE_ARGS= --prefix=${PREFIX} --with-libwrap=/usr/lib --with-regex \
        --localstatedir=/var/run \
        --enable-warnings --enable-so-linger \
        --disable-proc-mods

#
# OPTIONAL: RFC1579 support -- not complete yet.
#
.if defined(WITH_RFC1579)
CONFIGURE_ARGS+= --enable-rfc1579
.endif

#
# OPTIONAL: include ldap-support - currently ldap.2 needs minor fixes...
#
.if defined(WITH_LDAP)
CONFIGURE_ARGS+=    --with-libldap
LIB_DEPENDS+=       ldap.1:${PORTSDIR}/net/openldap12
.else
CONFIGURE_ARGS+=    --without-libldap
.endif

#
# OPTIONAL: re-build the sgml documentation (postscript, html)
# unfortunatenly this docu it is not up to date :-((
# reading of the manual pages and HOWTO's makes more sense...
#
.if !defined(WITH_SGMLDOC)
ALL_TARGET=  -C ftp-proxy
.endif

MAN8=       ftp-proxy.8
MAN5=       ftp-proxy.conf.5

pre-install:
    @strip ${WRKSRC}/ftp-proxy/ftp-proxy

post-install:
    @${SED} 's|PREFIX|${PREFIX}|' ${PKGMESSAGE}

.include <bsd.port.mk>