From 4c96d23a8960e8f4f5ba3dbc15343196f7554fcc Mon Sep 17 00:00:00 2001 From: seb Date: Fri, 17 Aug 2012 23:38:11 +0000 Subject: [PATCH] Initial import of since version 1.1 in the NetBSD Packages Collection. Since is a tail(1) with state - it allows the user to view only the lines appended to a file since the last time since was used. --- misc/since/DESCR | 2 ++ misc/since/Makefile | 16 ++++++++++++++++ misc/since/PLIST | 3 +++ misc/since/distinfo | 6 ++++++ misc/since/patches/patch-Makefile | 23 +++++++++++++++++++++++ 5 files changed, 50 insertions(+) create mode 100644 misc/since/DESCR create mode 100644 misc/since/Makefile create mode 100644 misc/since/PLIST create mode 100644 misc/since/distinfo create mode 100644 misc/since/patches/patch-Makefile diff --git a/misc/since/DESCR b/misc/since/DESCR new file mode 100644 index 000000000000..120259d021f0 --- /dev/null +++ b/misc/since/DESCR @@ -0,0 +1,2 @@ +Since is a tail(1) with state - it allows the user to view only +the lines appended to a file since the last time since was used. diff --git a/misc/since/Makefile b/misc/since/Makefile new file mode 100644 index 000000000000..ac13214e6500 --- /dev/null +++ b/misc/since/Makefile @@ -0,0 +1,16 @@ +# $NetBSD: Makefile,v 1.1.1.1 2012/08/17 23:38:11 seb Exp $ + +DISTNAME= since-1.1 +CATEGORIES= misc +MASTER_SITES= http://welz.org.za/projects/since/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://welz.org.za/projects/since +COMMENT= Utility to monitor log files +LICENSE= gnu-gpl-v3 + +PKG_DESTDIR_SUPPORT= user-destdir + +BUILD_TARGET= since + +.include "../../mk/bsd.pkg.mk" diff --git a/misc/since/PLIST b/misc/since/PLIST new file mode 100644 index 000000000000..99693980907e --- /dev/null +++ b/misc/since/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2012/08/17 23:38:11 seb Exp $ +bin/since +man/man1/since.1 diff --git a/misc/since/distinfo b/misc/since/distinfo new file mode 100644 index 000000000000..decf60fda201 --- /dev/null +++ b/misc/since/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2012/08/17 23:38:11 seb Exp $ + +SHA1 (since-1.1.tar.gz) = 67f07e8237d63f846cd8ca60b5a16fc32d4f81a5 +RMD160 (since-1.1.tar.gz) = 18231d3b3c286422eb972a434f0d3cbfb92ae392 +Size (since-1.1.tar.gz) = 24822 bytes +SHA1 (patch-Makefile) = 833358bb72083758c98e1fc99b0365caf9a421fb diff --git a/misc/since/patches/patch-Makefile b/misc/since/patches/patch-Makefile new file mode 100644 index 000000000000..7ca28235442e --- /dev/null +++ b/misc/since/patches/patch-Makefile @@ -0,0 +1,23 @@ +$NetBSD: patch-Makefile,v 1.1.1.1 2012/08/17 23:38:11 seb Exp $ + +pkgsrc friendly Makefile + +--- Makefile.orig 2010-07-10 12:57:32.000000000 +0000 ++++ Makefile +@@ -15,11 +15,13 @@ RM = rm -f + INSTALL = install -D + + $(NAME): $(NAME).c +- $(CC) $(CFLAGS) -o $@ $^ ++ $(CC) $(CFLAGS) -o $@ $< + + install: $(NAME) +- $(INSTALL) $(NAME) $(prefix)/bin/$(NAME) +- $(INSTALL) $(NAME).1 $(prefix)/share/man/man1/$(NAME).1 ++ $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(PREFIX)/bin ++ $(BSD_INSTALL_PROGRAM) $(NAME) $(DESTDIR)$(PREFIX)/bin/$(NAME) ++ $(BSD_INSTALL_MAN_DIR) $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1 ++ $(BSD_INSTALL_MAN) $(NAME).1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/$(NAME).1 + + clean: + $(RM) $(NAME) core *.o