blob: 56b76b59a95017a26aa93bef7a1ea04693e4afbd (
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
|
# Created by: peter
# $FreeBSD$
PORTNAME= echoping
PORTVERSION= 6.0.2
PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= SF
MAINTAINER= sumikawa@FreeBSD.org
COMMENT= Ping-like program that uses TCP and/or HTTP
LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt \
libidn.so:${PORTSDIR}/dns/libidn
USES= libtool
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-http --enable-icp --enable-smtp --with-ssl \
--enable-ttcp --enable-tos --with-libidn=${LOCALBASE} \
--enable-plugin="${PING_PLUGINS}"
PING_PLUGINS= dns random whois
OPTIONS_DEFINE= LDAP PGSQL
OPTIONS_DEFAULT= LDAP
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLDAP}
USE_OPENLDAP= yes
PING_PLUGINS+= ldap
PLIST_SUB= WITH_LDAP=""
.else
PLIST_SUB= WITH_LDAP="@comment "
.endif
.if ${PORT_OPTIONS:MPGSQL}
USE_PGSQL= yes
PING_PLUGINS+= postgresql
PLIST_SUB+= WITH_PGSQL=""
.else
PLIST_SUB+= WITH_PGSQL="@comment "
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64" || ${ARCH} == "powerpc"
BROKEN= Does not link on ia64 or powerpc
.endif
.include <bsd.port.post.mk>
|