1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00
Dmitry Marakasov bae2326be4 - Add CPE info
- Add LICENSE

Approved by:	portmgr blanket
2015-05-16 17:54:50 +00:00

54 lines
1.1 KiB
Makefile

# Created by: peter
# $FreeBSD$
PORTNAME= echoping
PORTVERSION= 6.0.2
PORTREVISION= 3
CATEGORIES= net ipv6
MASTER_SITES= SF
MAINTAINER= sumikawa@FreeBSD.org
COMMENT= Ping-like program that uses TCP and/or HTTP
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpopt.so:${PORTSDIR}/devel/popt \
libidn.so:${PORTSDIR}/dns/libidn
USES= cpe libtool
CPE_VENDOR= echoping_project
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}
USES+= pgsql
PING_PLUGINS+= postgresql
PLIST_SUB+= WITH_PGSQL=""
.else
PLIST_SUB+= WITH_PGSQL="@comment "
.endif
post-patch:
@${REINPLACE_CMD} '/^echoping_LDADD =/s/$$/ -lm/' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>