mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
1d82e74887
SIGHUP it reopens the file, thus allowing automated rotation of logs. One possible application of logserial is to save logs of PBX. PR: ports/93091 Submitted by: Anastasya Batieva <nastya@rsu.ru>
28 lines
535 B
Makefile
28 lines
535 B
Makefile
# New ports collection makefile for: logserial
|
|
# Date created: 25 November 2005
|
|
# Whom: nastya
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= logserial
|
|
PORTVERSION= 1.0
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://ftp.rsu.ru/pub/sysutils/unix/
|
|
|
|
MAINTAINER= nastya@rsu.ru
|
|
COMMENT= Daemon logging data from serial port
|
|
|
|
USE_RC_SUBR= yes
|
|
|
|
MAN8= logserial.8
|
|
MANCOMPRESSED= yes
|
|
|
|
PLIST_FILES= bin/logserial \
|
|
etc/rc.d/logserial.sh \
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${WRKSRC}/logserial.sh
|
|
|
|
.include <bsd.port.mk>
|