1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/security/xinetd/Makefile

36 lines
981 B
Makefile
Raw Normal View History

# New ports collection makefile for: xinetd
# Date created: 28 June 1996
# Whom: markm
#
1999-08-31 01:53:22 +00:00
# $FreeBSD$
#
PORTNAME= xinetd
2000-06-24 15:19:25 +00:00
PORTVERSION= 2.1.8.8p3
CATEGORIES= security
MASTER_SITES= http://www.xinetd.org/ \
http://synack.net/xinetd/
MAINTAINER= vanilla@FreeBSD.org
FETCH_BEFORE_ARGS= -b
GNU_CONFIGURE= yes
ALL_TARGET= build
CONFIGURE_ARGS= --with-loadavg --with-libwrap --with-inet6
MAN5= xinetd.conf.5
MAN8= xinetd.8 xinetd.log.8
post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/xinetd.sh ]; then \
${ECHO} "Install ${PREFIX}/etc/rc.d/xinetd.sh startup file."; \
${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/xinetd.sh; \
${ECHO} "[ -x ${PREFIX}/sbin/xinetd ] &&" >> ${PREFIX}/etc/rc.d/xinetd.sh; \
${ECHO} "${PREFIX}/sbin/xinetd -pid 2> /var/run/xinetd.pid &&" >> ${PREFIX}/etc/rc.d/xinetd.sh; \
${ECHO} "${ECHO} -n ' xinetd'" >> ${PREFIX}/etc/rc.d/xinetd.sh; \
1999-08-22 19:01:07 +00:00
${CHMOD} 751 ${PREFIX}/etc/rc.d/xinetd.sh; \
fi
strip ${PREFIX}/sbin/xinetd
.include <bsd.port.mk>