1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Add since 0.3, a tool to view the end of a file like tail(1), but save state

between sessions.
This commit is contained in:
Johann Visagie 2002-02-11 10:49:40 +00:00
parent 021900e87b
commit 14aa8989b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=54546
7 changed files with 62 additions and 0 deletions

View File

@ -196,6 +196,7 @@
SUBDIR += sh-utils
SUBDIR += shc
SUBDIR += shuffle
SUBDIR += since
SUBDIR += sloccount
SUBDIR += sls
SUBDIR += smssend

17
misc/since/Makefile Normal file
View File

@ -0,0 +1,17 @@
# New ports collection makefile for: py-martel
# Date created: 11 February 2002
# Whom: Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= since
PORTVERSION= 0.3
CATEGORIES= misc
MASTER_SITES= ftp://jade.cs.uct.ac.za/pub/
MAINTAINER= wjv@FreeBSD.org
MAN1= since.1
.include <bsd.port.mk>

1
misc/since/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (since-0.3.tar.gz) = 0575abb4f0b824ec04a0bce425e61df3

View File

@ -0,0 +1,31 @@
--- Makefile.orig Mon May 7 13:05:30 2001
+++ Makefile Mon Feb 11 12:37:38 2002
@@ -16,8 +16,8 @@
###########################################################################
# Compiler and Flags ######################################################
-CC = gcc
-CFLAGS = -Wall -O2 -fomit-frame-pointer -DVERSION=\"$(VERSION)\"
+#CC = gcc
+CFLAGS += -Wall -fomit-frame-pointer -DVERSION=\"$(VERSION)\"
STRIP = strip
#CFLAGS += -DTRACE
@@ -43,15 +43,14 @@
# Install #################################################################
install : $(TARGET)
- $(INSTALL) -m 0755 $(TARGET) $(INTARGET)
- $(INSTALL) -m 0644 $(MAN) $(INMAN)
+ $(BSD_INSTALL_PROGRAM) $(TARGET) $(PREFIX)/bin/$(TARGET)
+ $(BSD_INSTALL_MAN) $(MAN) $(PREFIX)/man/man1/$(MAN)
###########################################################################
# Build since executable ##################################################
$(TARGET) : $(OBJ)
$(CC) $(CFLAGS) $(OBJ) -o $(TARGET)
- $(STRIP) $(TARGET)
###########################################################################
# Build object files from source ##########################################

1
misc/since/pkg-comment Normal file
View File

@ -0,0 +1 @@
View the end of a file like tail(1), but save state between sessions

10
misc/since/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
Paraphrasing since(1):
since is similar to tail(1) since it also displays the tail of a file.
However, since displays only the data which has been added since the last
time since was run. If since has not been run before, the entire file is
displayed. since is useful for watching over log files.
Author: Marc Welz <marc@jade.cs.uct.ac.za>
-- Johann Visagie <wjv@FreeBSD.org>

1
misc/since/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/since