1996-07-11 00:18:38 +02:00
|
|
|
# New ports collection makefile for: xinetd
|
1999-05-10 19:15:01 +02:00
|
|
|
# Date created: 28 June 1996
|
|
|
|
# Whom: markm
|
1996-07-11 00:18:38 +02:00
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1996-07-11 00:18:38 +02:00
|
|
|
#
|
|
|
|
|
2000-04-15 06:31:31 +02:00
|
|
|
PORTNAME= xinetd
|
2002-05-11 13:29:27 +02:00
|
|
|
PORTVERSION= 2.3.4
|
2002-05-17 09:32:54 +02:00
|
|
|
PORTREVISION= 1
|
1996-11-17 08:58:10 +01:00
|
|
|
CATEGORIES= security
|
2001-07-01 07:04:03 +02:00
|
|
|
MASTER_SITES= http://www.xinetd.org/
|
1996-07-11 00:18:38 +02:00
|
|
|
|
1999-11-13 08:42:54 +01:00
|
|
|
MAINTAINER= vanilla@FreeBSD.org
|
1996-07-11 00:18:38 +02:00
|
|
|
|
2001-09-01 04:33:41 +02:00
|
|
|
USE_GMAKE= yes
|
1999-05-10 19:15:01 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
ALL_TARGET= build
|
2002-05-17 09:32:54 +02:00
|
|
|
CONFIGURE_ARGS+= --with-loadavg --with-libwrap
|
|
|
|
|
|
|
|
.if defined(WITH_INET6)
|
|
|
|
CONFIGURE_ARGS+= --with-inet6
|
|
|
|
.endif
|
1996-11-17 08:58:10 +01:00
|
|
|
|
1999-05-10 19:15:01 +02:00
|
|
|
MAN5= xinetd.conf.5
|
|
|
|
MAN8= xinetd.8 xinetd.log.8
|
1996-07-11 00:18:38 +02:00
|
|
|
|
2001-07-01 07:04:03 +02:00
|
|
|
post-patch:
|
2002-05-11 13:29:27 +02:00
|
|
|
${FIND} ${WRKSRC}/libs/src -name Makefile.in | ${XARGS} \
|
|
|
|
${PERL} -pi -e 's!\@INSTALL\@!/bin/cp!; s!-m 640!!'
|
2001-07-01 07:04:03 +02:00
|
|
|
|
1997-12-04 04:41:07 +01:00
|
|
|
post-install:
|
|
|
|
@if [ ! -f ${PREFIX}/etc/rc.d/xinetd.sh ]; then \
|
2002-05-11 13:29:27 +02:00
|
|
|
${ECHO_CMD} "Install ${PREFIX}/etc/rc.d/xinetd.sh startup file."; \
|
2000-07-05 14:37:06 +02:00
|
|
|
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/xinetd.sh ${PREFIX}/etc/rc.d/xinetd.sh; \
|
1997-12-04 04:41:07 +01:00
|
|
|
fi
|
2002-05-11 13:29:27 +02:00
|
|
|
@${STRIP_CMD} ${PREFIX}/sbin/xinetd
|
1998-07-11 02:37:53 +02:00
|
|
|
|
1996-07-11 00:18:38 +02:00
|
|
|
.include <bsd.port.mk>
|