summaryrefslogtreecommitdiff
path: root/security/xinetd/Makefile
blob: 5cef34aa961f586b73e769429af6aecec704ac55 (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
# New ports collection makefile for:	xinetd
# Version required:			2.1.8.6b6
# Date created:				28 June 1996
# Whom:					markm
#
# $Id: Makefile,v 1.8 1999/08/14 08:41:15 vanilla Exp $
#

DISTNAME=	xinetd-2.1.8.6b6
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}/sbin/xinetd && 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>