aboutsummaryrefslogtreecommitdiffstats
path: root/net/echoping/Makefile
blob: 61e87ae9b04db7291bb4e82aa142680b1dea2213 (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
# Created by: peter
# $FreeBSD$

PORTNAME=   echoping
PORTVERSION=    6.0.2
PORTREVISION=   5
CATEGORIES= net ipv6
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Ping-like program that uses TCP and/or HTTP

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/COPYING

LIB_DEPENDS=    libpopt.so:devel/popt \
        libidn.so:dns/libidn

USES=       cpe libtool ssl
CPE_VENDOR= echoping_project
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-http --enable-icp --enable-smtp --with-ssl \
        --enable-ttcp --enable-tos --with-libidn=${LOCALBASE} \
        --enable-plugin="${PING_PLUGINS}"
INSTALL_TARGET= install-strip

PING_PLUGINS=   dns random whois

OPTIONS_DEFINE= LDAP PGSQL
OPTIONS_DEFAULT=LDAP
OPTIONS_SUB=    yes

LDAP_USE=   OPENLDAP=yes
LDAP_VARS=  PING_PLUGINS+=ldap

PGSQL_USES= pgsql
PGSQL_VARS= PING_PLUGINS+=postgresql

post-patch:
    @${REINPLACE_CMD} '/^echoping_LDADD =/s/$$/ -lm/' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>