1996-07-10 22:18:38 +00:00
|
|
|
# New ports collection makefile for: xinetd
|
1997-12-04 03:41:07 +00:00
|
|
|
# Version required: 2.2.1
|
1996-07-10 22:18:38 +00:00
|
|
|
# Date created: 28 June 1996
|
|
|
|
# Whom: markm
|
|
|
|
#
|
1998-12-06 09:34:31 +00:00
|
|
|
# $Id: Makefile,v 1.5 1998/07/11 00:37:00 steve Exp $
|
1996-07-10 22:18:38 +00:00
|
|
|
#
|
|
|
|
|
1997-12-04 03:41:07 +00:00
|
|
|
DISTNAME= xinetd-2.2.1
|
1996-11-17 07:58:10 +00:00
|
|
|
CATEGORIES= security
|
1997-12-04 03:41:07 +00:00
|
|
|
MASTER_SITES= ftp://coast.cs.purdue.edu/pub/tools/unix/xinetd/
|
1996-07-10 22:18:38 +00:00
|
|
|
|
|
|
|
MAINTAINER= markm@FreeBSD.ORG
|
|
|
|
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN1= xinetd.1
|
|
|
|
MAN5= xinetd.conf.5 xinetd.log.5
|
1996-11-17 07:58:10 +00:00
|
|
|
|
1996-07-10 22:18:38 +00:00
|
|
|
do-build:
|
1997-12-04 03:41:07 +00:00
|
|
|
cd ${WRKSRC} ; ./compile-src -os freebsd2
|
1996-07-10 22:18:38 +00:00
|
|
|
|
|
|
|
do-install:
|
1998-07-11 00:37:53 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xinetd/xinetd ${PREFIX}/sbin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.man ${PREFIX}/man/man1/xinetd.1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.conf.man ${PREFIX}/man/man5/xinetd.conf.5
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xinetd/xinetd.log.man ${PREFIX}/man/man5/xinetd.log.5
|
1996-07-10 22:18:38 +00:00
|
|
|
|
1997-12-04 03:41:07 +00:00
|
|
|
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; \
|
1998-12-06 09:34:31 +00:00
|
|
|
${ECHO} "[ -x ${PREFIX}/sbin/xinetd ] && ${PREFIX}/sbin/xinetd && echo -n ' xinetd'" >> ${PREFIX}/etc/rc.d/xinetd.sh; \
|
1997-12-04 03:41:07 +00:00
|
|
|
chmod 751 ${PREFIX}/etc/rc.d/xinetd.sh; \
|
|
|
|
fi
|
1998-07-11 00:37:53 +00:00
|
|
|
|
1996-07-10 22:18:38 +00:00
|
|
|
.include <bsd.port.mk>
|