mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
f935a609c5
supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
57 lines
1.2 KiB
Makefile
57 lines
1.2 KiB
Makefile
# New ports collection makefile for: echoping
|
|
# Date created: 13 April 1997
|
|
# Whom: peter
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= echoping
|
|
PORTVERSION= 6.0.0
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= ftp://ftp.internatif.org/pub/unix/echoping/
|
|
|
|
MAINTAINER= sumikawa@FreeBSD.org
|
|
COMMENT= A ping-like program that uses tcp and/or http
|
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
|
|
idn.16:${PORTSDIR}/dns/libidn
|
|
|
|
USE_OPENSSL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-http --enable-icp --enable-smtp --with-ssl \
|
|
--enable-ttcp --enable-tos --with-libidn=${LOCALBASE}
|
|
|
|
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}"
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name configure | ${XARGS} ${REINPLACE_CMD} -e 's|echo aout|echo elf|'
|
|
|
|
.include <bsd.port.post.mk>
|