aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gnu-watch
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-08-18 14:31:27 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-08-18 14:31:27 +0800
commit98057638d8169d44478239fc7f844ae86f353a45 (patch)
tree50e89df4ab3156505035bbf9483a75a46bad0c53 /misc/gnu-watch
parent293e0110999fab1bd41e6ebfb596e3a4d7ed9778 (diff)
downloadfreebsd-ports-gnome-98057638d8169d44478239fc7f844ae86f353a45.tar.gz
freebsd-ports-gnome-98057638d8169d44478239fc7f844ae86f353a45.tar.zst
freebsd-ports-gnome-98057638d8169d44478239fc7f844ae86f353a45.zip
Update to 3.2.7
Diffstat (limited to 'misc/gnu-watch')
-rw-r--r--misc/gnu-watch/Makefile16
-rw-r--r--misc/gnu-watch/distinfo6
-rw-r--r--misc/gnu-watch/files/extrapatch-watch.c (renamed from misc/gnu-watch/files/watch.c.patch)0
-rw-r--r--misc/gnu-watch/pkg-descr6
4 files changed, 12 insertions, 16 deletions
diff --git a/misc/gnu-watch/Makefile b/misc/gnu-watch/Makefile
index ee70ff9f0ea2..ef45ccc5b100 100644
--- a/misc/gnu-watch/Makefile
+++ b/misc/gnu-watch/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= watch
-DISTVERSION= 3.2.5
+DISTVERSION= 3.2.7
CATEGORIES= misc
MASTER_SITES= http://procps.sourceforge.net/ \
http://critical.ch/distfiles/ \
@@ -20,25 +20,23 @@ COMMENT= GNU watch command
USE_GETOPT_LONG=yes
USE_GCC= 3.4+
-MAN1= gnu-watch.1
+LDFLAGS+= -lncurses
+MAN1= gnu-watch.1
PLIST_FILES= bin/${UNIQUENAME}
-CFLAGS+= -fno-common -ffast-math -D_GNU_SOURCE -O2
-
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-post-patch:
- @${PATCH} -s ${WRKSRC}/watch.c ${FILESDIR}/watch.c.patch
+EXTRA_PATCHES+= ${FILESDIR}/extrapatch-watch.c
.endif
do-build:
- ${CC} ${CFLAGS} ${LDFLAGS} -s -c ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${UNIQUENAME}.o
- ${CC} ${CFLAGS} ${LDFLAGS} -s -lncurses ${WRKSRC}/${UNIQUENAME}.o -o ${WRKSRC}/${UNIQUENAME}
+ ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/${PORTNAME}.c \
+ -o ${WRKSRC}/${UNIQUENAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${UNIQUENAME} ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/watch.1 ${MANPREFIX}/man/man1/gnu-watch.1
+ ${INSTALL_MAN} ${WRKSRC}/watch.1 ${MANPREFIX}/man/man1/${UNIQUENAME}.1
.include <bsd.port.post.mk>
diff --git a/misc/gnu-watch/distinfo b/misc/gnu-watch/distinfo
index 005ee9c3ef46..29e210017e93 100644
--- a/misc/gnu-watch/distinfo
+++ b/misc/gnu-watch/distinfo
@@ -1,3 +1,3 @@
-MD5 (procps-3.2.5.tar.gz) = cde0e3612d1d7c68f404d46f01c44fb4
-SHA256 (procps-3.2.5.tar.gz) = 6d52c706401af197bd9d7e0187c35b4a3463ea720392ffa0c020d94899b361e5
-SIZE (procps-3.2.5.tar.gz) = 277365
+MD5 (procps-3.2.7.tar.gz) = f490bca772b16472962c7b9f23b1e97d
+SHA256 (procps-3.2.7.tar.gz) = b439e04adab9b1e66e11f59c4331680da48f1722f2123123f7c16dfbed2c38dc
+SIZE (procps-3.2.7.tar.gz) = 281965
diff --git a/misc/gnu-watch/files/watch.c.patch b/misc/gnu-watch/files/extrapatch-watch.c
index de8c97abfa4a..de8c97abfa4a 100644
--- a/misc/gnu-watch/files/watch.c.patch
+++ b/misc/gnu-watch/files/extrapatch-watch.c
diff --git a/misc/gnu-watch/pkg-descr b/misc/gnu-watch/pkg-descr
index 42fa63444e13..d4c10b1fb579 100644
--- a/misc/gnu-watch/pkg-descr
+++ b/misc/gnu-watch/pkg-descr
@@ -1,8 +1,6 @@
GNU watch runs a command repeatedly, displaying its output (the first
-screenfull). This allows you to watch the program output change over
-time.
+screenfull). This allows you to watch the program output change over time.
WWW: http://procps.sourceforge.net/
-- ehaupt
-ehaupt@critical.ch
+- ehaupt ehaupt@critical.ch