1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-02 11:09:29 +00:00

upgrade to 1.2

PR:		36025
Submitted by:	Ports Fury
This commit is contained in:
Ying-Chieh Liao 2002-03-18 03:42:55 +00:00
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

View File

@ -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>

View File

@ -1 +1 @@
MD5 (display-1.1.tgz) = c73adec7c00fdbe2ab1484d1429b4408
MD5 (display-1.2.tgz) = f39d53828bb1c8d9cd6ab419a197e899

View File

@ -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;

View File

@ -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@