Upate to version 1.5.1

This commit is contained in:
Roger Hardiman 1999-11-05 12:26:28 +00:00
parent 4e10378cf8
commit f95f4906e4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=22921
4 changed files with 19 additions and 72 deletions

View file

@ -1,12 +1,12 @@
# New ports collection makefile for: alevt
# Version required: 1.5.0
# Version required: 1.5.1
# Date created: Wed Aug 18 13:23:00 BST 1999
# Whom: Roger Hardiman <roger@freebsd.org>
#
# $FreeBSD$
#
DISTNAME= alevt-1.5.0
DISTNAME= alevt-1.5.1
CATEGORIES= misc
MASTER_SITES= http://user.exit.de/froese/alevt/ \
ftp://metalab.unc.edu/pub/Linux/apps/video/

View file

@ -1 +1 @@
MD5 (alevt-1.5.0.tar.gz) = 40b0865b5f95eff5050c1ecdd2a1d5ce
MD5 (alevt-1.5.1.tar.gz) = 9412d98c31c160cb68b805975b9f2bda

View file

@ -1,51 +1,17 @@
*** Makefile.orig Fri Oct 8 22:49:26 1999
--- Makefile Tue Oct 12 10:54:23 1999
*************** VER=1.5.0
*** 2,8 ****
OPT=-O2 -s
DEFS=-DWITH_PNG
! CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I/usr/X11R6/include -W
EXPOBJS=export.o exp-txt.o exp-html.o exp-gfx.o font.o
OBJS=main.o ui.o xio.o fdset.o vbi.o cache.o help.o edline.o search.o edit.o misc.o hamm.o lang.o $(EXPOBJS)
--- 2,8 ----
OPT=-O2 -s
DEFS=-DWITH_PNG
! CFLAGS=$(OPT) -DVERSION=\"$(VER)\" $(DEFS) -I/usr/X11R6/include -I/usr/local/include -W
EXPOBJS=export.o exp-txt.o exp-html.o exp-gfx.o font.o
OBJS=main.o ui.o xio.o fdset.o vbi.o cache.o help.o edline.o search.o edit.o misc.o hamm.o lang.o $(EXPOBJS)
*************** TOBJS=alevt-date.o vbi.o fdset.o misc.o
*** 10,16 ****
COBJS=alevt-cap.o vbi.o fdset.o misc.o hamm.o lang.o $(EXPOBJS)
ifneq ($(findstring WITH_PNG,$(DEFS)),)
! EXPLIBS=-lpng -lz -lm
endif
all: alevt alevt-date alevt-cap alevt.1x alevt-date.1 alevt-cap.1
--- 10,16 ----
COBJS=alevt-cap.o vbi.o fdset.o misc.o hamm.o lang.o $(EXPOBJS)
ifneq ($(findstring WITH_PNG,$(DEFS)),)
! EXPLIBS=-L/usr/local/lib -lpng -lz -lm
endif
all: alevt alevt-date alevt-cap alevt.1x alevt-date.1 alevt-cap.1
*** Makefile.orig Thu Nov 4 20:10:08 1999
--- Makefile Fri Nov 5 12:12:46 1999
*************** rpm-install: all
*** 65,77 ****
# anything below this line is just for me!
install: all
! cp alevt /usr/local/bin
! cp alevt-date /usr/local/bin
! cp alevt-cap /usr/local/bin
! cp alevt.1x /usr/local/man/man1
! cp alevt-date.1 /usr/local/man/man1
! cp alevt-cap.1 /usr/local/man/man1
! cp contrib/mini-alevt.xpm /usr/include/X11/pixmaps
! install -m 0755 alevt /usr/local/bin
! install -m 0755 alevt-date /usr/local/bin
! install -m 0755 alevt-cap /usr/local/bin
! install -m 0644 alevt.1x /usr/local/man/man1
! install -m 0644 alevt-date.1 /usr/local/man/man1
! install -m 0644 alevt-cap.1 /usr/local/man/man1
! install -m 0644 contrib/mini-alevt.xpm /usr/include/X11/pixmaps
sync
depend:
@ -53,13 +19,13 @@
# anything below this line is just for me!
install: all
! cp alevt $(X11BASE)/bin
! cp alevt-date $(X11BASE)/bin
! cp alevt-cap $(X11BASE)/bin
! cp alevt.1x $(X11BASE)/man/man1
! cp alevt-date.1 $(X11BASE)/man/man1
! cp alevt-cap.1 $(X11BASE)/man/man1
! cp contrib/mini-alevt.xpm $(X11BASE)/include/X11/pixmaps
! install -m 0755 alevt $(X11BASE)/bin
! install -m 0755 alevt-date $(X11BASE)/bin
! install -m 0755 alevt-cap $(X11BASE)/bin
! install -m 0644 alevt.1x $(X11BASE)/man/man1
! install -m 0644 alevt-date.1 $(X11BASE)/man/man1
! install -m 0644 alevt-cap.1 $(X11BASE)/man/man1
! install -m 0644 contrib/mini-alevt.xpm $(X11BASE)/include/X11/pixmaps
sync
depend:

View file

@ -1,19 +0,0 @@
*** exp-txt.c.orig Tue Oct 12 10:28:27 1999
--- exp-txt.c Tue Oct 12 10:31:59 1999
*************** txt_option(struct export *e, int opt, ch
*** 87,92 ****
--- 87,100 ----
return 0;
}
+ /* stpcpy is only defined on Linux systems */
+ /* create a local function for BSD Unix systems */
+ char *stpcpy(char *dst, char *src)
+ {
+ while (*dst++ = *src++)
+ ;
+ return dst-1;
+ }
static void
put_attr(struct export *e, struct fmt_char *new)