aboutsummaryrefslogtreecommitdiffstats
path: root/misc/display
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-03-18 11:42:55 +0800
committerijliao <ijliao@FreeBSD.org>2002-03-18 11:42:55 +0800
commitc591bdcbc244a31cc67b2bc0f57d933a0bddaeeb (patch)
treeb96dedb49512905b6bc3ac93cf4b3432c7ec2778 /misc/display
parentb599af65fc8f66e5cbbb12fd712bb15a0553cf11 (diff)
downloadfreebsd-ports-gnome-c591bdcbc244a31cc67b2bc0f57d933a0bddaeeb.tar.gz
freebsd-ports-gnome-c591bdcbc244a31cc67b2bc0f57d933a0bddaeeb.tar.zst
freebsd-ports-gnome-c591bdcbc244a31cc67b2bc0f57d933a0bddaeeb.zip
upgrade to 1.2
PR: 36025 Submitted by: Ports Fury
Diffstat (limited to 'misc/display')
-rw-r--r--misc/display/Makefile21
-rw-r--r--misc/display/distinfo2
-rw-r--r--misc/display/files/patch-aa31
-rw-r--r--misc/display/files/patch-ab6
4 files changed, 30 insertions, 30 deletions
diff --git a/misc/display/Makefile b/misc/display/Makefile
index 69bb7ace889f..49c91ca4e725 100644
--- a/misc/display/Makefile
+++ b/misc/display/Makefile
@@ -5,21 +5,20 @@
# $FreeBSD$
#
-PORTNAME= display
-PORTVERSION= 1.1
-PORTREVISION= 1
-CATEGORIES= misc
-MASTER_SITES= http://www.ipsmart.com/src/
-EXTRACT_SUFX= .tgz
+PORTNAME= display
+PORTVERSION= 1.2
+CATEGORIES= misc
+MASTER_SITES= http://www.ipsmart.com/src/
+EXTRACT_SUFX= .tgz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
-GNU_CONFIGURE= yes
+GNU_CONFIGURE= yes
-MAN1= display.1
+MAN1= display.1
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/display ${PREFIX}/bin/display
- @${INSTALL_MAN} ${WRKSRC}/display.man ${PREFIX}/man/man1/display.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/display ${PREFIX}/bin/display
+ ${INSTALL_MAN} ${WRKSRC}/display.man ${PREFIX}/man/man1/display.1
.include <bsd.port.mk>
diff --git a/misc/display/distinfo b/misc/display/distinfo
index c4cdb59323f9..565da72282eb 100644
--- a/misc/display/distinfo
+++ b/misc/display/distinfo
@@ -1 +1 @@
-MD5 (display-1.1.tgz) = c73adec7c00fdbe2ab1484d1429b4408
+MD5 (display-1.2.tgz) = f39d53828bb1c8d9cd6ab419a197e899
diff --git a/misc/display/files/patch-aa b/misc/display/files/patch-aa
index 6823c68c90bc..5f12009460d1 100644
--- a/misc/display/files/patch-aa
+++ b/misc/display/files/patch-aa
@@ -1,22 +1,23 @@
---- display.c.orig Tue Nov 16 12:34:12 1999
-+++ display.c Tue Nov 16 12:36:36 1999
-@@ -8,7 +8,7 @@
- #include <curses.h>
+--- display.c.orig Mon Mar 26 10:03:42 2001
++++ display.c Fri Mar 8 01:15:54 2002
+@@ -12,6 +12,7 @@
#include <signal.h>
#include <ctype.h>
--
+ #include <time.h>
+#include <stdio.h>
#define DEFAULT_DELAY 5
-
-@@ -16,15 +16,13 @@
+ #define DISPLAY_VERSION "1.2"
+@@ -19,6 +20,8 @@
static char *Command;
static int Delay;
+static void die(), display(), parse_args(), usage();
++
+ char lt[128];
+ int ntimes;
- main(argc, argv)
- int argc;
+@@ -27,9 +30,6 @@
char *argv[];
{
int i, c;
@@ -24,14 +25,14 @@
- die(),
- display();
- parse_args(argc, argv);
-
-@@ -68,7 +66,7 @@
+ for(i = 0; i < 128; i++)
+ {
+@@ -90,7 +90,7 @@
- static void display()
+ void display()
{
- FILE *fp, *popen();
+ FILE *fp;
char ch;
-
- if (!(fp = popen(Command, "r"))) {
+ char *dt;
+ time_t tnow;
diff --git a/misc/display/files/patch-ab b/misc/display/files/patch-ab
index 995c84251ae8..4f1a91044405 100644
--- a/misc/display/files/patch-ab
+++ b/misc/display/files/patch-ab
@@ -1,5 +1,5 @@
---- Makefile.in.orig Fri Nov 12 11:46:27 1999
-+++ Makefile.in Fri Jan 21 00:59:30 2000
+--- Makefile.in.orig Tue Nov 28 13:17:40 2000
++++ Makefile.in Fri Mar 8 01:17:24 2002
@@ -2,10 +2,13 @@
# vix 15dec86 [stolen from 'which']
@@ -7,7 +7,7 @@
-CFLAGS = -O
-DEST_DIR = /usr/local/bin
-CURSES_LIBS = -lcurses -ltermcap
--MAN_DIR = /usr/man/man1
+-MAN_DIR = /usr/local/man/man1
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+CFLAGS = @CFLAGS@