2013-03-05 18:07:43 +01:00
|
|
|
# Created by: peter
|
1999-08-30 16:24:37 +02:00
|
|
|
# $FreeBSD$
|
1997-04-12 19:17:34 +02:00
|
|
|
|
2000-04-09 20:14:07 +02:00
|
|
|
PORTNAME= echoping
|
2014-05-19 08:11:58 +02:00
|
|
|
PORTVERSION= 6.0.2
|
2014-08-30 20:18:14 +02:00
|
|
|
PORTREVISION= 3
|
2002-10-13 00:21:24 +02:00
|
|
|
CATEGORIES= net ipv6
|
2014-05-19 08:11:58 +02:00
|
|
|
MASTER_SITES= SF
|
1997-04-12 19:17:34 +02:00
|
|
|
|
2002-10-13 00:21:24 +02:00
|
|
|
MAINTAINER= sumikawa@FreeBSD.org
|
2014-07-10 14:13:11 +02:00
|
|
|
COMMENT= Ping-like program that uses TCP and/or HTTP
|
2001-01-14 11:50:11 +01:00
|
|
|
|
2014-05-19 08:11:58 +02:00
|
|
|
LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt \
|
|
|
|
libidn.so:${PORTSDIR}/dns/libidn
|
2004-03-08 00:37:42 +01:00
|
|
|
|
2014-05-19 08:11:58 +02:00
|
|
|
USES= libtool
|
2001-09-22 08:09:05 +02:00
|
|
|
USE_OPENSSL= yes
|
2001-01-14 11:50:11 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2001-09-22 08:09:05 +02:00
|
|
|
CONFIGURE_ARGS= --enable-http --enable-icp --enable-smtp --with-ssl \
|
2013-03-05 18:07:43 +01:00
|
|
|
--enable-ttcp --enable-tos --with-libidn=${LOCALBASE} \
|
|
|
|
--enable-plugin="${PING_PLUGINS}"
|
1997-04-12 19:17:34 +02:00
|
|
|
|
2006-11-30 14:05:51 +01:00
|
|
|
PING_PLUGINS= dns random whois
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
OPTIONS_DEFINE= LDAP PGSQL
|
|
|
|
OPTIONS_DEFAULT= LDAP
|
2006-11-30 14:05:51 +01:00
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2010-04-01 12:09:29 +02:00
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MLDAP}
|
2006-11-30 14:05:51 +01:00
|
|
|
USE_OPENLDAP= yes
|
|
|
|
PING_PLUGINS+= ldap
|
|
|
|
PLIST_SUB= WITH_LDAP=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB= WITH_LDAP="@comment "
|
|
|
|
.endif
|
|
|
|
|
2013-03-05 18:07:43 +01:00
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
2006-11-30 14:05:51 +01:00
|
|
|
USE_PGSQL= yes
|
|
|
|
PING_PLUGINS+= postgresql
|
|
|
|
PLIST_SUB+= WITH_PGSQL=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_PGSQL="@comment "
|
|
|
|
.endif
|
|
|
|
|
2014-09-22 16:48:01 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} '/^echoping_LDADD =/s/$$/ -lm/' ${WRKSRC}/Makefile.in
|
2013-03-05 18:07:43 +01:00
|
|
|
|
2014-09-22 16:48:01 +02:00
|
|
|
.include <bsd.port.mk>
|