1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/security/xinetd/Makefile
Vanilla I. Shu ba4741e375 Fix typo error in Makefile.
PR:		ports/8982
Submitted by:	Terry Liao <ijliao@Terry.Dorm10.NCTU.edu.tw>
1998-12-06 09:34:31 +00:00

36 lines
1.1 KiB
Makefile

# New ports collection makefile for: xinetd
# Version required: 2.2.1
# Date created: 28 June 1996
# Whom: markm
#
# $Id: Makefile,v 1.5 1998/07/11 00:37:00 steve Exp $
#
DISTNAME= xinetd-2.2.1
CATEGORIES= security
MASTER_SITES= ftp://coast.cs.purdue.edu/pub/tools/unix/xinetd/
MAINTAINER= markm@FreeBSD.ORG
MAN1= xinetd.1
MAN5= xinetd.conf.5 xinetd.log.5
do-build:
cd ${WRKSRC} ; ./compile-src -os freebsd2
do-install:
${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
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
.include <bsd.port.mk>