1997-04-12 19:17:34 +02:00
|
|
|
# New ports collection makefile for: echoping
|
|
|
|
# Date created: 13 April 1997
|
|
|
|
# Whom: 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
|
2007-04-03 06:09:02 +02:00
|
|
|
PORTVERSION= 6.0.0
|
2002-10-13 00:21:24 +02:00
|
|
|
CATEGORIES= net ipv6
|
2006-06-07 08:14:55 +02:00
|
|
|
MASTER_SITES= ftp://ftp.internatif.org/pub/unix/echoping/
|
1997-04-12 19:17:34 +02:00
|
|
|
|
2002-10-13 00:21:24 +02:00
|
|
|
MAINTAINER= sumikawa@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A ping-like program that uses tcp and/or http
|
2001-01-14 11:50:11 +01:00
|
|
|
|
2006-06-12 05:51:00 +02:00
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
|
2006-11-09 03:50:02 +01:00
|
|
|
idn.16:${PORTSDIR}/dns/libidn
|
2004-03-08 00:37:42 +01:00
|
|
|
|
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 \
|
2007-07-23 11:36:51 +02:00
|
|
|
--enable-ttcp --enable-tos --with-libidn=${LOCALBASE}
|
1997-04-12 19:17:34 +02:00
|
|
|
|
2006-11-30 14:05:51 +01:00
|
|
|
PING_PLUGINS= dns random whois
|
|
|
|
|
|
|
|
MAN1= echoping.1 echoping_dns.1 echoping_random.1 echoping_whois.1
|
|
|
|
|
|
|
|
OPTIONS= LDAP "Enable LDAP plug-in" on \
|
|
|
|
PGSQL "Enable PostgreSQL plug-in" off
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_LDAP)
|
|
|
|
USE_OPENLDAP= yes
|
|
|
|
MAN1+= echoping_ldap.1
|
|
|
|
PING_PLUGINS+= ldap
|
|
|
|
PLIST_SUB= WITH_LDAP=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB= WITH_LDAP="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_PGSQL)
|
|
|
|
USE_PGSQL= yes
|
|
|
|
MAN1+= echoping_postgresql.1
|
|
|
|
PING_PLUGINS+= postgresql
|
|
|
|
PLIST_SUB+= WITH_PGSQL=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= WITH_PGSQL="@comment "
|
|
|
|
.endif
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+=--enable-plugin="${PING_PLUGINS}"
|
1997-04-12 19:17:34 +02:00
|
|
|
|
2007-03-27 22:27:42 +02:00
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name configure | ${XARGS} ${REINPLACE_CMD} -e 's|echo aout|echo elf|'
|
|
|
|
|
2006-11-30 14:05:51 +01:00
|
|
|
.include <bsd.port.post.mk>
|