diff options
author | seb <seb@pkgsrc.org> | 2012-08-17 23:38:11 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2012-08-17 23:38:11 +0000 |
commit | 4c96d23a8960e8f4f5ba3dbc15343196f7554fcc (patch) | |
tree | f2f14e748e11ff0d48802a31951efcba3169c4c2 /misc | |
parent | 79c8d73fff17a980312bfc959b7ae6e663aaabf8 (diff) | |
download | pkgsrc-4c96d23a8960e8f4f5ba3dbc15343196f7554fcc.tar.gz |
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.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/since/DESCR | 2 | ||||
-rw-r--r-- | misc/since/Makefile | 16 | ||||
-rw-r--r-- | misc/since/PLIST | 3 | ||||
-rw-r--r-- | misc/since/distinfo | 6 | ||||
-rw-r--r-- | misc/since/patches/patch-Makefile | 23 |
5 files changed, 50 insertions, 0 deletions
diff --git a/misc/since/DESCR b/misc/since/DESCR new file mode 100644 index 00000000000..120259d021f --- /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 00000000000..ac13214e650 --- /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 00000000000..99693980907 --- /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 00000000000..decf60fda20 --- /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 00000000000..7ca28235442 --- /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 |