mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
upgrade to 1.2
PR: 36025 Submitted by: Ports Fury
This commit is contained in:
parent
4d0de81699
commit
5373fef5c7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56282
4 changed files with 30 additions and 30 deletions
|
@ -5,21 +5,20 @@
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= display
|
PORTNAME= display
|
||||||
PORTVERSION= 1.1
|
PORTVERSION= 1.2
|
||||||
PORTREVISION= 1
|
CATEGORIES= misc
|
||||||
CATEGORIES= misc
|
MASTER_SITES= http://www.ipsmart.com/src/
|
||||||
MASTER_SITES= http://www.ipsmart.com/src/
|
EXTRACT_SUFX= .tgz
|
||||||
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:
|
do-install:
|
||||||
@${INSTALL_PROGRAM} ${WRKSRC}/display ${PREFIX}/bin/display
|
${INSTALL_PROGRAM} ${WRKSRC}/display ${PREFIX}/bin/display
|
||||||
@${INSTALL_MAN} ${WRKSRC}/display.man ${PREFIX}/man/man1/display.1
|
${INSTALL_MAN} ${WRKSRC}/display.man ${PREFIX}/man/man1/display.1
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MD5 (display-1.1.tgz) = c73adec7c00fdbe2ab1484d1429b4408
|
MD5 (display-1.2.tgz) = f39d53828bb1c8d9cd6ab419a197e899
|
||||||
|
|
|
@ -1,22 +1,23 @@
|
||||||
--- display.c.orig Tue Nov 16 12:34:12 1999
|
--- display.c.orig Mon Mar 26 10:03:42 2001
|
||||||
+++ display.c Tue Nov 16 12:36:36 1999
|
+++ display.c Fri Mar 8 01:15:54 2002
|
||||||
@@ -8,7 +8,7 @@
|
@@ -12,6 +12,7 @@
|
||||||
#include <curses.h>
|
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
-
|
#include <time.h>
|
||||||
+#include <stdio.h>
|
+#include <stdio.h>
|
||||||
|
|
||||||
#define DEFAULT_DELAY 5
|
#define DEFAULT_DELAY 5
|
||||||
|
#define DISPLAY_VERSION "1.2"
|
||||||
@@ -16,15 +16,13 @@
|
@@ -19,6 +20,8 @@
|
||||||
static char *Command;
|
static char *Command;
|
||||||
static int Delay;
|
static int Delay;
|
||||||
|
|
||||||
+static void die(), display(), parse_args(), usage();
|
+static void die(), display(), parse_args(), usage();
|
||||||
|
+
|
||||||
|
char lt[128];
|
||||||
|
int ntimes;
|
||||||
|
|
||||||
main(argc, argv)
|
@@ -27,9 +30,6 @@
|
||||||
int argc;
|
|
||||||
char *argv[];
|
char *argv[];
|
||||||
{
|
{
|
||||||
int i, c;
|
int i, c;
|
||||||
|
@ -24,14 +25,14 @@
|
||||||
- die(),
|
- die(),
|
||||||
- display();
|
- display();
|
||||||
|
|
||||||
parse_args(argc, argv);
|
for(i = 0; i < 128; i++)
|
||||||
|
{
|
||||||
@@ -68,7 +66,7 @@
|
@@ -90,7 +90,7 @@
|
||||||
|
|
||||||
static void display()
|
void display()
|
||||||
{
|
{
|
||||||
- FILE *fp, *popen();
|
- FILE *fp, *popen();
|
||||||
+ FILE *fp;
|
+ FILE *fp;
|
||||||
char ch;
|
char ch;
|
||||||
|
char *dt;
|
||||||
if (!(fp = popen(Command, "r"))) {
|
time_t tnow;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- Makefile.in.orig Fri Nov 12 11:46:27 1999
|
--- Makefile.in.orig Tue Nov 28 13:17:40 2000
|
||||||
+++ Makefile.in Fri Jan 21 00:59:30 2000
|
+++ Makefile.in Fri Mar 8 01:17:24 2002
|
||||||
@@ -2,10 +2,13 @@
|
@@ -2,10 +2,13 @@
|
||||||
# vix 15dec86 [stolen from 'which']
|
# vix 15dec86 [stolen from 'which']
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
||||||
-CFLAGS = -O
|
-CFLAGS = -O
|
||||||
-DEST_DIR = /usr/local/bin
|
-DEST_DIR = /usr/local/bin
|
||||||
-CURSES_LIBS = -lcurses -ltermcap
|
-CURSES_LIBS = -lcurses -ltermcap
|
||||||
-MAN_DIR = /usr/man/man1
|
-MAN_DIR = /usr/local/man/man1
|
||||||
+prefix = @prefix@
|
+prefix = @prefix@
|
||||||
+exec_prefix = @exec_prefix@
|
+exec_prefix = @exec_prefix@
|
||||||
+CFLAGS = @CFLAGS@
|
+CFLAGS = @CFLAGS@
|
||||||
|
|
Loading…
Add table
Reference in a new issue