freebsd-ports/security/xinetd/Makefile
Vanilla I. Shu 365826ef02 Upgrade to 2.1.8.6b7, and add the patch from Josh Tiefenbach.
PR:		ports/12874
Submitted by:	Josh Tiefenbach josh@zipperup.org
1999-09-19 11:49:44 +00:00

35 lines
929 B
Makefile

# New ports collection makefile for: xinetd
# Version required: 2.1.8.6b7
# Date created: 28 June 1996
# Whom: markm
#
# $FreeBSD$
#
DISTNAME= xinetd-2.1.8.6b7
CATEGORIES= security
MASTER_SITES= http://synack.net/xinetd/
MAINTAINER= markm@FreeBSD.org
FETCH_BEFORE_ARGS= -b
GNU_CONFIGURE= yes
USE_GMAKE= yes
ALL_TARGET= build
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; \
${CHMOD} 751 ${PREFIX}/etc/rc.d/xinetd.sh; \
fi
strip ${PREFIX}/sbin/xinetd
.include <bsd.port.mk>