blob: b6a2009cbbbbcb158d808e7f9ab6c2c040ca2942 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# New ports collection makefile for: xinetd
# Date created: 28 June 1996
# Whom: markm
#
# $FreeBSD$
#
PORTNAME= xinetd
PORTVERSION= 2.3.7
PORTREVISION= 0
CATEGORIES= security
MASTER_SITES= http://www.xinetd.org/
MAINTAINER= vanilla@FreeBSD.org
USE_GMAKE= yes
GNU_CONFIGURE= yes
ALL_TARGET= build
CONFIGURE_ARGS+= --with-loadavg --with-libwrap
.if defined(WITH_INET6)
CONFIGURE_ARGS+= --with-inet6
.endif
MAN5= xinetd.conf.5
MAN8= xconv.8 xinetd.8 xinetd.log.8
post-patch:
${FIND} ${WRKSRC}/libs/src -name Makefile.in | ${XARGS} \
${PERL} -pi -e 's!\@INSTALL\@!/bin/cp!; s!-m 640!!'
post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/xinetd.sh ]; then \
${ECHO_CMD} "Install ${PREFIX}/etc/rc.d/xinetd.sh startup file."; \
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/xinetd.sh ${PREFIX}/etc/rc.d/xinetd.sh; \
fi
@${STRIP_CMD} ${PREFIX}/sbin/xinetd
.include <bsd.port.mk>
|