1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/sysutils/blimitd/Makefile
Christian Weisgerber 13a7d7db16 The startup script supportes an argument of status which is just a quick way to
see if the daemon is running. The case when the daemon wasn't apparently
running was missing a "fi". While we're here, fancify the grep a little and
fix the fact that it shows you the script is running as well as the daemon.

Reported by:	Jonathan Towne <jontow@twcny.rr.com>

PR:		41252
Submitted by:	Andrew Stevenson <andrew@ugh.net.au>
2002-08-02 10:55:12 +00:00

30 lines
712 B
Makefile

# New ports collection makefile for: blimitd
# Date created: 29 Jul 2001
# Whom: Andrew Stevenson <andrew@ugh.net.au>
#
# $FreeBSD$
#
PORTNAME= blimitd
PORTVERSION= 0.1
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.ugh.net.au/pub/unix/blimitd/ \
ftp://ftp.megamirror.com/pub/ugh/unix/blimitd/ \
http://ftp.megamirror.com/pub/ugh/unix/blimitd/
MAINTAINER= andrew@ugh.net.au
WRKSRC= ${WRKDIR}/blimitd
MAN8= blimitd.8
MANCOMPRESSED= maybe
post-install:
@if [ ! -f ${PREFIX}/etc/rc.d/blimitd.sh ]; then \
${ECHO} "Installing ${PREFIX}/etc/rc.d/blimitd.sh startup file."; \
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/blimitd.sh ${PREFIX}/etc/rc.d/blimitd.sh; \
fi
.include <bsd.port.mk>