aboutsummaryrefslogtreecommitdiffstats
path: root/misc/since
diff options
context:
space:
mode:
authortabthorpe <tabthorpe@FreeBSD.org>2013-10-25 23:52:40 +0800
committertabthorpe <tabthorpe@FreeBSD.org>2013-10-25 23:52:40 +0800
commite9786e144c70240a15003109315914b55ab3f0cb (patch)
tree0c0e9fb034acb620c8d2b3312874e28e7627cf04 /misc/since
parent0b45daaec926c41438c7c4d99912ccba33880300 (diff)
downloadfreebsd-ports-gnome-e9786e144c70240a15003109315914b55ab3f0cb.tar.gz
freebsd-ports-gnome-e9786e144c70240a15003109315914b55ab3f0cb.tar.zst
freebsd-ports-gnome-e9786e144c70240a15003109315914b55ab3f0cb.zip
- Convert to staging
Diffstat (limited to 'misc/since')
-rw-r--r--misc/since/Makefile11
-rw-r--r--misc/since/files/patch-Makefile19
-rw-r--r--misc/since/files/patch-since.12
-rw-r--r--misc/since/pkg-descr8
4 files changed, 15 insertions, 25 deletions
diff --git a/misc/since/Makefile b/misc/since/Makefile
index 548befa77c2b..0463475e0ebd 100644
--- a/misc/since/Makefile
+++ b/misc/since/Makefile
@@ -10,14 +10,15 @@ MAINTAINER= tabthorpe@FreeBSD.org
COMMENT= View the end of a file like tail(1), but save state between sessions
LICENSE= GPLv3
-LICENSE_FILE= ${WRKSRC}/COPYING
-USE_GMAKE= yes
+USES= gmake
ALL_TARGET= ${PORTNAME}
-MAN1= since.1
-PLIST_FILES= bin/since
+PLIST_FILES= bin/since man/man1/since.1.gz
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/since ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/since.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/misc/since/files/patch-Makefile b/misc/since/files/patch-Makefile
index 556f5066e718..0e9ecf262519 100644
--- a/misc/since/files/patch-Makefile
+++ b/misc/since/files/patch-Makefile
@@ -1,6 +1,6 @@
---- Makefile.orig 2010-07-10 08:57:32.000000000 -0400
-+++ Makefile 2010-07-15 23:44:12.000000000 -0400
-@@ -1,25 +1,22 @@
+--- ./Makefile.orig 2010-07-10 08:57:32.000000000 -0400
++++ ./Makefile 2013-10-25 11:33:34.000000000 -0400
+@@ -1,16 +1,14 @@
# IMHO auto{make,conf} is overkill. Simple, readable makefiles improve security
-prefix=/usr/local
@@ -16,16 +16,5 @@
-CC = gcc
RM = rm -f
--INSTALL = install -D
+ INSTALL = install -D
- $(NAME): $(NAME).c
- $(CC) $(CFLAGS) -o $@ $^
-
- install: $(NAME)
-- $(INSTALL) $(NAME) $(prefix)/bin/$(NAME)
-- $(INSTALL) $(NAME).1 $(prefix)/share/man/man1/$(NAME).1
-+ $(BSD_INSTALL_PROGRAM) $(NAME) $(PREFIX)/bin/$(NAME)
-+ $(BSD_INSTALL_MAN) $(NAME).1 $(PREFIX)/man/man1/$(NAME).1
-
- clean:
- $(RM) $(NAME) core *.o
diff --git a/misc/since/files/patch-since.1 b/misc/since/files/patch-since.1
index 8358d3cf5d7f..3b8c4f3d0929 100644
--- a/misc/since/files/patch-since.1
+++ b/misc/since/files/patch-since.1
@@ -1,5 +1,5 @@
--- ./since.1.orig 2009-01-05 15:52:55.000000000 -0500
-+++ ./since.1 2009-06-17 14:06:14.000000000 -0400
++++ ./since.1 2013-10-25 11:29:39.000000000 -0400
@@ -1,4 +1,4 @@
-.TH SINCE 1 "JULY 1998" Linux "User Manuals"
+.TH SINCE 1 "JULY 1998" FreeBSD "User Manuals"
diff --git a/misc/since/pkg-descr b/misc/since/pkg-descr
index 647607211c15..6299b5fb94ad 100644
--- a/misc/since/pkg-descr
+++ b/misc/since/pkg-descr
@@ -1,5 +1,5 @@
-since is a unix utility similar to tail. Unlike tail, since only
-shows the lines appended since the last time. It is useful to monitor
-growing log files.
+since is a unix utility similar to tail. Unlike tail, since only shows the
+lines appended since the last time. It is useful to monitor growing log
+files.
-WWW: http://welz.org.za/projects/since
+WWW: http://welz.org.za/projects/since